Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 41) sorted by relevance

12

/kernel/
Dpanic.c170 va_list args; in panic() local
208 va_start(args, fmt); in panic()
209 len = vscnprintf(buf, sizeof(buf), fmt, args); in panic()
210 va_end(args); in panic()
555 va_list args; member
559 struct pt_regs *regs, struct warn_args *args) in __warn() argument
571 if (args) in __warn()
572 vprintk(args->fmt, args->args); in __warn()
604 struct warn_args args; in warn_slowpath_fmt() local
614 args.fmt = fmt; in warn_slowpath_fmt()
[all …]
Dfork.c1775 struct kernel_clone_args *args) in copy_process() argument
1781 u64 clone_flags = args->flags; in copy_process()
1870 p->set_child_tid = (clone_flags & CLONE_CHILD_SETTID) ? args->child_tid : NULL; in copy_process()
1874 p->clear_child_tid = (clone_flags & CLONE_CHILD_CLEARTID) ? args->child_tid : NULL; in copy_process()
2030 retval = copy_thread_tls(clone_flags, args->stack, args->stack_size, p, in copy_process()
2031 args->tls); in copy_process()
2066 retval = put_user(pidfd, args->pidfd); in copy_process()
2103 p->exit_signal = args->exit_signal; in copy_process()
2316 struct kernel_clone_args args = { in fork_idle() local
2320 task = copy_process(&init_struct_pid, 0, cpu_to_node(cpu), &args); in fork_idle()
[all …]
Dkthread.c296 va_list args) in __kthread_create_on_node() argument
343 vsnprintf(name, sizeof(name), namefmt, args); in __kthread_create_on_node()
385 va_list args; in kthread_create_on_node() local
387 va_start(args, namefmt); in kthread_create_on_node()
388 task = __kthread_create_on_node(threadfn, data, node, namefmt, args); in kthread_create_on_node()
389 va_end(args); in kthread_create_on_node()
683 const char namefmt[], va_list args) in __kthread_create_worker() argument
699 node, namefmt, args); in __kthread_create_worker()
729 va_list args; in kthread_create_worker() local
731 va_start(args, namefmt); in kthread_create_worker()
[all …]
Dkmod.c127 va_list args; in __request_module() local
142 va_start(args, fmt); in __request_module()
143 ret = vsnprintf(module_name, MODULE_NAME_LEN, fmt, args); in __request_module()
144 va_end(args); in __request_module()
Dseccomp.c148 unsigned long args[6]; in populate_seccomp_data() local
152 syscall_get_arguments(task, regs, args); in populate_seccomp_data()
153 sd->args[0] = args[0]; in populate_seccomp_data()
154 sd->args[1] = args[1]; in populate_seccomp_data()
155 sd->args[2] = args[2]; in populate_seccomp_data()
156 sd->args[3] = args[3]; in populate_seccomp_data()
157 sd->args[4] = args[4]; in populate_seccomp_data()
158 sd->args[5] = args[5]; in populate_seccomp_data()
Dparams.c162 char *args, in parse_args() argument
174 args = skip_spaces(args); in parse_args()
176 if (*args) in parse_args()
177 pr_debug("doing %s, parsing ARGS: '%s'\n", doing, args); in parse_args()
179 while (*args) { in parse_args()
183 args = next_arg(args, &param, &val); in parse_args()
186 return err ?: args; in parse_args()
Dcrash_core.c351 va_list args; in vmcoreinfo_append_str() local
355 va_start(args, fmt); in vmcoreinfo_append_str()
356 r = vscnprintf(buf, sizeof(buf), fmt, args); in vmcoreinfo_append_str()
357 va_end(args); in vmcoreinfo_append_str()
Daudit.c1837 va_list args) in audit_log_vformat() argument
1854 va_copy(args2, args); in audit_log_vformat()
1855 len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args); in audit_log_vformat()
1884 va_list args; in audit_log_format() local
1888 va_start(args, fmt); in audit_log_format()
1889 audit_log_vformat(ab, fmt, args); in audit_log_format()
1890 va_end(args); in audit_log_format()
2341 va_list args; in audit_log() local
2345 va_start(args, fmt); in audit_log()
2346 audit_log_vformat(ab, fmt, args); in audit_log()
[all …]
Dptrace.c912 unsigned long args[ARRAY_SIZE(info->entry.args)]; in ptrace_get_syscall_info_entry() local
917 syscall_get_arguments(child, regs, args); in ptrace_get_syscall_info_entry()
918 for (i = 0; i < ARRAY_SIZE(args); i++) in ptrace_get_syscall_info_entry()
919 info->entry.args[i] = args[i]; in ptrace_get_syscall_info_entry()
922 return offsetofend(struct ptrace_syscall_info, entry.args); in ptrace_get_syscall_info_entry()
/kernel/printk/
Dprintk_safe.c69 const char *fmt, va_list args) in printk_safe_log_store() argument
92 va_copy(ap, args); in printk_safe_log_store()
290 static __printf(1, 0) int vprintk_nmi(const char *fmt, va_list args) in vprintk_nmi() argument
294 return printk_safe_log_store(s, fmt, args); in vprintk_nmi()
330 static __printf(1, 0) int vprintk_nmi(const char *fmt, va_list args) in vprintk_nmi() argument
342 static __printf(1, 0) int vprintk_safe(const char *fmt, va_list args) in vprintk_safe() argument
346 return printk_safe_log_store(s, fmt, args); in vprintk_safe()
361 __printf(1, 0) int vprintk_func(const char *fmt, va_list args) in vprintk_func() argument
371 len = vprintk_store(0, LOGLEVEL_DEFAULT, NULL, 0, fmt, args); in vprintk_func()
379 return vprintk_nmi(fmt, args); in vprintk_func()
[all …]
Dinternal.h18 const char *fmt, va_list args);
20 __printf(1, 0) int vprintk_default(const char *fmt, va_list args);
21 __printf(1, 0) int vprintk_deferred(const char *fmt, va_list args);
22 __printf(1, 0) int vprintk_func(const char *fmt, va_list args);
54 __printf(1, 0) int vprintk_func(const char *fmt, va_list args) { return 0; } in vprintk_func() argument
Dprintk.c795 va_list args; in devkmsg_emit() local
798 va_start(args, fmt); in devkmsg_emit()
799 r = vprintk_emit(facility, level, NULL, 0, fmt, args); in devkmsg_emit()
800 va_end(args); in devkmsg_emit()
1906 const char *fmt, va_list args) in vprintk_store() argument
1917 text_len = vscnprintf(text, sizeof(textbuf), fmt, args); in vprintk_store()
1956 const char *fmt, va_list args) in vprintk_emit() argument
1978 printed_len = vprintk_store(facility, level, dict, dictlen, fmt, args); in vprintk_emit()
2006 asmlinkage int vprintk(const char *fmt, va_list args) in vprintk() argument
2008 return vprintk_func(fmt, args); in vprintk()
[all …]
/kernel/livepatch/
Dcore.c129 struct klp_find_arg *args = data; in klp_find_callback() local
131 if ((mod && !args->objname) || (!mod && args->objname)) in klp_find_callback()
134 if (strcmp(args->name, name)) in klp_find_callback()
137 if (args->objname && strcmp(args->objname, mod->name)) in klp_find_callback()
140 args->addr = addr; in klp_find_callback()
141 args->count++; in klp_find_callback()
147 if ((args->pos && (args->count == args->pos)) || in klp_find_callback()
148 (!args->pos && (args->count > 1))) in klp_find_callback()
157 struct klp_find_arg args = { in klp_find_object_symbol() local
167 module_kallsyms_on_each_symbol(klp_find_callback, &args); in klp_find_object_symbol()
[all …]
/kernel/trace/
Dtrace_syscalls.c156 trace_seq_printf(s, "%s: %lx%s", entry->args[i], in print_syscall_enter()
157 trace->args[i], in print_syscall_enter()
219 entry->args[i], sizeof(unsigned long), in __set_enter_print_fmt()
226 ", ((unsigned long)(REC->%s))", entry->args[i]); in __set_enter_print_fmt()
274 int offset = offsetof(typeof(trace), args); in syscall_enter_define_fields()
283 meta->args[i], offset, in syscall_enter_define_fields()
317 unsigned long args[6]; in ftrace_syscall_enter() local
351 syscall_get_arguments(current, regs, args); in ftrace_syscall_enter()
352 memcpy(entry->args, args, sizeof(unsigned long) * sys_data->nb_args); in ftrace_syscall_enter()
572 unsigned long args[SYSCALL_DEFINE_MAXARGS]; in perf_call_bpf_enter() member
[all …]
Dtrace_export.c57 #define F_STRUCT(args...) args argument
60 #define F_printk(fmt, args...) fmt, args argument
168 #define F_printk(fmt, args...) __stringify(fmt) ", " __stringify(args) argument
Dtrace_probe.c733 struct probe_arg *args, int narg) in traceprobe_conflict_field_name() argument
742 if (strcmp(args[i].name, name) == 0) in traceprobe_conflict_field_name()
751 struct probe_arg *parg = &tp->args[i]; in traceprobe_parse_probe_arg()
780 if (traceprobe_conflict_field_name(parg->name, tp->args, i)) { in traceprobe_parse_probe_arg()
860 parg = tp->args + i; in __set_print_fmt()
877 parg = tp->args + i; in __set_print_fmt()
927 struct probe_arg *parg = &tp->args[i]; in traceprobe_define_arg_fields()
980 traceprobe_free_probe_arg(&tp->args[i]); in trace_probe_cleanup()
1106 ((a->args[i].type != b->args[i].type) || in trace_probe_compare_arg_type()
1107 (a->args[i].count != b->args[i].count) || in trace_probe_compare_arg_type()
[all …]
Dtrace_probe_tmpl.h178 arg = tp->args + i; in __get_data_size()
201 arg = tp->args + i; in store_trace_args()
217 print_probe_args(struct trace_seq *s, struct probe_arg *args, int nr_args, in print_probe_args() argument
224 struct probe_arg *a = args + i; in print_probe_args()
Dbpf_trace.c969 BPF_CALL_5(bpf_perf_event_output_raw_tp, struct bpf_raw_tracepoint_args *, args, in BPF_CALL_5() argument
996 BPF_CALL_3(bpf_get_stackid_raw_tp, struct bpf_raw_tracepoint_args *, args, in BPF_CALL_3() argument
1022 BPF_CALL_4(bpf_get_stack_raw_tp, struct bpf_raw_tracepoint_args *, args, in BPF_CALL_4() argument
1330 void __bpf_trace_run(struct bpf_prog *prog, u64 *args) in __bpf_trace_run() argument
1334 (void) BPF_PROG_RUN(prog, args); in __bpf_trace_run()
1355 #define COPY(X) args[X] = arg##X
1366 u64 args[x]; \
1368 __bpf_trace_run(prog, args); \
Dtrace_seq.c144 void trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args) in trace_seq_vprintf() argument
153 seq_buf_vprintf(&s->seq, fmt, args); in trace_seq_vprintf()
Dtrace_kprobe.c84 (offsetof(struct trace_kprobe, tp.args) + \
499 ret = traceprobe_update_arg(&tk->tp.args[i]); in __register_trace_kprobe()
576 if (strcmp(orig->tp.args[i].comm, in trace_kprobe_has_same_kprobe()
577 comp->tp.args[i].comm)) in trace_kprobe_has_same_kprobe()
933 seq_printf(m, " %s=%s", tk->tp.args[i].name, tk->tp.args[i].comm); in trace_kprobe_show()
1291 if (print_probe_args(s, tp->args, tp->nr_args, in print_kprobe_event()
1326 if (print_probe_args(s, tp->args, tp->nr_args, in print_kretprobe_event()
/kernel/bpf/
Doffload.c270 struct ns_get_path_bpf_prog_args *args = private_data; in bpf_prog_offload_info_fill_ns() local
271 struct bpf_prog_aux *aux = args->prog->aux; in bpf_prog_offload_info_fill_ns()
279 args->info->ifindex = aux->offload->netdev->ifindex; in bpf_prog_offload_info_fill_ns()
284 args->info->ifindex = 0; in bpf_prog_offload_info_fill_ns()
297 struct ns_get_path_bpf_prog_args args = { in bpf_prog_offload_info_fill() local
308 res = ns_get_path_cb(&ns_path, bpf_prog_offload_info_fill_ns, &args); in bpf_prog_offload_info_fill()
498 struct ns_get_path_bpf_map_args *args = private_data; in bpf_map_offload_info_fill_ns() local
505 if (args->offmap->netdev) { in bpf_map_offload_info_fill_ns()
506 args->info->ifindex = args->offmap->netdev->ifindex; in bpf_map_offload_info_fill_ns()
507 net = dev_net(args->offmap->netdev); in bpf_map_offload_info_fill_ns()
[all …]
Dbtf.c667 va_list args; in __btf_verifier_log() local
669 va_start(args, fmt); in __btf_verifier_log()
670 bpf_verifier_vlog(log, fmt, args); in __btf_verifier_log()
671 va_end(args); in __btf_verifier_log()
678 va_list args; in btf_verifier_log() local
683 va_start(args, fmt); in btf_verifier_log()
684 bpf_verifier_vlog(log, fmt, args); in btf_verifier_log()
685 va_end(args); in btf_verifier_log()
696 va_list args; in __btf_verifier_log_type() local
712 va_start(args, fmt); in __btf_verifier_log_type()
[all …]
/kernel/power/
Dwakeup_reason.c139 va_list args; in log_suspend_abort_reason() local
150 va_start(args, fmt); in log_suspend_abort_reason()
151 vsnprintf(abort_reason, MAX_SUSPEND_ABORT_LEN, fmt, args); in log_suspend_abort_reason()
152 va_end(args); in log_suspend_abort_reason()
Dmain.c517 va_list args; in __pm_pr_dbg() local
522 va_start(args, fmt); in __pm_pr_dbg()
525 vaf.va = &args; in __pm_pr_dbg()
532 va_end(args); in __pm_pr_dbg()
/kernel/time/
Dtimer_list.c33 va_list args; in SEQ_printf() local
35 va_start(args, fmt); in SEQ_printf()
38 seq_vprintf(m, fmt, args); in SEQ_printf()
40 vprintk(fmt, args); in SEQ_printf()
42 va_end(args); in SEQ_printf()

12