Lines Matching defs:key
61 static int vfs_parse_sb_flag(struct fs_context *fc, const char *key)
65 token = lookup_constant(common_set_sb_flag, key, 0);
72 token = lookup_constant(common_clear_sb_flag, key, 0);
96 if (strcmp(param->key, "source") != 0)
131 if (!param->key)
134 ret = vfs_parse_sb_flag(fc, param->key);
159 fc->fs_type->name, param->key);
166 * @key: Parameter name.
170 int vfs_parse_fs_string(struct fs_context *fc, const char *key,
176 .key = key,
195 * vfs_parse_monolithic_sep - Parse key[=val][,key[=val]]* mount data
200 * Parse a blob of data that's in key[=val][,key[=val]]* form with a custom
209 char *options = data, *key;
219 while ((key = sep(&options)) != NULL) {
220 if (*key) {
222 char *value = strchr(key, '=');
225 if (value == key)
230 ret = vfs_parse_fs_string(fc, key, value, v_len);
246 * generic_parse_monolithic - Parse key[=val][,key[=val]]* mount data
250 * Parse a blob of data that's in key[=val][,key[=val]]* form. This can be
595 len += strlen(param->key);
599 param->key);
604 if (strchr(param->key, ',') ||
608 param->key);
617 len = strlen(param->key);
618 memcpy(ctx->legacy_data + size, param->key, len);