Lines Matching defs:param
61 static int proc_parse_hidepid_param(struct fs_context *fc, struct fs_parameter *param)
68 if (param->type != fs_value_is_string)
71 if (!kstrtouint(param->string, base, &result.uint_32)) {
73 return invalf(fc, "proc: unknown value of hidepid - %s\n", param->string);
78 if (!strcmp(param->string, "off"))
80 else if (!strcmp(param->string, "noaccess"))
82 else if (!strcmp(param->string, "invisible"))
84 else if (!strcmp(param->string, "ptraceable"))
87 return invalf(fc, "proc: unknown value of hidepid - %s\n", param->string);
115 static int proc_parse_param(struct fs_context *fc, struct fs_parameter *param)
121 opt = fs_parse(fc, proc_fs_parameters, param, &result);
131 if (proc_parse_hidepid_param(fc, param))
136 if (proc_parse_subset_param(fc, param->string) < 0)