函数逻辑报告 |
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 |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for
函数原型:char *strchr(const char *s, int c)
返回类型:char
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | s | |
int | c |
197 | 如果s自加恒等于'\0'则返回:NULL |
199 | 返回:s |
名称 | 描述 |
---|---|
match_one | match_one: - Determines if a string matches a simple pattern*@s: the string to examine for presence of the pattern*@p: the string containing the pattern*@args: array of %MAX_OPT_ARGS &substring_t elements. Used to return match* locations. |
kvasprintf_const | If fmt contains no % (or is exactly %s), use kstrdup_const. If fmt* (or the sole vararg) points to rodata, we will then save a memory* allocation and string copy. In any case, the return value should be* freed using kfree_const(). |
strchr_selftest | |
string_escape_mem | string_escape_mem - quote characters in the given memory buffer*@src: source buffer (unescaped)*@isz: source buffer size*@dst: destination buffer (escaped)*@osz: destination buffer size*@flags: combination of the flags*@only: NULL-terminated string |
kasan_strings | |
ddebug_parse_query | Parse words[] as a ddebug query specification, which is a series* of (keyword, value) pairs chosen from these possibilities:* func |
ddebug_dyndbg_param_cb | helper for ddebug_dyndbg_(boot|module)_param_cb |
rdtgroup_mkdir | |
acpi_sleep_setup | |
apm_setup | |
hpet_setup | HPET command line enable / disable |
console_setup | Set up a console. Called via do_early_param() in init/main.c* for each "console=" parameter in the boot command line. |
_braille_console_setup | |
get_last_crashkernel | |
__parse_crashkernel | |
cgroup_mkdir | |
map_write | |
add_node | Create a node for a given profiling data set and add it to all lists and* debugfs. Needs to be called with node_lock held. |
within_kprobe_blacklist | |
kdb_search_string | search arg1 to see if it contains arg2* (kdmain.c provides flags for ^pat and pat$)* return 1 for found, 0 for not found |
vkdb_printf | |
kdbgetenv | kdbgetenv - This function will return the character string value of* an environment variable.* Parameters:* match A character string representing an environment variable.* Returns:* NULL No environment variable matches 'match' |
parse_grep | The "str" argument may point to something like | grep xyz |
kdb_bt1 | kdb_bt* This function implements the 'bt' command |
trace_parse_run_command | |
f_show | |
filter_parse_regex | lter_parse_regex - parse a basic regex*@buff: the raw regex*@len: length of the regex*@search: will point to the beginning of the string to compare*@not: tell whether the match will have to be inverted* This passes in a buffer containing a regex and this |
filter_assign_type | |
synth_field_string_size | |
parse_synth_field | |
synth_event_create | |
parse_hist_trigger_attrs | |
parse_atom | |
parse_unary | |
trace_kprobe_module_exist | |
trace_kprobe_create | |
setup_boot_kprobe_events | |
dyn_event_release | |
find_fetch_type | |
traceprobe_parse_event_name | @buf must has MAX_EVENT_NAME_LEN size |
parse_probe_arg | Recursive argument parser |
traceprobe_parse_probe_arg_body | String length checking wrapper |
traceprobe_parse_probe_arg | |
trace_uprobe_create | |
bpf_lookup | |
unknown_bootoption | Unknown boot options get handed to init, unless they look like* unused parameters (modprobe will find them in /proc/cmdline). |
devt_from_partuuid | devt_from_partuuid - looks up the dev_t of a partition by its UUID*@uuid_str: char array containing ascii UUID* The function will return the first partition which contains a matching* UUID value in its partition_meta_info struct. This does not search |
get_fs_names | |
md_setup_drive | |
raid_setup | |
tokenize_frame_descr | |
parse_subpart | |
parse_parts | |
cmdline_parts_parse | |
show_sid | |
smack_sb_eat_lsm_opts | |
tomoyo_write_profile | moyo_write_profile - Write profile table.*@head: Pointer to "struct tomoyo_io_buffer".* Returns 0 on success, negative value otherwise. |
tomoyo_add_entry | moyo_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_parse_policy | moyo_parse_policy - Parse a policy line.*@head: Poiter to "struct tomoyo_io_buffer".*@line: Line to parse.* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock(). |
tomoyo_load_builtin_policy | moyo_load_builtin_policy - Load built-in policy.* Returns nothing. |
tomoyo_scan_bprm | moyo_scan_bprm - Scan "struct linux_binprm".*@ee: Pointer to "struct tomoyo_execve".*@argc: Length of @argc.*@argv: Pointer to "struct tomoyo_argv".*@envc: Length of @envp.*@envp: Poiner to "struct tomoyo_envp".* Returns true on success, false otherwise. |
tomoyo_get_transit_preference | moyo_get_transit_preference - Parse domain transition preference for execve().*@param: Pointer to "struct tomoyo_acl_param".*@e: Pointer to "struct tomoyo_condition".* Returns the condition string part. |
tomoyo_get_condition | moyo_get_condition - Parse condition part.*@param: Pointer to "struct tomoyo_acl_param".* Returns pointer to "struct tomoyo_condition" on success, NULL otherwise. |
tomoyo_write_env | moyo_write_env - Write "struct tomoyo_env_acl" list.*@param: Pointer to "struct tomoyo_acl_param".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock(). |
tomoyo_parse_ipaddr_union | moyo_parse_ipaddr_union - Parse an IP address.*@param: Pointer to "struct tomoyo_acl_param".*@ptr: Pointer to "struct tomoyo_ipaddr_union".* Returns true on success, false otherwise. |
tomoyo_read_token | moyo_read_token - Read a word from a line.*@param: Pointer to "struct tomoyo_acl_param".* Returns a word on success, "" otherwise.* To allow the caller to skip NULL check, this function returns "" rather than* NULL if there is no more words to read. |
tomoyo_correct_domain | moyo_correct_domain - Check whether the given domainname follows the naming rules.*@domainname: The domainname to check.* Returns true if @domainname follows the naming rules, false otherwise. |
tomoyo_domain_def | moyo_domain_def - Check whether the given token can be a domainname.*@buffer: The token to check.* Returns true if @buffer possibly be a domainname, false otherwise. |
tomoyo_path_matches_pattern2 | moyo_path_matches_pattern2 - Do pathname pattern matching.*@f: The start of string to check.*@p: The start of pattern to compare.* Returns true if @f matches @p, false otherwise. |
mangle_name | aa_mangle_name - mangle a profile name to std profile layout form*@name: profile name to mangle (NOT NULL)*@target: buffer to store mangled name, same length as @name (MAYBE NULL)* Returns: length of mangled name |
aa_split_fqname | aa_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 |
parse_policy_line | In the case the input buffer contains one or more invalid UIDs, the kuid_t* variables pointed to by @parent and @child will get updated but this* function will return an error.* Contents of @buf may be modified. |
handle_policy_update | |
get_fs_type | |
do_new_mount | reate a new mount for userspace and request it to be added into the* namespace's tree |
mangle_path | mangle_path - mangle and copy path to buffer beginning*@s: buffer start*@p: beginning of path in above buffer*@esc: set of characters that need escaping* Copy the path from @p to @s, replacing each occurrence of character from*@esc with usual octal escape |
generic_parse_monolithic | generic_parse_monolithic - Parse key[=val][,key[=val]]* mount data*@ctx: The superblock configuration to fill in.*@data: The data to parse* Parse a blob of data that's in key[=val][,key[=val]]* form. This can be |
logfc | logfc - Log a message to a filesystem context*@fc: The filesystem context to log to.*@fmt: The format of the buffer. |
legacy_parse_param | Add a parameter to a legacy config. We build up a comma-separated list of* options. |
base64_decode | |
create_entry | This registers a new binary format, it recognises the syntax* ':name:type:offset:magic:mask:interpreter:flags'* where the ':' is the IFS, that can be chosen with the first char |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |