函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:字符串删除空格

函数原型:char *skip_spaces(const char *str)

返回类型:char

参数:

类型参数名称
const char *str
486 Note: isspace() must return false for %NUL-terminator ( * str)循环
487  str先自加
488  返回:str
调用者
名称描述
strim删除前导和尾随空格
vsscanfvsscanf - Unformat a buffer into a list of arguments*@buf: input buffer*@fmt: format of buffer*@args: arguments
next_argParse a string to get a param value pair.* You can use " around spaces, but can't escape ".* Hyphens and underscores equivalent in parameter names.
ddebug_tokenizeSplit the buffer `buf' into space-separated words.* Handles simple " and ' quoting, i.e. without nested,* embedded or escaped \". Return the number of words* or <0 on error.
ddebug_exec_querieshandle multiple queries in query string, continue on error, returnlast error or number of matching callsites. Module name is eitherin param (for boot arg) or perhaps in query string.
mtrr_writeseq_file can seek but we ignore it.* Format of control line:* "base=%Lx size=%Lx type=%s" or "disable=%d"
parse_args解析参数
pm_wake_lock
map_write
proc_setgroups_write
aa_split_fqnameaa_split_fqname - split a fqname into a profile and namespace name*@fqname: a full qualified name in namespace profile format (NOT NULL)*@ns_name: pointer to portion of the string containing the ns name (NOT NULL)* Returns: profile name or NULL if one is
apparmor_setprocattr
proc_skip_spaces
blkcg_conf_get_disklkg_conf_prep - parse and prepare for per-blkg config update*@inputp: input string pointer* Parse the device node prefix part, MAJ:MIN, of per-blkg config update* from @input and get and return the matching gendisk. *@inputp is