函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\lib\string_32.c Create Date:2022-07-27 08:25:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:strncpy

函数原型:char *strncpy(char *dest, const char *src, size_t count)

返回类型:char

参数:

类型参数名称
char *dest
const char *src
size_tcount
36  asm volatile
47  返回:dest
调用者
名称描述
hpet_legacy_clockevent_register
devkmsg_sysctl_set_loglvl
console_setupSet up a console. Called via do_early_param() in init/main.c* for each "console=" parameter in the boot command line.
resolve_symbolResolve a symbol for this module. I.e. if we find one, record usage.
kdb_readkdb_read* This function reads a string of characters, terminated by* a newline, or by reaching the end of the supplied buffer,* from the current kernel debugger console device.* Parameters:* Returns:* Returns a pointer to the buffer containing the received
handle_ctrl_cmd
kdb_localkdb_local - The main code for kdb
kdbnearsymkdbnearsym - Return the name of the symbol with the nearest address* less than 'addr'
bacct_add_tskll in basic accounting fields
set_cmdline
enable_stacktrace
parse_predCalled when a predicate is encountered by predicate_parse()
last_cmd_set
synth_field_string_size
save_comm
add_to_key
____bpf_get_current_comm
create_objectCreate the metadata (struct kmemleak_object) corresponding to an allocated* memory block and add it to the object_list and object_tree_root.
ldm_parse_tocblockldm_parse_tocblock - Read the LDM Database TOCBLOCK structure*@data: Raw database TOCBLOCK structure loaded from the device*@toc: In-memory toc structure in which to return parsed information* This parses the LDM Database TOCBLOCK (table of contents)
find_label
bsg_add_device
parse_subpart
parse_parts
smk_parse_smacksmk_parse_smack - parse smack label from a text string*@string: a text string that might contain a Smack label*@len: the maximum size, or zero if it is NULL terminated.* Returns a pointer to the clean label or an error code.
tomoyo_find_next_domainmoyo_find_next_domain - Find a domain.*@bprm: Pointer to "struct linux_binprm".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock().
test_hexdump_prepare_test
uv_stringify
resume_setup
do_mount_root
add_part
ecryptfs_fill_auth_tokryptfs_fill_auth_tok - fill the ecryptfs_auth_tok structure* Fill the ecryptfs_auth_tok structure with required ecryptfs data.* The source code is inspired to the original function generate_payload()* shipped with the software 'ecryptfs-utils' version 83.
__get_task_comm