Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\boot\string.c Create Date:2022-07-28 07:27:06
Last Modify:2022-05-21 21:56:45 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:char *strstr(const char *s1, const char *s2)

Type:char

Parameter:

TypeParameterName
const char *s1
const char *s2
176  l2 = strlen - Find the length of a string*@s: The string to be sized
177  If Not l2 Then Return s1
179  l1 = strlen - Find the length of a string*@s: The string to be sized
180  When l1 >= l2 cycle
181  l1--
182  If Not memcmp(s1, s2, l2) Then Return s1
184  s1++
186  Return NULL
Caller
NameDescribe
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