函数逻辑报告 |
Source Code:lib\string.c |
Create Date:2022-07-27 06:59:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:长字符串复制
函数原型:size_t strlcpy(char *dest, const char *src, size_t size)
返回类型:size_t
参数:
类型 | 参数 | 名称 |
---|---|---|
char * | dest | |
const char * | src | |
size_t | size |
145 | 如果size则 |
150 | 返回:ret |
名称 | 描述 |
---|---|
find_cpio_data | pio_data find_cpio_data - Search for files in an uncompressed cpio*@path: The directory to search for, including a slash at the end*@data: Pointer to the the cpio archive or a header inside*@len: Remaining length of the cpio based on data |
ddebug_setup_query | |
sched_trace_cfs_rq_path | |
__add_preferred_console | |
boot_override_clocksource | _override_clocksource - boot clock override*@str: override name* Takes a clocksource= boot argument and uses it* as the clocksource override name. |
get_ksymbol_bpf | |
fill_ac | Write an accounting entry for an exiting process* The acct_process() call is the workhorse of the process* accounting system. The struct acct is built here and then written* into the accounting file. This function should only be called from |
task_cgroup_path | ask_cgroup_path - cgroup path of a task in the first cgroup hierarchy*@task: target task*@buf: the buffer to write the path into*@buflen: the length of the buffer* Determine @task's cgroup on the first (the one with the lowest non-zero |
cgroup_release_agent_write | |
relay_open | lay_open - create a new relay channel*@base_filename: base name of files to create, %NULL for buffering only*@parent: dentry of parent directory, %NULL for root directory or buffer*@subbuf_size: size of sub-buffers*@n_subbufs: number of sub-buffers*@cb: |
relay_late_setup_files | lay_late_setup_files - triggers file creation*@chan: channel to operate on*@base_filename: base name of files to create*@parent: dentry of parent directory, %NULL for root directory* Returns 0 if successful, non-zero otherwise |
set_cmdline_ftrace | |
set_trace_boot_options | |
set_trace_boot_clock | |
__trace_find_cmdline | |
setup_trace_event | |
parse_entry | Caller is responsible to free the *pentry. |
set_kprobe_boot_events | |
traceprobe_parse_event_name | @buf must has MAX_EVENT_NAME_LEN size |
fetch_store_string | Fetch a null-terminated string. Caller MUST set *(u32 *)dest with max* length and relative data location. |
perf_event_comm_event | |
perf_event_mmap_event | |
perf_event_ksymbol | |
root_dev_setup | |
dma_pool_create | dma_pool_create - Creates a pool of consistent memory blocks, for dma |
tokenize_frame_descr | |
register_blkdev | gister_blkdev - register a new block device*@major: the requested major device number [1..BLKDEV_MAJOR_MAX-1]. If*@major = 0, try to allocate any unused major number.*@name: the name of the new block device as a zero terminated string |
ima_d_path | ma_d_path - return a pointer to the full pathname* Attempt to return a pointer to the full pathname for use in the* IMA measurement list, IMA audit records, and auditing logs |
ima_init_arch_policy | |
sget | 查找或创建超级块 |
__register_chrdev_region | Register a single major with a specified minor range.* If major == 0 this function will dynamically allocate an unused major.* If major > 0 this function will attempt to reserve the range of minors* with given major. |
__set_task_comm | These functions flushes out all traces of the currently running executable* so that a new one can be started |
setup_arch | 平台相关启动 |
cfs_rq_tg_path | |
parse_early_param | 解析命令行参数 |
zswap_pool_create | |
__elevator_change | Switch this queue to the given IO scheduler. |
request_key_auth_new | Create an authorisation token for /sbin/request-key or whoever to gain* access to the caller's security data. |
sget_fc | sget_fc - Find or create a superblock*@fc: Filesystem context |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |