/kernel/ |
D | params.c | 62 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 …]
|
D | sysctl.c | 847 struct do_proc_dointvec_minmax_conv_param *param = data; in do_proc_dointvec_minmax_conv() local 859 if ((param->min && *param->min > tmp) || in do_proc_dointvec_minmax_conv() 860 (param->max && *param->max < tmp)) in do_proc_dointvec_minmax_conv() 887 struct do_proc_dointvec_minmax_conv_param param = { in proc_dointvec_minmax() local 892 do_proc_dointvec_minmax_conv, ¶m); in proc_dointvec_minmax() 915 struct do_proc_douintvec_minmax_conv_param *param = data; in do_proc_douintvec_minmax_conv() local 924 if ((param->min && *param->min > tmp) || in do_proc_douintvec_minmax_conv() 925 (param->max && *param->max < tmp)) in do_proc_douintvec_minmax_conv() 956 struct do_proc_douintvec_minmax_conv_param param = { in proc_douintvec_minmax() local 961 do_proc_douintvec_minmax_conv, ¶m); in proc_douintvec_minmax() [all …]
|
D | watchdog.c | 671 int err, old, *param = table->data; in proc_watchdog_common() local 680 *param = (watchdog_enabled & which) != 0; in proc_watchdog_common() 683 old = READ_ONCE(*param); in proc_watchdog_common() 685 if (!err && old != READ_ONCE(*param)) in proc_watchdog_common()
|
D | kthread.c | 342 static const struct sched_param param = { .sched_priority = 0 }; in kthread() local 367 sched_setscheduler_nocheck(current, SCHED_NORMAL, ¶m); in kthread()
|
/kernel/trace/ |
D | trace_events_trigger.c | 735 bool event_trigger_empty_param(const char *param) in event_trigger_empty_param() argument 737 return !param; in event_trigger_empty_param() 766 int event_trigger_separate_filter(char *param_and_filter, char **param, in event_trigger_separate_filter() argument 771 *param = *filter = NULL; in event_trigger_separate_filter() 795 *param = strsep(¶m_and_filter, " \t"); in event_trigger_separate_filter() 827 char *param, in event_trigger_alloc() argument 833 trigger_ops = cmd_ops->get_trigger_ops(cmd, param); in event_trigger_alloc() 861 int event_trigger_parse_num(char *param, in event_trigger_parse_num() argument 867 if (param) { in event_trigger_parse_num() 868 number = strsep(¶m, ":"); in event_trigger_parse_num() [all …]
|
D | trace_functions.c | 800 char *cmd, char *param, int enable) in ftrace_trace_probe_callback() argument 813 if (!param) in ftrace_trace_probe_callback() 816 number = strsep(¶m, ":"); in ftrace_trace_probe_callback() 837 char *glob, char *cmd, char *param, int enable) in ftrace_trace_onoff_callback() argument 846 ops = param ? &traceon_count_probe_ops : &traceon_probe_ops; in ftrace_trace_onoff_callback() 848 ops = param ? &traceoff_count_probe_ops : &traceoff_probe_ops; in ftrace_trace_onoff_callback() 851 param, enable); in ftrace_trace_onoff_callback() 856 char *glob, char *cmd, char *param, int enable) in ftrace_stacktrace_callback() argument 863 ops = param ? &stacktrace_count_probe_ops : &stacktrace_probe_ops; in ftrace_stacktrace_callback() 866 param, enable); in ftrace_stacktrace_callback() [all …]
|
D | trace_syscalls.c | 561 } param; in perf_call_bpf_enter() local 564 *(struct pt_regs **)¶m = regs; in perf_call_bpf_enter() 565 param.syscall_nr = rec->nr; in perf_call_bpf_enter() 567 param.args[i] = rec->args[i]; in perf_call_bpf_enter() 568 return trace_call_bpf(call, ¶m); in perf_call_bpf_enter() 663 } param; in perf_call_bpf_exit() local 665 *(struct pt_regs **)¶m = regs; in perf_call_bpf_exit() 666 param.syscall_nr = rec->nr; in perf_call_bpf_exit() 667 param.ret = rec->ret; in perf_call_bpf_exit() 668 return trace_call_bpf(call, ¶m); in perf_call_bpf_exit()
|
D | trace_probe.c | 284 unsigned long param; in parse_probe_vars() local 306 ret = kstrtoul(arg + len, 10, ¶m); in parse_probe_vars() 310 param > PARAM_MAX_STACK) { in parse_probe_vars() 315 code->param = (unsigned int)param; in parse_probe_vars() 325 ret = kstrtoul(arg + len, 10, ¶m); in parse_probe_vars() 328 } else if (!param || param > PARAM_MAX_STACK) { in parse_probe_vars() 333 code->param = (unsigned int)param - 1; in parse_probe_vars() 377 unsigned long param; in parse_probe_arg() local 397 code->param = (unsigned int)ret; in parse_probe_arg() 405 ret = kstrtoul(arg + 1, 0, ¶m); in parse_probe_arg() [all …]
|
D | trace_boot.c | 249 const char *param) in trace_boot_hist_add_one_handler() argument 256 p = xbc_node_find_value(hnode, param, NULL); in trace_boot_hist_add_one_handler() 259 xbc_node_get_data(hnode), param); in trace_boot_hist_add_one_handler() 299 char *end, const char *param) in trace_boot_hist_add_handlers() argument 312 ret = trace_boot_hist_add_one_handler(node, bufp, end, handler, param); in trace_boot_hist_add_handlers() 317 if (xbc_node_find_subkey(hnode, param)) in trace_boot_hist_add_handlers() 318 ret = trace_boot_hist_add_one_handler(hnode, bufp, end, handler, param); in trace_boot_hist_add_handlers()
|
D | trace_events_hist.c | 3599 char *param, *saved_param; in parse_action_params() local 3610 param = strsep(¶ms, ","); in parse_action_params() 3611 if (!param) { in parse_action_params() 3617 param = strstrip(param); in parse_action_params() 3618 if (strlen(param) < 2) { in parse_action_params() 3619 hist_err(tr, HIST_ERR_INVALID_PARAM, errpos(param)); in parse_action_params() 3624 saved_param = kstrdup(param, GFP_KERNEL); in parse_action_params() 3936 char *event_name, *param, *system = NULL; in trace_action_create() local 3966 p = param = kstrdup(data->params[i], GFP_KERNEL); in trace_action_create() 3967 if (!param) { in trace_action_create() [all …]
|
D | trace.h | 1608 extern bool event_trigger_empty_param(const char *param); 1609 extern int event_trigger_separate_filter(char *param_and_filter, char **param, 1614 char *param, 1620 char *param, 1789 struct event_trigger_ops *(*get_trigger_ops)(char *cmd, char *param);
|
D | trace_events.c | 3358 char *glob, char *cmd, char *param, int enabled) in event_enable_func() argument 3373 if (!enabled || !param) in event_enable_func() 3376 system = strsep(¶m, ":"); in event_enable_func() 3377 if (!param) in event_enable_func() 3380 event = strsep(¶m, ":"); in event_enable_func() 3392 ops = param ? &event_enable_count_probe_ops : &event_enable_probe_ops; in event_enable_func() 3394 ops = param ? &event_disable_count_probe_ops : &event_disable_probe_ops; in event_enable_func() 3411 if (!param) in event_enable_func() 3414 number = strsep(¶m, ":"); in event_enable_func()
|
D | trace.c | 7767 struct trace_min_max_param *param = filp->private_data; in trace_min_max_write() local 7771 if (!param) in trace_min_max_write() 7778 if (param->lock) in trace_min_max_write() 7779 mutex_lock(param->lock); in trace_min_max_write() 7781 if (param->min && val < *param->min) in trace_min_max_write() 7784 if (param->max && val > *param->max) in trace_min_max_write() 7788 *param->val = val; in trace_min_max_write() 7790 if (param->lock) in trace_min_max_write() 7791 mutex_unlock(param->lock); in trace_min_max_write() 7813 struct trace_min_max_param *param = filp->private_data; in trace_min_max_read() local [all …]
|
D | trace_probe_tmpl.h | 190 if (++i < code->param) { in process_fetch_insn_bottom()
|
D | trace_probe.h | 114 unsigned int param; member
|
D | trace_kprobe.c | 1348 val = regs_get_register(regs, code->param); in process_fetch_insn() 1351 val = regs_get_kernel_stack_nth(regs, code->param); in process_fetch_insn() 1370 val = regs_get_kernel_argument(regs, code->param); in process_fetch_insn()
|
D | trace_uprobe.c | 228 val = regs_get_register(regs, code->param); in process_fetch_insn() 231 val = get_user_stack_nth(regs, code->param); in process_fetch_insn()
|
D | trace_eprobe.c | 606 char *param) in eprobe_trigger_get_ops() argument
|
/kernel/cgroup/ |
D | cgroup-v1.c | 923 int cgroup1_parse_param(struct fs_context *fc, struct fs_parameter *param) in cgroup1_parse_param() argument 930 opt = fs_parse(fc, cgroup1_fs_parameters, param, &result); in cgroup1_parse_param() 934 ret = vfs_parse_fs_param_source(fc, param); in cgroup1_parse_param() 938 if (strcmp(param->key, ss->legacy_name)) in cgroup1_parse_param() 942 param->key); in cgroup1_parse_param() 946 return invalfc(fc, "Unknown subsys name '%s'", param->key); in cgroup1_parse_param() 987 ctx->release_agent = param->string; in cgroup1_parse_param() 988 param->string = NULL; in cgroup1_parse_param() 995 if (!param->size) in cgroup1_parse_param() 997 if (param->size > MAX_CGROUP_ROOT_NAMELEN - 1) in cgroup1_parse_param() [all …]
|
D | cgroup-internal.h | 295 int cgroup1_parse_param(struct fs_context *fc, struct fs_parameter *param);
|
/kernel/irq/ |
D | irqdomain.c | 789 fwspec->param, fwspec->param_count, in irq_domain_translate() 793 *hwirq = fwspec->param[0]; in irq_domain_translate() 806 fwspec->param[i] = args[i]; in of_phandle_args_to_fwspec() 1074 *out_hwirq = fwspec->param[0]; in irq_domain_translate_onecell() 1095 *out_hwirq = fwspec->param[0]; in irq_domain_translate_twocell() 1096 *out_type = fwspec->param[1] & IRQ_TYPE_SENSE_MASK; in irq_domain_translate_twocell()
|
/kernel/bpf/ |
D | inode.c | 644 static int bpf_parse_param(struct fs_context *fc, struct fs_parameter *param) in bpf_parse_param() argument 650 opt = fs_parse(fc, bpf_fs_parameters, param, &result); in bpf_parse_param() 657 opt = vfs_parse_fs_param_source(fc, param); in bpf_parse_param()
|
/kernel/sched/ |
D | core.c | 3669 struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 }; in sched_set_stop_task() local 3681 sched_setscheduler_nocheck(stop, SCHED_FIFO, ¶m); in sched_set_stop_task() 7888 const struct sched_param *param, bool check) in _sched_setscheduler() argument 7892 .sched_priority = param->sched_priority, in _sched_setscheduler() 7918 const struct sched_param *param) in sched_setscheduler() argument 7920 return _sched_setscheduler(p, policy, param, true); in sched_setscheduler() 7950 const struct sched_param *param) in sched_setscheduler_nocheck() argument 7952 return _sched_setscheduler(p, policy, param, false); in sched_setscheduler_nocheck() 8002 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler() argument 8008 if (!param || pid < 0) in do_sched_setscheduler() [all …]
|
/kernel/time/ |
D | timeconst.bc | 51 print "#include <linux/param.h>\n"
|
/kernel/module/ |
D | main.c | 2713 static int unknown_module_param_cb(char *param, char *val, const char *modname, in unknown_module_param_cb() argument 2719 if (strcmp(param, "async_probe") == 0) { in unknown_module_param_cb() 2726 ret = ddebug_dyndbg_module_param_cb(param, val, modname); in unknown_module_param_cb() 2728 pr_warn("%s: unknown parameter '%s' ignored\n", modname, param); in unknown_module_param_cb()
|