函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:strlen

函数原型:size_t strlen(const char *s)

返回类型:size_t

参数:

类型参数名称
const char *s
169  asm volatile
174  返回:res的反减1
调用者
名称描述
strlcpy长字符串复制
x86_mpx_setup
_proc_do_string/proc/sys support
obsolete_checksetup
kstrdupkstrdup - allocate space for and copy an existing string*@s: the string to duplicate*@gfp: the GFP mask used in the kmalloc() call when allocating memory* Return: newly allocated copy of @s or %NULL in case of error
mqueue_read_fileThis is routine for system read from queue file
disk_namedisk_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).
key_allockey_alloc - Allocate a key of the specified type.*@type: The type of key to allocate.*@desc: The key description to allow the key to be searched out.*@uid: The owner of the new key.*@gid: The group ID for the new key's group permissions.
alloc_file_pseudo