函数逻辑报告 |
Source Code:lib\vsprintf.c |
Create Date:2022-07-27 07:09:45 |
Last Modify:2022-05-21 09:47:42 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:snprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
函数原型:int snprintf(char *buf, size_t size, const char *fmt, ...)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
char * | buf | |
size_t | size | |
const char * | fmt |
2710 | 返回:i |
名称 | 描述 |
---|---|
uevent_net_broadcast | |
string_get_size | string_get_size - get the size in the specified units*@size: The size to be converted in blocks*@blk_size: Size of the block (use 1 for size in bytes)*@units: units to use (powers of 1000 or 1024)*@buf: buffer to format to*@len: length of buffer* This |
hex_dump_to_buffer | hex_dump_to_buffer - convert a blob of data to "hex ASCII" in memory*@buf: data blob to dump*@len: number of bytes in the @buf*@rowsize: number of bytes to print per line; must be 16 or 32*@groupsize: number of bytes to print at a time (1, 2, 4, 8; |
config_test_show_str | As per sysfs_kf_seq_show() the buf is max PAGE_SIZE. |
test_dev_config_show_bool | |
test_dev_config_show_int | |
test_dev_config_show_u8 | |
plain_hash_to_buffer | |
flags | |
__check_eq_pbl | |
config_show | |
config_test_show_str | As per sysfs_kf_seq_show() the buf is max PAGE_SIZE. |
test_dev_config_show_int | |
test_dev_config_show_uint | |
dynamic_emit_prefix | |
sprint_oid | sprint_OID - Print an Object Identifier into a buffer*@data: The encoded OID to print*@datasize: The size of the encoded OID*@buffer: The buffer to render into*@bufsize: The size of the buffer* The OID is rendered into the buffer in "a |
mce_init_banks | |
get_name | |
get_builtin_microcode | |
request_microcode_amd | AMD microcode firmware naming convention, up to family 15h they are in* the legacy file:* amd-ucode/microcode_amd.bin* This legacy file is always smaller than 2K in size.* Beginning with family 15h, they are in family-specific firmware files: |
acpi_processor_ffh_cstate_probe_cpu | |
io_apic_print_entries | |
ioapic_setup_resources | |
create_worker | reate_worker - create a new workqueue worker*@pool: pool the new worker will belong to* Create and start a new worker which is attached to @pool.* CONTEXT:* Might sleep. Does GFP_KERNEL allocations.* Return:* Pointer to the newly created worker. |
autogroup_path | |
lockevent_read | The lockevent_read() function can be overridden. |
register_handler_proc | 在系统文件中注册新建中断进程 |
enabled_show | |
transition_show | |
klp_check_stack | Determine whether it's safe to transition the task to the target patch state* by looking for any to-be-patched or to-be-unpatched functions on its stack. |
klp_try_switch_task | Try to safely switch a task to the target patch state. If it's currently* running, or it's sleeping on a to-be-patched or to-be-unpatched function, or* if the stack is unreliable, return false. |
stack_trace_snprint | stack_trace_snprint - Print the entries in the stack trace into a buffer*@buf: Pointer to the print buffer*@size: Size of the print buffer*@entries: Pointer to storage array*@nr_entries: Number of entries in the storage array*@spaces: Number of leading |
cgroup_file_name | |
cgroup_subsys_states_read | |
create_pid_cachep | reates the kmem cache to allocate pids from.*@level: pid namespace level |
audit_log_execve_info | |
kdb_local | kdb_local - The main code for kdb |
relay_create_buf_file | |
tracing_cpumask_read | |
tracing_nsecs_read | |
tracing_log_err | racing_log_err - write an error to the tracing error log*@tr: The associated trace array for the error (NULL for top level array)*@loc: A string describing where the error occurred*@cmd: The tracing command that caused the error*@errs: The array of |
tracing_init_tracefs_percpu | |
preemptirq_start_test | |
hwlat_read | hwlat_read - Wrapper read function for reading both window and width*@filp: The active open file structure*@ubuf: The userspace provided buffer to read value into*@cnt: The maximum number of bytes to read*@ppos: The current "file" position* This function |
stack_max_size_read | |
trace_print_graph_duration | |
init_graph_trace | |
annotate_branch_stat_show | |
eval_replace | |
__set_enter_print_fmt | |
last_cmd_set | |
print_synth_event | |
__set_synth_event_print_fmt | |
trace_kprobe_match_command_head | |
trace_kprobe_create | |
traceprobe_parse_probe_arg_body | String length checking wrapper |
__set_print_fmt | |
trace_probe_match_command_args | |
trace_uprobe_match_command_head | |
trace_uprobe_create | |
tnum_strn | |
__func_get_name | |
__func_imm_name | |
nr_addr_filters_show | Let userspace know that this PMU supports address range filtering: |
type_show | |
perf_event_mux_interval_ms_show | |
show_cpumask | |
torture_kthread_stopping | Each kthread must wait for kthread_should_stop() before returning from* its top-level function, otherwise segfaults ensue |
sysctl_test_api_dointvec_write_single_less_int_min | Test that writing a value smaller than the minimum possible value is not* allowed. |
sysctl_test_api_dointvec_write_single_greater_int_max | Test that writing the maximum possible value works. |
md_setup_drive | |
min_ratio_show | |
max_ratio_show | |
stable_pages_required_show | |
zswap_pool_create | |
hugetlb_add_hstate | |
mpol_to_str | mpol_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 |
print_shadow_for_address | |
mem_fmt | |
__hugetlb_cgroup_file_init | |
print_page_owner | |
elv_register | |
blk_mq_hw_sysfs_cpus_show | |
bdevt_str | |
disk_name | disk_name() is used by partition check code and the genhd driver.* It formats the devicename of the indicated disk into* the supplied buffer (of size at least 32), and returns* a pointer to that same buffer (for convenience). |
badblocks_show | adblocks_show() - sysfs access to bad-blocks list*@bb: the badblocks structure that holds all badblock information*@page: buffer received from sysfs*@unack: weather to show unacknowledged badblocks* Return:* Length of returned data |
check_partition | |
amiga_partition | |
aix_partition | |
add_part | |
set_info | |
find_vol1_partitions | |
find_lnx1_partitions | |
find_cms1_partitions | |
sysv68_partition | |
tg_prfill_limit | |
blk_mq_debugfs_register_ctx | |
blk_mq_debugfs_register_hctx | |
look_up_user_keyrings | Look up the user and user session keyrings for the current process's UID,* creating them if they don't exist. |
get_user_session_keyring_rcu | Get the user session keyring if it exists, but don't create it if it* doesn't. |
sel_make_bools | declaration for sel_write_load |
sel_read_class | |
sel_read_perm | |
tomoyo_print_bprm | moyo_print_bprm - Print "struct linux_binprm" for auditing |
tomoyo_print_header | moyo_print_header - Get header line of audit log.*@r: Pointer to "struct tomoyo_request_info".* Returns string representation.* This function uses kmalloc(), so caller must kfree() if this function* didn't return NULL. |
tomoyo_init_log | moyo_init_log - Allocate buffer for audit logs |
tomoyo_add_entry | moyo_add_entry - Add an ACL to current thread's domain. Used by learning mode.*@domain: Pointer to "struct tomoyo_domain_info".*@header: Lines containing ACL.* Returns nothing. |
tomoyo_read_query | moyo_read_query - Read access requests which violated policy in enforcing mode.*@head: Pointer to "struct tomoyo_io_buffer". |
tomoyo_find_next_domain | moyo_find_next_domain - Find a domain.*@bprm: Pointer to "struct linux_binprm".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock(). |
tomoyo_print_ipv4 | moyo_print_ipv4 - Print an IPv4 address.*@buffer: Buffer to write to.*@buffer_len: Size of @buffer.*@min_ip: Pointer to __be32.*@max_ip: Pointer to __be32.* Returns nothing. |
tomoyo_print_ipv6 | moyo_print_ipv6 - Print an IPv6 address.*@buffer: Buffer to write to.*@buffer_len: Size of @buffer.*@min_ip: Pointer to "struct in6_addr".*@max_ip: Pointer to "struct in6_addr".* Returns nothing. |
tomoyo_audit_inet_log | moyo_audit_inet_log - Audit INET network log.*@r: Pointer to "struct tomoyo_request_info".* Returns 0 on success, negative value otherwise. |
tomoyo_get_local_path | moyo_get_local_path - Get the path of a dentry.*@dentry: Pointer to "struct dentry".*@buffer: Pointer to buffer to return value in.*@buflen: Sizeof @buffer.* Returns the buffer on success, an error code otherwise. |
tomoyo_print_ulong | moyo_print_ulong - Print an "unsigned long" value.*@buffer: Pointer to buffer.*@buffer_len: Size of @buffer.*@value: An "unsigned long" value.*@type: Type of @value.* Returns nothing. |
gen_symlink_name | |
__aafs_profile_mkdir | Requires: @profile->ns->lock held |
policy_readlink | |
aa_profile_snxprint | aa_profile_snxprint - print a profile name to a buffer*@str: buffer to write to |
aa_label_snxprint | aa_label_snxprint - print a label name to a string buffer*@str: buffer to write to |
ima_add_template_entry | Add template entry to the measurement list and hash table, and* extend the pcr.* On systems which support carrying the IMA measurement list across* kexec, maintain the total memory size required for serializing the* binary_runtime_measurements. |
ima_eventdigest_init_common | |
mount_bdev | |
ns_get_name | |
create_setup_data_node | |
print_tainted | print_tainted - return a string to represent the kernel taint state.* For individual taint flag meanings, see Documentation/admin-guide/sysctl/kernel.rst* The string is overwritten by the next call to print_tainted(),* but is always NULL terminated. |
unpack_to_rootfs | |
read_ahead_kb_show | |
sw842_debugfs_create | |
usb_make_path | sb_make_path - returns stable device path in the usb tree*@dev: the device whose path is being constructed*@buf: where to put the string*@size: how big is "buf"?* Return: Length of the string (> 0) or negative if size was too small |
mqueue_read_file | This is routine for system read from queue file |
bio_find_or_create_slab | |
put_partition | |
bfq_pid_to_str | Logging facilities. |
get_tree_bdev | get_tree_bdev - Get a superblock based on a single block device*@fc: The filesystem context holding the parameters*@fill_super: Helper to initialise a new superblock |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |