/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 | watchdog.c | 656 int err, old, *param = table->data; in proc_watchdog_common() local 665 *param = (watchdog_enabled & which) != 0; in proc_watchdog_common() 668 old = READ_ONCE(*param); in proc_watchdog_common() 670 if (!err && old != READ_ONCE(*param)) in proc_watchdog_common()
|
D | sysctl.c | 944 struct do_proc_dointvec_minmax_conv_param *param = data; in do_proc_dointvec_minmax_conv() local 956 if ((param->min && *param->min > tmp) || in do_proc_dointvec_minmax_conv() 957 (param->max && *param->max < tmp)) in do_proc_dointvec_minmax_conv() 984 struct do_proc_dointvec_minmax_conv_param param = { in proc_dointvec_minmax() local 989 do_proc_dointvec_minmax_conv, ¶m); in proc_dointvec_minmax() 1012 struct do_proc_douintvec_minmax_conv_param *param = data; in do_proc_douintvec_minmax_conv() local 1021 if ((param->min && *param->min > tmp) || in do_proc_douintvec_minmax_conv() 1022 (param->max && *param->max < tmp)) in do_proc_douintvec_minmax_conv() 1053 struct do_proc_douintvec_minmax_conv_param param = { in proc_douintvec_minmax() local 1058 do_proc_douintvec_minmax_conv, ¶m); in proc_douintvec_minmax() [all …]
|
D | cpu.c | 1197 struct sched_param param = { .sched_priority = 0 }; in pause_reduce_prio() local 1200 sched_setscheduler_nocheck(current, SCHED_NORMAL, ¶m); in pause_reduce_prio() 1210 struct sched_param param = { .sched_priority = MAX_RT_PRIO-1-prev_prio }; in pause_restore_prio() local 1212 sched_setscheduler_nocheck(current, SCHED_FIFO, ¶m); in pause_restore_prio() 1502 struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 }; in switch_to_rt_policy() local 1507 return sched_setscheduler_nocheck(current, SCHED_FIFO, ¶m); in switch_to_rt_policy() 1514 struct sched_param param = { .sched_priority = 0 }; in switch_to_fair_policy() local 1516 return sched_setscheduler_nocheck(current, SCHED_NORMAL, ¶m); in switch_to_fair_policy()
|
D | kthread.c | 394 static const struct sched_param param = { .sched_priority = 0 }; in __kthread_create_on_node() local 407 sched_setscheduler_nocheck(task, SCHED_NORMAL, ¶m); in __kthread_create_on_node()
|
D | module.c | 3963 static int unknown_module_param_cb(char *param, char *val, const char *modname, in unknown_module_param_cb() argument 3969 if (strcmp(param, "async_probe") == 0) { in unknown_module_param_cb() 3975 ret = ddebug_dyndbg_module_param_cb(param, val, modname); in unknown_module_param_cb() 3977 pr_warn("%s: unknown parameter '%s' ignored\n", modname, param); in unknown_module_param_cb()
|
/kernel/trace/ |
D | trace_events_trigger.c | 630 char *glob, char *cmd, char *param) in event_trigger_callback() argument 639 if (param && isdigit(param[0])) { in event_trigger_callback() 640 trigger = strsep(¶m, " \t"); in event_trigger_callback() 641 if (param) { in event_trigger_callback() 642 param = skip_spaces(param); in event_trigger_callback() 643 if (!*param) in event_trigger_callback() 644 param = NULL; in event_trigger_callback() 685 if (!param) /* if param is non-empty, it's supposed to be a filter */ in event_trigger_callback() 691 ret = cmd_ops->set_filter(param, trigger_data, file); in event_trigger_callback() 1076 onoff_get_trigger_ops(char *cmd, char *param) in onoff_get_trigger_ops() argument [all …]
|
D | trace_functions.c | 646 char *cmd, char *param, int enable) in ftrace_trace_probe_callback() argument 659 if (!param) in ftrace_trace_probe_callback() 662 number = strsep(¶m, ":"); in ftrace_trace_probe_callback() 683 char *glob, char *cmd, char *param, int enable) in ftrace_trace_onoff_callback() argument 692 ops = param ? &traceon_count_probe_ops : &traceon_probe_ops; in ftrace_trace_onoff_callback() 694 ops = param ? &traceoff_count_probe_ops : &traceoff_probe_ops; in ftrace_trace_onoff_callback() 697 param, enable); in ftrace_trace_onoff_callback() 702 char *glob, char *cmd, char *param, int enable) in ftrace_stacktrace_callback() argument 709 ops = param ? &stacktrace_count_probe_ops : &stacktrace_probe_ops; in ftrace_stacktrace_callback() 712 param, enable); in ftrace_stacktrace_callback() [all …]
|
D | trace_syscalls.c | 582 } param; in perf_call_bpf_enter() local 585 *(struct pt_regs **)¶m = regs; in perf_call_bpf_enter() 586 param.syscall_nr = rec->nr; in perf_call_bpf_enter() 588 param.args[i] = rec->args[i]; in perf_call_bpf_enter() 589 return trace_call_bpf(call, ¶m); in perf_call_bpf_enter() 684 } param; in perf_call_bpf_exit() local 686 *(struct pt_regs **)¶m = regs; in perf_call_bpf_exit() 687 param.syscall_nr = rec->nr; in perf_call_bpf_exit() 688 param.ret = rec->ret; in perf_call_bpf_exit() 689 return trace_call_bpf(call, ¶m); in perf_call_bpf_exit()
|
D | trace_probe.c | 275 unsigned long param; in parse_probe_vars() local 290 ret = kstrtoul(arg + len, 10, ¶m); 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, ¶m); 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, ¶m); in parse_probe_arg() [all …]
|
D | trace_events_hist.c | 2359 char *glob, char *cmd, char *param); 3116 char *param, *saved_param; in parse_action_params() local 3127 param = strsep(¶ms, ","); in parse_action_params() 3128 if (!param) { in parse_action_params() 3134 param = strstrip(param); in parse_action_params() 3135 if (strlen(param) < 2) { in parse_action_params() 3136 hist_err(tr, HIST_ERR_INVALID_PARAM, errpos(param)); in parse_action_params() 3141 saved_param = kstrdup(param, GFP_KERNEL); in parse_action_params() 3450 char *event_name, *param, *system = NULL; in trace_action_create() local 3480 p = param = kstrdup(data->params[i], GFP_KERNEL); in trace_action_create() [all …]
|
D | trace_events.c | 3017 char *glob, char *cmd, char *param, int enabled) in event_enable_func() argument 3032 if (!enabled || !param) in event_enable_func() 3035 system = strsep(¶m, ":"); in event_enable_func() 3036 if (!param) in event_enable_func() 3039 event = strsep(¶m, ":"); in event_enable_func() 3051 ops = param ? &event_enable_count_probe_ops : &event_enable_probe_ops; in event_enable_func() 3053 ops = param ? &event_disable_count_probe_ops : &event_disable_probe_ops; in event_enable_func() 3070 if (!param) in event_enable_func() 3073 number = strsep(¶m, ":"); in event_enable_func()
|
D | trace_probe_tmpl.h | 149 if (++i < code->param) { in process_fetch_insn_bottom()
|
D | trace_probe.h | 112 unsigned int param; member
|
D | trace_kprobe.c | 1345 val = regs_get_register(regs, code->param); in process_fetch_insn() 1348 val = regs_get_kernel_stack_nth(regs, code->param); in process_fetch_insn() 1367 val = regs_get_kernel_argument(regs, code->param); in process_fetch_insn()
|
D | trace.h | 1750 char *glob, char *cmd, char *param); 1928 struct event_trigger_ops *(*get_trigger_ops)(char *cmd, char *param);
|
D | trace_uprobe.c | 229 val = regs_get_register(regs, code->param); in process_fetch_insn() 232 val = get_user_stack_nth(regs, code->param); in process_fetch_insn()
|
D | trace.c | 8088 char *glob, char *cmd, char *param, int enable) in ftrace_trace_snapshot_callback() argument 8102 ops = param ? &snapshot_count_probe_ops : &snapshot_probe_ops; in ftrace_trace_snapshot_callback() 8107 if (!param) in ftrace_trace_snapshot_callback() 8110 number = strsep(¶m, ":"); in ftrace_trace_snapshot_callback()
|
/kernel/cgroup/ |
D | cgroup-v1.c | 922 int cgroup1_parse_param(struct fs_context *fc, struct fs_parameter *param) in cgroup1_parse_param() argument 929 opt = fs_parse(fc, cgroup1_fs_parameters, param, &result); in cgroup1_parse_param() 931 if (strcmp(param->key, "source") == 0) { in cgroup1_parse_param() 932 if (param->type != fs_value_is_string) in cgroup1_parse_param() 936 fc->source = param->string; in cgroup1_parse_param() 937 param->string = NULL; in cgroup1_parse_param() 941 if (strcmp(param->key, ss->legacy_name)) in cgroup1_parse_param() 945 param->key); in cgroup1_parse_param() 949 return invalfc(fc, "Unknown subsys name '%s'", param->key); in cgroup1_parse_param() 984 ctx->release_agent = param->string; in cgroup1_parse_param() [all …]
|
D | cgroup-internal.h | 294 int cgroup1_parse_param(struct fs_context *fc, struct fs_parameter *param);
|
D | cgroup.c | 1884 static int cgroup2_parse_param(struct fs_context *fc, struct fs_parameter *param) in cgroup2_parse_param() argument 1890 opt = fs_parse(fc, cgroup2_fs_parameters, param, &result); in cgroup2_parse_param()
|
/kernel/irq/ |
D | irqdomain.c | 781 fwspec->param, fwspec->param_count, in irq_domain_translate() 785 *hwirq = fwspec->param[0]; in irq_domain_translate() 799 fwspec->param[i] = args[i]; in of_phandle_args_to_fwspec() 1048 *out_hwirq = fwspec->param[0]; in irq_domain_translate_onecell() 1069 *out_hwirq = fwspec->param[0]; in irq_domain_translate_twocell() 1070 *out_type = fwspec->param[1] & IRQ_TYPE_SENSE_MASK; in irq_domain_translate_twocell()
|
/kernel/sched/ |
D | core.c | 2581 struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 }; in sched_set_stop_task() local 2593 sched_setscheduler_nocheck(stop, SCHED_FIFO, ¶m); in sched_set_stop_task() 5749 const struct sched_param *param, bool check) in _sched_setscheduler() argument 5753 .sched_priority = param->sched_priority, in _sched_setscheduler() 5779 const struct sched_param *param) in sched_setscheduler() argument 5781 return _sched_setscheduler(p, policy, param, true); in sched_setscheduler() 5811 const struct sched_param *param) in sched_setscheduler_nocheck() argument 5813 return _sched_setscheduler(p, policy, param, false); in sched_setscheduler_nocheck() 5863 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler() argument 5869 if (!param || pid < 0) in do_sched_setscheduler() [all …]
|
/kernel/bpf/ |
D | inode.c | 643 static int bpf_parse_param(struct fs_context *fc, struct fs_parameter *param) in bpf_parse_param() argument 649 opt = fs_parse(fc, bpf_fs_parameters, param, &result); in bpf_parse_param()
|
/kernel/time/ |
D | timeconst.bc | 51 print "#include <linux/param.h>\n"
|