Lines Matching defs:param
58 static int proc_parse_hidepid_param(struct fs_context *fc, struct fs_parameter *param)
65 if (param->type != fs_value_is_string)
68 if (!kstrtouint(param->string, base, &result.uint_32)) {
70 return invalf(fc, "proc: unknown value of hidepid - %s\n", param->string);
75 if (!strcmp(param->string, "off"))
77 else if (!strcmp(param->string, "noaccess"))
79 else if (!strcmp(param->string, "invisible"))
81 else if (!strcmp(param->string, "ptraceable"))
84 return invalf(fc, "proc: unknown value of hidepid - %s\n", param->string);
112 static int proc_parse_param(struct fs_context *fc, struct fs_parameter *param)
118 opt = fs_parse(fc, proc_fs_parameters, param, &result);
128 if (proc_parse_hidepid_param(fc, param))
133 if (proc_parse_subset_param(fc, param->string) < 0)