函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\vsprintf.c Create Date:2022-07-27 07:09:45
Last Modify:2022-05-21 09:47:42 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:格式化输出字符串

函数原型:int scnprintf(char *buf, size_t size, const char *fmt, ...)

返回类型:int

参数:

类型参数名称
char *buf
size_tsize
const char *fmt
2730  va_start(args, fmt)
2731  i等于格式化输出字符串
2732  va_end(args)
2734  返回:i
调用者
名称描述
bitmap_print_to_pagebufmap_print_to_pagebuf - convert bitmap to list or hex format ASCII string*@list: indicates whether the bitmap must be list*@buf: page aligned buffer into which string is placed*@maskp: pointer to bitmap to convert*@nmaskbits: size of bitmap, in bits*
config_show
val_to_string
wq_worker_commsed to show worker information through /proc/PID/{comm,stat,status}
param_get_byte
param_get_short
param_get_ushort
param_get_int
param_get_uint
param_get_long
param_get_ulong
param_get_ullong
param_get_charp
param_get_string
pm_show_wakelocks
msg_print_ext_header
msg_print_ext_body
filter_readDMA-API debugging init code* The init code does two things:* 1. Initialize core data structures* 2. Preallocate a given number of dma_debug_entry structs
show_modinfo_version
show_modinfo_srcversion
tracing_saved_cmdlines_size_read
trace_do_benchmarkThis gets called in a loop recording the time it took to write* the tracepoint
show_pools
mpol_to_strmpol_to_str - format a mempolicy structure for printing*@buffer: to contain formatted mempolicy string*@maxlen: length of @buffer*@pol: pointer to mempolicy to be formatted* Convert @pol into a string
cma_debugfs_add_one
blkcg_print_stat
iolatency_ssd_stat
iolatency_pd_stat
sel_read_enforce
sel_read_handle_unknown
sel_read_policyvers
sel_read_mls
sel_read_checkreqprot
sel_write_accessRemaining nodes use transaction based IO methods like nfsd/nfsctl.c
sel_read_bool
sel_read_avc_cache_threshold
sel_read_policycap
query_labelquery_label - queries a label and writes permissions to buf*@buf: the resulting permissions string is stored here (NOT NULL)*@buf_len: size of buf*@query: binary query string to match against the dfa*@query_len: size of query*@view_only: only compute for
ima_show_htable_value
override_releaseWork around broken programs that cannot handle "Linux 3.0".* Instead we map 3.x to 2.6.40+x, so e.g. 3.0 would be 2.6.40* And we map 4.x and later versions to 2.6.60+x, so 4.0/5.0/6.0/... would be* 2.6.60.
__bdevnameThere's very little reason to use this, you should really* have a struct block_device just about everywhere and use* bdevname() instead.
avc_get_hash_stats
simple_attr_readad from the buffer that is filled with the get function