Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 29) sorted by relevance

12

/kernel/
Dparams.c62 static void maybe_kfree_parameter(void *param) in maybe_kfree_parameter() argument
68 if (p->val == param) { in maybe_kfree_parameter()
115 static int parse_one(char *param, in parse_one() argument
123 int (*handle_unknown)(char *param, char *val, in parse_one() argument
131 if (parameq(param, params[i].name)) { in parse_one()
139 pr_debug("handling %s with %p\n", param, in parse_one()
152 pr_debug("doing %s: %s='%s'\n", doing, param, val); in parse_one()
153 return handle_unknown(param, val, doing, arg); in parse_one()
156 pr_debug("Unknown argument '%s'\n", param); in parse_one()
168 int (*unknown)(char *param, char *val, in parse_args() argument
[all …]
Dwatchdog.c683 int err, old, *param = table->data; in proc_watchdog_common() local
692 *param = (watchdog_enabled & which) != 0; in proc_watchdog_common()
695 old = READ_ONCE(*param); in proc_watchdog_common()
697 if (!err && old != READ_ONCE(*param)) in proc_watchdog_common()
Dsysctl.c2678 struct do_proc_dointvec_minmax_conv_param *param = data; in do_proc_dointvec_minmax_conv() local
2690 if ((param->min && *param->min > tmp) || in do_proc_dointvec_minmax_conv()
2691 (param->max && *param->max < tmp)) in do_proc_dointvec_minmax_conv()
2718 struct do_proc_dointvec_minmax_conv_param param = { in proc_dointvec_minmax() local
2723 do_proc_dointvec_minmax_conv, &param); in proc_dointvec_minmax()
2746 struct do_proc_douintvec_minmax_conv_param *param = data; in do_proc_douintvec_minmax_conv() local
2755 if ((param->min && *param->min > tmp) || in do_proc_douintvec_minmax_conv()
2756 (param->max && *param->max < tmp)) in do_proc_douintvec_minmax_conv()
2787 struct do_proc_douintvec_minmax_conv_param param = { in proc_douintvec_minmax() local
2792 do_proc_douintvec_minmax_conv, &param); in proc_douintvec_minmax()
Dkthread.c336 static const struct sched_param param = { .sched_priority = 0 }; in __kthread_create_on_node() local
349 sched_setscheduler_nocheck(task, SCHED_NORMAL, &param); in __kthread_create_on_node()
/kernel/trace/
Dtrace_functions.c640 char *cmd, char *param, int enable) in ftrace_trace_probe_callback() argument
653 if (!param) in ftrace_trace_probe_callback()
656 number = strsep(&param, ":"); in ftrace_trace_probe_callback()
677 char *glob, char *cmd, char *param, int enable) in ftrace_trace_onoff_callback() argument
686 ops = param ? &traceon_count_probe_ops : &traceon_probe_ops; in ftrace_trace_onoff_callback()
688 ops = param ? &traceoff_count_probe_ops : &traceoff_probe_ops; in ftrace_trace_onoff_callback()
691 param, enable); in ftrace_trace_onoff_callback()
696 char *glob, char *cmd, char *param, int enable) in ftrace_stacktrace_callback() argument
703 ops = param ? &stacktrace_count_probe_ops : &stacktrace_probe_ops; in ftrace_stacktrace_callback()
706 param, enable); in ftrace_stacktrace_callback()
[all …]
Dtrace_events_trigger.c623 char *glob, char *cmd, char *param) in event_trigger_callback() argument
632 if (param && isdigit(param[0])) in event_trigger_callback()
633 trigger = strsep(&param, " \t"); in event_trigger_callback()
672 if (!param) /* if param is non-empty, it's supposed to be a filter */ in event_trigger_callback()
678 ret = cmd_ops->set_filter(param, trigger_data, file); in event_trigger_callback()
1023 onoff_get_trigger_ops(char *cmd, char *param) in onoff_get_trigger_ops() argument
1029 ops = param ? &traceon_count_trigger_ops : in onoff_get_trigger_ops()
1032 ops = param ? &traceoff_count_trigger_ops : in onoff_get_trigger_ops()
1123 snapshot_get_trigger_ops(char *cmd, char *param) in snapshot_get_trigger_ops() argument
1125 return param ? &snapshot_count_trigger_ops : &snapshot_trigger_ops; in snapshot_get_trigger_ops()
[all …]
Dtrace_probe.c275 unsigned long param; in parse_probe_vars() local
290 ret = kstrtoul(arg + len, 10, &param); in parse_probe_vars()
294 param > PARAM_MAX_STACK) { in parse_probe_vars()
299 code->param = (unsigned int)param; in parse_probe_vars()
309 ret = kstrtoul(arg + len, 10, &param); in parse_probe_vars()
312 } else if (!param || param > PARAM_MAX_STACK) { in parse_probe_vars()
317 code->param = (unsigned int)param - 1; in parse_probe_vars()
359 unsigned long param; in parse_probe_arg() local
374 code->param = (unsigned int)ret; in parse_probe_arg()
382 ret = kstrtoul(arg + 1, 0, &param); in parse_probe_arg()
[all …]
Dtrace_syscalls.c573 } param; in perf_call_bpf_enter() local
576 *(struct pt_regs **)&param = regs; in perf_call_bpf_enter()
577 param.syscall_nr = rec->nr; in perf_call_bpf_enter()
579 param.args[i] = rec->args[i]; in perf_call_bpf_enter()
580 return trace_call_bpf(call, &param); in perf_call_bpf_enter()
675 } param; in perf_call_bpf_exit() local
677 *(struct pt_regs **)&param = regs; in perf_call_bpf_exit()
678 param.syscall_nr = rec->nr; in perf_call_bpf_exit()
679 param.ret = rec->ret; in perf_call_bpf_exit()
680 return trace_call_bpf(call, &param); in perf_call_bpf_exit()
Dring_buffer_benchmark.c459 struct sched_param param = { in ring_buffer_benchmark_init() local
462 sched_setscheduler(consumer, SCHED_FIFO, &param); in ring_buffer_benchmark_init()
468 struct sched_param param = { in ring_buffer_benchmark_init() local
471 sched_setscheduler(producer, SCHED_FIFO, &param); in ring_buffer_benchmark_init()
Dtrace_events_hist.c3159 char *glob, char *cmd, char *param);
3913 char *param, *saved_param; in parse_action_params() local
3923 param = strsep(&params, ","); in parse_action_params()
3924 if (!param) { in parse_action_params()
3930 param = strstrip(param); in parse_action_params()
3931 if (strlen(param) < 2) { in parse_action_params()
3932 hist_err(tr, HIST_ERR_INVALID_PARAM, errpos(param)); in parse_action_params()
3937 saved_param = kstrdup(param, GFP_KERNEL); in parse_action_params()
4229 char *event_name, *param, *system = NULL; in trace_action_create() local
4257 p = param = kstrdup(data->params[i], GFP_KERNEL); in trace_action_create()
[all …]
Dtrace_events.c2694 char *glob, char *cmd, char *param, int enabled) in event_enable_func() argument
2709 if (!enabled || !param) in event_enable_func()
2712 system = strsep(&param, ":"); in event_enable_func()
2713 if (!param) in event_enable_func()
2716 event = strsep(&param, ":"); in event_enable_func()
2728 ops = param ? &event_enable_count_probe_ops : &event_enable_probe_ops; in event_enable_func()
2730 ops = param ? &event_disable_count_probe_ops : &event_disable_probe_ops; in event_enable_func()
2747 if (!param) in event_enable_func()
2750 number = strsep(&param, ":"); in event_enable_func()
Dtrace_probe_tmpl.h147 if (++i < code->param) { in process_fetch_insn_bottom()
Dtrace_kprobe.c1135 val = regs_get_register(regs, code->param); in process_fetch_insn()
1138 val = regs_get_kernel_stack_nth(regs, code->param); in process_fetch_insn()
1157 val = regs_get_kernel_argument(regs, code->param); in process_fetch_insn()
Dtrace_probe.h113 unsigned int param; member
Dtrace.h1633 char *glob, char *cmd, char *param);
1811 struct event_trigger_ops *(*get_trigger_ops)(char *cmd, char *param);
Dtrace_uprobe.c234 val = regs_get_register(regs, code->param); in process_fetch_insn()
237 val = get_user_stack_nth(regs, code->param); in process_fetch_insn()
/kernel/cgroup/
Dcgroup-v1.c907 int cgroup1_parse_param(struct fs_context *fc, struct fs_parameter *param) in cgroup1_parse_param() argument
914 opt = fs_parse(fc, &cgroup1_fs_parameters, param, &result); in cgroup1_parse_param()
916 if (strcmp(param->key, "source") == 0) { in cgroup1_parse_param()
917 fc->source = param->string; in cgroup1_parse_param()
918 param->string = NULL; in cgroup1_parse_param()
922 if (strcmp(param->key, ss->legacy_name)) in cgroup1_parse_param()
927 return cg_invalf(fc, "cgroup1: Unknown subsys name '%s'", param->key); in cgroup1_parse_param()
956 ctx->release_agent = param->string; in cgroup1_parse_param()
957 param->string = NULL; in cgroup1_parse_param()
964 if (!param->size) in cgroup1_parse_param()
[all …]
Dcgroup-internal.h274 int cgroup1_parse_param(struct fs_context *fc, struct fs_parameter *param);
/kernel/locking/
Dlocktorture.c441 struct sched_param param; in torture_rtmutex_boost() local
453 param.sched_priority = MAX_RT_PRIO - 1; in torture_rtmutex_boost()
467 param.sched_priority = 0; in torture_rtmutex_boost()
472 sched_setscheduler_nocheck(current, policy, &param); in torture_rtmutex_boost()
/kernel/sched/
Dcore.c2137 struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 }; in sched_set_stop_task() local
2149 sched_setscheduler_nocheck(stop, SCHED_FIFO, &param); in sched_set_stop_task()
5019 const struct sched_param *param, bool check) in _sched_setscheduler() argument
5023 .sched_priority = param->sched_priority, in _sched_setscheduler()
5047 const struct sched_param *param) in sched_setscheduler() argument
5049 return _sched_setscheduler(p, policy, param, true); in sched_setscheduler()
5078 const struct sched_param *param) in sched_setscheduler_nocheck() argument
5080 return _sched_setscheduler(p, policy, param, false); in sched_setscheduler_nocheck()
5085 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler() argument
5091 if (!param || pid < 0) in do_sched_setscheduler()
[all …]
Dpsi.c1054 struct sched_param param = { in psi_trigger_create() local
1065 sched_setscheduler_nocheck(kworker->task, SCHED_FIFO, &param); in psi_trigger_create()
/kernel/irq/
Dirqdomain.c740 fwspec->param, fwspec->param_count, in irq_domain_translate()
744 *hwirq = fwspec->param[0]; in irq_domain_translate()
758 fwspec->param[i] = args[i]; in of_phandle_args_to_fwspec()
1004 *out_hwirq = fwspec->param[0]; in irq_domain_translate_twocell()
1005 *out_type = fwspec->param[1] & IRQ_TYPE_SENSE_MASK; in irq_domain_translate_twocell()
Dmanage.c1235 struct sched_param param = { in setup_irq_thread() local
1245 param.sched_priority -= 1; in setup_irq_thread()
1251 sched_setscheduler_nocheck(t, SCHED_FIFO, &param); in setup_irq_thread()
/kernel/bpf/
Dinode.c603 static int bpf_parse_param(struct fs_context *fc, struct fs_parameter *param) in bpf_parse_param() argument
609 opt = fs_parse(fc, &bpf_fs_parameters, param, &result); in bpf_parse_param()
/kernel/time/
Dtimeconst.bc51 print "#include <linux/param.h>\n"

12