Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\string.c Create Date:2022-07-28 06:00:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:strsep - Split a string into tokens*@s: The string to be searched*@ct: The characters to search for* strsep() updates @s to point after the token, ready for the next call.* It returns empty tokens, too, behaving exactly like the libc function

Proto:char *strsep(char **s, const char *ct)

Type:char

Parameter:

TypeParameterName
char **s
const char *ct
637  sbegin = s
640  If (sbegin == NULL) Then Return NULL
643  end = strpbrk - Find the first occurrence of a set of characters*@cs: The string to be searched*@ct: The characters to search for
644  If end Then end++ = '\0'
646  s = end
647  Return sbegin
Caller
NameDescribe
parse_lineFor each domain in this resource we expect to find a series of:* id=mask* separated by ";". The "id" is in decimal, and must match one of* the "id"s for this resource.
rdtgroup_schemata_write
setup_test_suspend
cgroup_subtree_control_writehange the enabled child controllers for a cgroup in the default hierarchy
cgroup_disable
cgroup_no_v1
parse_resource
rdmacg_parse_limits
rdmacg_resource_set_max
seccomp_actions_logged_from_names
apply_trace_boot_options
ftrace_set_clr_event
early_enable_events
trigger_process_regex
event_trigger_callbackvent_trigger_callback - Generic event_command @func implementation*@cmd_ops: The command ops, used for trigger registration*@file: The trace_event_file associated with the event*@glob: The raw string used to register the trigger*@cmd: The cmd portion of
set_trigger_filterset_trigger_filter - Generic event_command @set_filter implementation*@filter_str: The filter string for the trigger, NULL to remove filter*@trigger_data: Trigger-specific data*@file: The trace_event_file associated with the event* Common implementation
event_enable_trigger_func
parse_hist_trigger_attrs
parse_field
parse_atom
parse_expr
parse_action_params
action_parse
track_data_parse
trace_action_create
onmatch_parse
create_val_fields
create_key_fields
parse_var_defs
create_sort_keys
perf_event_parse_addr_filterAddress filter string parser
vmpressure_register_eventvmpressure_register_event() - Bind vmpressure notifications to an eventfd*@memcg: memcg that is interested in vmpressure notifications*@eventfd: eventfd context to link notifications with*@args: event arguments (pressure level threshold, optional mode)*
iolatency_set_limit
ioc_qos_write
ioc_cost_model_write
getoptionsan have zero or more token= options
datablob_parsedatablob_parse - parse the keyctl data and fill in the* payload and options structures* On success returns 0, otherwise -EINVAL.
datablob_parsedatablob_parse - parse the keyctl data* datablob format:* new [] * load [] * * update * Tokenizes a copy of the
ordered_lsm_parsePopulate ordered LSMs list from comma-separated LSM name list.
smk_parse_label_listsmk_parse_label_list - parse list of Smack labels, separated by spaces*@data: the string to parse*@private: destination list* Returns zero on success or error code, as appropriate
apparmor_setprocattr
ima_read_policy
policy_setup
ima_parse_rule
ima_parse_add_rulema_parse_add_rule - add a rule to ima_policy_rules*@rule - ima measurement policy rule* Avoid locking by allowing just one writer at a time in ima_write_policy()* Returns the length of the rule parsed, an error code on failure
parse_mount_optionsparse_mount_options():* Set @opts to mount options specified in @data. If an option is not* specified in @data, set it to its default value.* Note: @data may be NULL (in which case all options are set to default).