函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\boot\string.c Create Date:2022-07-27 08:26:15
Last Modify:2022-05-21 21:56:45 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:strstr - Find the first substring in a %NUL terminated string*@s1: The string to be searched*@s2: The string to search for

函数原型:char *strstr(const char *s1, const char *s2)

返回类型:char

参数:

类型参数名称
const char *s1
const char *s2
176  l2等于strlen - Find the length of a string*@s: The string to be sized
177  如果非l2则返回:s1
179  l1等于strlen - Find the length of a string*@s: The string to be sized
180 l1大于等于l2循环
181  l1自减
182  如果非内存比较则返回:s1
184  s1自加
186  返回:NULL
调用者
名称描述
setup_early_printk
strict_iomem
get_last_crashkernel
err_pos_pos - find the position of a string within a command for error careting*@cmd: The tracing command that caused the error*@str: The string to position the caret at within @cmd* Finds the position of the first occurence of @str within @cmd
regex_match_middle
filter_assign_type
synth_field_is_string
synth_field_string_size
event_hist_trigger_func
tomoyo_set_uintmoyo_set_uint - Set value for specified preference.*@i: Pointer to "unsigned int".*@string: String to check.*@find: Name of keyword.* Returns nothing.
tomoyo_set_modemoyo_set_mode - Set mode for specified profile.*@name: Name of functionality.*@value: Mode for @name.*@profile: Pointer to "struct tomoyo_profile".* Returns 0 on success, negative value otherwise.
tomoyo_add_entrymoyo_add_entry - Add an ACL to current thread's domain. Used by learning mode.*@domain: Pointer to "struct tomoyo_domain_info".*@header: Lines containing ACL.* Returns nothing.
tomoyo_write_transition_controlmoyo_write_transition_control - Write "struct tomoyo_transition_control" list.*@param: Pointer to "struct tomoyo_acl_param".*@type: Type of this entry.* Returns 0 on success, negative value otherwise.
tomoyo_permstrmoyo_permstr - Find permission keywords.*@string: String representation for permissions in foo/bar/buz format.*@keyword: Keyword to find from @string/* Returns true if @keyword was found in @string, false otherwise.
__lookup_parent__lookup_parent - lookup the parent of a profile of name @hname*@ns: namespace to lookup profile in (NOT NULL)*@hname: hierarchical profile name to find parent of (NOT NULL)* Lookups up the parent of a fully qualified profile name, the profile* that
ima_parse_rule
basenameasename - find the last component of an hname*@name: hname to find the base profile name component of (NOT NULL)* Returns: the tail (base profile name) name component of an hname