/kernel/linux/linux-5.10/include/linux/ |
H A D | parser.h | 14 struct match_token { struct 19 typedef struct match_token match_table_t[]; 21 /* Maximum number of arguments that match_token will find in a pattern */ 30 int match_token(char *, const match_table_t table, substring_t args[]);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | parser.h | 14 struct match_token { struct 19 typedef struct match_token match_table_t[]; 21 /* Maximum number of arguments that match_token will find in a pattern */ 30 int match_token(char *, const match_table_t table, substring_t args[]);
|
/kernel/linux/linux-5.10/lib/ |
H A D | ts_fsm.c | 126 static inline int match_token(struct ts_fsm_token *t, u8 d) in match_token() function 178 if (!match_token(cur, data[block_idx])) in fsm_find() 184 !match_token(cur, data[block_idx])) in fsm_find() 192 if (!match_token(cur, data[block_idx])) in fsm_find() 205 while (!match_token(next, data[block_idx])) { in fsm_find() 206 if (!match_token(cur, data[block_idx])) in fsm_find() 222 while (!match_token(next, data[block_idx])) { in fsm_find() 229 if (!match_token(cur, data[block_idx])) in fsm_find()
|
H A D | parser.c | 93 * match_token: - Find a token (and optional args) in a string 97 * &struct match_token whose pattern is set to the NULL pointer. 106 int match_token(char *s, const match_table_t table, substring_t args[]) in match_token() function 108 const struct match_token *p; in match_token() 115 EXPORT_SYMBOL(match_token); variable
|
/kernel/linux/linux-6.6/lib/ |
H A D | ts_fsm.c | 126 static inline int match_token(struct ts_fsm_token *t, u8 d) in match_token() function 178 if (!match_token(cur, data[block_idx])) in fsm_find() 184 !match_token(cur, data[block_idx])) in fsm_find() 192 if (!match_token(cur, data[block_idx])) in fsm_find() 205 while (!match_token(next, data[block_idx])) { in fsm_find() 206 if (!match_token(cur, data[block_idx])) in fsm_find() 222 while (!match_token(next, data[block_idx])) { in fsm_find() 229 if (!match_token(cur, data[block_idx])) in fsm_find()
|
H A D | parser.c | 102 * match_token - Find a token (and optional args) in a string 106 * &struct match_token whose pattern is set to the NULL pointer. 115 int match_token(char *s, const match_table_t table, substring_t args[]) in match_token() function 117 const struct match_token *p; in match_token() 124 EXPORT_SYMBOL(match_token); variable
|
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | fs_context.c | 32 switch (match_token(value, cifs_smb_version_tokens, args)) { in cifs_parse_smb_version() 127 switch (match_token(value, cifs_secflavor_tokens, args)) { in cifs_parse_security_flavors() 185 switch (match_token(value, cifs_cacheflavor_tokens, args)) { in cifs_parse_cache_flavor()
|
/kernel/linux/linux-5.10/fs/hfsplus/ |
H A D | options.c | 85 token = match_token(p, tokens, args); in hfsplus_parse_options_remount() 113 token = match_token(p, tokens, args); in hfsplus_parse_options()
|
/kernel/linux/linux-6.6/fs/hfsplus/ |
H A D | options.c | 85 token = match_token(p, tokens, args); in hfsplus_parse_options_remount() 113 token = match_token(p, tokens, args); in hfsplus_parse_options()
|
/kernel/linux/linux-5.10/fs/unicode/ |
H A D | utf8-core.c | 178 static const struct match_token token[] = { in utf8_parse_version() 185 if (match_token(version_string, token, args) != 1) in utf8_parse_version()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | super.c | 111 token = match_token(p, hmdfs_tokens, args); in hmdfs_parse_options()
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | super.c | 111 token = match_token(p, hmdfs_tokens, args); in hmdfs_parse_options()
|
/kernel/linux/linux-5.10/fs/sharefs/ |
H A D | super.c | 51 token = match_token(p, sharefs_tokens, args); in sharefs_parse_options()
|
/kernel/linux/linux-6.6/fs/sharefs/ |
H A D | super.c | 51 token = match_token(p, sharefs_tokens, args); in sharefs_parse_options()
|
/kernel/linux/linux-5.10/security/keys/ |
H A D | keyctl_pkey.c | 48 token = match_token(p, param_keys, args); in keyctl_pkey_params_parse()
|
/kernel/linux/linux-6.6/security/keys/ |
H A D | keyctl_pkey.c | 48 token = match_token(p, param_keys, args); in keyctl_pkey_params_parse()
|
/kernel/linux/linux-5.10/arch/arm/mach-at91/ |
H A D | pm.c | 1008 standby = match_token(s, pm_modes, args); in at91_pm_modes_select() 1012 suspend = match_token(str, pm_modes, args); in at91_pm_modes_select()
|
/kernel/linux/linux-5.10/fs/autofs/ |
H A D | inode.c | 159 token = match_token(p, tokens, args); in parse_options()
|
/kernel/linux/linux-6.6/fs/autofs/ |
H A D | inode.c | 160 token = match_token(p, tokens, args); in parse_options()
|
/kernel/linux/linux-6.6/security/keys/trusted-keys/ |
H A D | trusted_core.c | 85 key_cmd = match_token(c, key_tokens, args); in datablob_parse()
|
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | fs_context.c | 211 switch (match_token(value, cifs_secflavor_tokens, args)) { in cifs_parse_security_flavors() 260 switch (match_token(value, cifs_cacheflavor_tokens, args)) { in cifs_parse_cache_flavor() 345 switch (match_token(value, cifs_smb_version_tokens, args)) { in cifs_parse_smb_version()
|
/kernel/linux/linux-5.10/security/keys/encrypted-keys/ |
H A D | encrypted.c | 186 key_cmd = match_token(keyword, key_tokens, args); in datablob_parse() 195 key_format = match_token(p, key_format_tokens, args); in datablob_parse()
|
/kernel/linux/linux-6.6/security/keys/encrypted-keys/ |
H A D | encrypted.c | 191 key_cmd = match_token(keyword, key_tokens, args); in datablob_parse() 200 key_format = match_token(p, key_format_tokens, args); in datablob_parse()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | super.c | 479 token = match_token(p, rescue_tokens, args); in parse_rescue_options() 542 token = match_token(p, tokens, args); in btrfs_parse_options() 1053 token = match_token(p, tokens, args); in btrfs_parse_device_options() 1105 token = match_token(p, tokens, args); in btrfs_parse_subvol_options()
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | super.c | 262 token = match_token(p, rescue_tokens, args); in parse_rescue_options() 348 token = match_token(p, tokens, args); in btrfs_parse_options() 888 token = match_token(p, tokens, args); in btrfs_parse_device_options() 939 token = match_token(p, tokens, args); in btrfs_parse_subvol_options()
|