Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\fs_context.c Create Date:2022-07-28 20:13:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:int generic_parse_monolithic(struct fs_context *fc, void *data)

Type:int

Parameter:

TypeParameterName
struct fs_context *fc
void *data
207  options = data
208  ret = 0
210  If Not options Then Return 0
213  ret = security_sb_eat_lsm_opts(options, & security)
214  If ret Then Return ret
217  When ((key = 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) != NULL) cycle
218  If key Then
219  v_len = 0
222  If value Then
229  If ret < 0 Then Break
234  Return ret