Function report |
Source Code:lib\string.c |
Create Date:2022-07-28 06:00:34 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Copy a NUL terminated string into a sized buffer
Proto:size_t strlcpy(char *dest, const char *src, size_t size)
Type:size_t
Parameter:
Type | Parameter | Name |
---|---|---|
char * | dest | |
const char * | src | |
size_t | size |
145 | If size Then |
150 | Return ret |
Name | Describe |
---|---|
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 | find or create a superblock |
__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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |