Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 6 of 6) sorted by relevance

/kernel/bpf/
Dinode.c648 int opt; in bpf_parse_param() local
650 opt = fs_parse(fc, bpf_fs_parameters, param, &result); in bpf_parse_param()
651 if (opt < 0) { in bpf_parse_param()
656 if (opt == -ENOPARAM) { in bpf_parse_param()
657 opt = vfs_parse_fs_param_source(fc, param); in bpf_parse_param()
658 if (opt != -ENOPARAM) in bpf_parse_param()
659 return opt; in bpf_parse_param()
664 if (opt < 0) in bpf_parse_param()
665 return opt; in bpf_parse_param()
668 switch (opt) { in bpf_parse_param()
/kernel/
Dsys.c1984 static int prctl_set_mm_map(int opt, const void __user *addr, unsigned long data_size) in prctl_set_mm_map() argument
1994 if (opt == PR_SET_MM_MAP_SIZE) in prctl_set_mm_map()
2122 static int prctl_set_mm(int opt, unsigned long addr, in prctl_set_mm() argument
2134 if (arg5 || (arg4 && (opt != PR_SET_MM_AUXV && in prctl_set_mm()
2135 opt != PR_SET_MM_MAP && in prctl_set_mm()
2136 opt != PR_SET_MM_MAP_SIZE))) in prctl_set_mm()
2140 if (opt == PR_SET_MM_MAP || opt == PR_SET_MM_MAP_SIZE) in prctl_set_mm()
2141 return prctl_set_mm_map(opt, (const void __user *)addr, arg4); in prctl_set_mm()
2147 if (opt == PR_SET_MM_EXE_FILE) in prctl_set_mm()
2150 if (opt == PR_SET_MM_AUXV) in prctl_set_mm()
[all …]
/kernel/cgroup/
Dcgroup-v1.c928 int opt, i; in cgroup1_parse_param() local
930 opt = fs_parse(fc, cgroup1_fs_parameters, param, &result); in cgroup1_parse_param()
931 if (opt == -ENOPARAM) { in cgroup1_parse_param()
948 if (opt < 0) in cgroup1_parse_param()
949 return opt; in cgroup1_parse_param()
951 switch (opt) { in cgroup1_parse_param()
Dcgroup.c1947 int opt; in cgroup2_parse_param() local
1949 opt = fs_parse(fc, cgroup2_fs_parameters, param, &result); in cgroup2_parse_param()
1950 if (opt < 0) in cgroup2_parse_param()
1951 return opt; in cgroup2_parse_param()
1953 switch (opt) { in cgroup2_parse_param()
/kernel/trace/
Dtrace.c8829 if (topt->flags->val & topt->opt->bit) in trace_options_read()
8852 if (!!(topt->flags->val & topt->opt->bit) != val) { in trace_options_write()
8855 topt->opt, !val); in trace_options_write()
9027 struct tracer_opt *opt) in create_trace_option_file() argument
9036 topt->opt = opt; in create_trace_option_file()
9039 topt->entry = trace_create_file(opt->name, TRACE_MODE_WRITE, in create_trace_option_file()
Dtrace.h507 struct tracer_opt *opt; member