/kernel/ |
D | panic.c | 248 va_list args; in panic() local 296 va_start(args, fmt); in panic() 297 len = vscnprintf(buf, sizeof(buf), fmt, args); in panic() 298 va_end(args); in panic() 648 va_list args; member 652 struct pt_regs *regs, struct warn_args *args) in __warn() argument 664 if (args) in __warn() 665 vprintk(args->fmt, args->args); in __warn() 689 struct warn_args args; in warn_slowpath_fmt() local 699 args.fmt = fmt; in warn_slowpath_fmt() [all …]
|
D | fork.c | 2002 struct kernel_clone_args *args) in copy_process() argument 2008 u64 clone_flags = args->flags; in copy_process() 2097 if (args->io_thread) { in copy_process() 2114 p->set_child_tid = (clone_flags & CLONE_CHILD_SETTID) ? args->child_tid : NULL; in copy_process() 2118 p->clear_child_tid = (clone_flags & CLONE_CHILD_CLEARTID) ? args->child_tid : NULL; in copy_process() 2273 retval = copy_thread(clone_flags, args->stack, args->stack_size, p, args->tls); in copy_process() 2280 pid = alloc_pid(p->nsproxy->pid_ns_for_children, args->set_tid, in copy_process() 2281 args->set_tid_size); in copy_process() 2309 retval = put_user(pidfd, args->pidfd); in copy_process() 2365 retval = cgroup_can_fork(p, args); in copy_process() [all …]
|
D | kthread.c | 378 va_list args) in __kthread_create_on_node() argument 427 va_copy(aq, args); in __kthread_create_on_node() 434 kthread->full_name = kvasprintf(GFP_KERNEL, namefmt, args); in __kthread_create_on_node() 478 va_list args; in kthread_create_on_node() local 480 va_start(args, namefmt); in kthread_create_on_node() 481 task = __kthread_create_on_node(threadfn, data, node, namefmt, args); in kthread_create_on_node() 482 va_end(args); in kthread_create_on_node() 809 const char namefmt[], va_list args) in __kthread_create_worker() argument 825 node, namefmt, args); in __kthread_create_worker() 855 va_list args; in kthread_create_worker() local [all …]
|
D | kmod.c | 126 va_list args; in __request_module() local 141 va_start(args, fmt); in __request_module() 142 ret = vsnprintf(module_name, MODULE_NAME_LEN, fmt, args); in __request_module() 143 va_end(args); in __request_module()
|
D | params.c | 162 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, ¶m, &val); in parse_args() 186 return err ?: args; in parse_args()
|
D | seccomp.c | 247 unsigned long args[6]; in populate_seccomp_data() local 251 syscall_get_arguments(task, regs, args); in populate_seccomp_data() 252 sd->args[0] = args[0]; in populate_seccomp_data() 253 sd->args[1] = args[1]; in populate_seccomp_data() 254 sd->args[2] = args[2]; in populate_seccomp_data() 255 sd->args[3] = args[3]; in populate_seccomp_data() 256 sd->args[4] = args[4]; in populate_seccomp_data() 257 sd->args[5] = args[5]; in populate_seccomp_data()
|
D | crash_core.c | 365 va_list args; in vmcoreinfo_append_str() local 369 va_start(args, fmt); in vmcoreinfo_append_str() 370 r = vscnprintf(buf, sizeof(buf), fmt, args); in vmcoreinfo_append_str() 371 va_end(args); in vmcoreinfo_append_str()
|
D | audit.c | 1964 va_list args) in audit_log_vformat() argument 1981 va_copy(args2, args); in audit_log_vformat() 1982 len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args); in audit_log_vformat() 2011 va_list args; in audit_log_format() local 2015 va_start(args, fmt); in audit_log_format() 2016 audit_log_vformat(ab, fmt, args); in audit_log_format() 2017 va_end(args); in audit_log_format() 2469 va_list args; in audit_log() local 2473 va_start(args, fmt); in audit_log() 2474 audit_log_vformat(ab, fmt, args); in audit_log() [all …]
|
/kernel/power/ |
D | wakeup_reason.c | 217 va_list args) in __log_abort_or_abnormal_wake() argument 234 vsnprintf(non_irq_wake_reason, MAX_SUSPEND_ABORT_LEN, fmt, args); in __log_abort_or_abnormal_wake() 241 va_list args; in log_suspend_abort_reason() local 243 va_start(args, fmt); in log_suspend_abort_reason() 244 __log_abort_or_abnormal_wake(true, fmt, args); in log_suspend_abort_reason() 245 va_end(args); in log_suspend_abort_reason() 251 va_list args; in log_abnormal_wakeup_reason() local 253 va_start(args, fmt); in log_abnormal_wakeup_reason() 254 __log_abort_or_abnormal_wake(false, fmt, args); in log_abnormal_wakeup_reason() 255 va_end(args); in log_abnormal_wakeup_reason()
|
/kernel/livepatch/ |
D | core.c | 131 struct klp_find_arg *args = data; in klp_find_callback() local 133 if ((mod && !args->objname) || (!mod && args->objname)) in klp_find_callback() 136 if (strcmp(args->name, name)) in klp_find_callback() 139 if (args->objname && strcmp(args->objname, mod->name)) in klp_find_callback() 142 args->addr = addr; in klp_find_callback() 143 args->count++; in klp_find_callback() 149 if ((args->pos && (args->count == args->pos)) || in klp_find_callback() 150 (!args->pos && (args->count > 1))) in klp_find_callback() 159 struct klp_find_arg args = { in klp_find_object_symbol() local 168 module_kallsyms_on_each_symbol(klp_find_callback, &args); in klp_find_object_symbol() [all …]
|
/kernel/trace/ |
D | trace_syscalls.c | 161 trace_seq_printf(s, "%s: %lx%s", entry->args[i], in print_syscall_enter() 162 trace->args[i], in print_syscall_enter() 223 entry->args[i], sizeof(unsigned long), in __set_enter_print_fmt() 230 ", ((unsigned long)(REC->%s))", entry->args[i]); in __set_enter_print_fmt() 276 int offset = offsetof(typeof(trace), args); in syscall_enter_define_fields() 282 meta->args[i], offset, in syscall_enter_define_fields() 300 unsigned long args[6]; in ftrace_syscall_enter() local 328 syscall_get_arguments(current, regs, args); in ftrace_syscall_enter() 329 memcpy(entry->args, args, sizeof(unsigned long) * sys_data->nb_args); in ftrace_syscall_enter() 562 unsigned long args[SYSCALL_DEFINE_MAXARGS]; in perf_call_bpf_enter() member [all …]
|
D | trace_export.c | 61 #define F_STRUCT(args...) args argument 64 #define F_printk(fmt, args...) fmt, args argument 158 #define F_printk(fmt, args...) __stringify(fmt) ", " __stringify(args) argument
|
D | trace_kprobe.c | 265 tk = kzalloc(struct_size(tk, tp.args, nargs), GFP_KERNEL); in alloc_trace_kprobe() 497 ret = traceprobe_update_arg(&tk->tp.args[i]); in __register_trace_kprobe() 578 if (strcmp(orig->tp.args[i].comm, in trace_kprobe_has_same_kprobe() 579 comp->tp.args[i].comm)) in trace_kprobe_has_same_kprobe() 719 struct count_symbols_struct *args = data; in count_symbols() local 721 if (strcmp(args->func_name, name)) in count_symbols() 724 args->count++; in count_symbols() 731 struct count_symbols_struct args = { in number_of_same_symbols() local 736 kallsyms_on_each_symbol(count_symbols, &args); in number_of_same_symbols() 738 module_kallsyms_on_each_symbol(count_symbols, &args); in number_of_same_symbols() [all …]
|
D | trace_probe.c | 778 struct probe_arg *args, int narg) in traceprobe_conflict_field_name() argument 787 if (strcmp(args[i].name, name) == 0) in traceprobe_conflict_field_name() 796 struct probe_arg *parg = &tp->args[i]; in traceprobe_parse_probe_arg() 825 if (traceprobe_conflict_field_name(parg->name, tp->args, i)) { in traceprobe_parse_probe_arg() 915 parg = tp->args + i; in __set_print_fmt() 932 parg = tp->args + i; in __set_print_fmt() 982 struct probe_arg *parg = &tp->args[i]; in traceprobe_define_arg_fields() 1035 traceprobe_free_probe_arg(&tp->args[i]); in trace_probe_cleanup() 1189 ((a->args[i].type != b->args[i].type) || in trace_probe_compare_arg_type() 1190 (a->args[i].count != b->args[i].count) || in trace_probe_compare_arg_type() [all …]
|
D | trace_probe_tmpl.h | 221 arg = tp->args + i; in __get_data_size() 244 arg = tp->args + i; in store_trace_args() 258 print_probe_args(struct trace_seq *s, struct probe_arg *args, int nr_args, in print_probe_args() argument 265 struct probe_arg *a = args + i; in print_probe_args()
|
D | trace_eprobe.c | 75 seq_printf(m, " %s=%s", ep->tp.args[i].name, ep->tp.args[i].comm); in eprobe_dyn_event_show() 201 ep = kzalloc(struct_size(ep, tp.args, nargs), GFP_KERNEL); in alloc_event_probe() 227 struct probe_arg *parg = &ep->tp.args[i]; in trace_eprobe_tp_arg_update() 307 if (print_probe_args(s, tp->args, tp->nr_args, in print_eprobe_event() 378 arg = tp->args + i; in get_eprobe_size() 891 if (ep->tp.args[i].code->op == FETCH_OP_TP_ARG) in trace_eprobe_tp_update_arg() 896 ret = traceprobe_update_arg(&ep->tp.args[i]); in trace_eprobe_tp_update_arg()
|
D | trace_events_synth.c | 1165 va_list args; in __synth_event_gen_cmd_start() local 1180 va_start(args, mod); in __synth_event_gen_cmd_start() 1184 type = va_arg(args, const char *); in __synth_event_gen_cmd_start() 1187 name = va_arg(args, const char *); in __synth_event_gen_cmd_start() 1200 va_end(args); in __synth_event_gen_cmd_start() 1713 va_list args; in synth_event_trace() local 1724 va_start(args, n_vals); in synth_event_trace() 1727 u64 val = va_arg(args, u64); in synth_event_trace() 1737 va_end(args); in synth_event_trace() 1751 va_start(args, n_vals); in synth_event_trace() [all …]
|
/kernel/printk/ |
D | printk_safe.c | 29 asmlinkage int vprintk(const char *fmt, va_list args) in vprintk() argument 34 return vkdb_printf(KDB_MSGSRC_PRINTK, fmt, args); in vprintk() 42 return vprintk_deferred(fmt, args); in vprintk() 45 return vprintk_default(fmt, args); in vprintk()
|
D | internal.h | 18 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);
|
D | printk.c | 654 va_list args; in devkmsg_emit() local 657 va_start(args, fmt); in devkmsg_emit() 658 r = vprintk_emit(facility, level, NULL, fmt, args); in devkmsg_emit() 659 va_end(args); in devkmsg_emit() 2113 va_list args) in printk_sprint() argument 2117 text_len = vscnprintf(text, size, fmt, args); in printk_sprint() 2142 const char *fmt, va_list args) in vprintk_store() argument 2175 va_copy(args2, args); in vprintk_store() 2196 facility, &flags, fmt, args); in vprintk_store() 2228 text_len = printk_sprint(&r.text_buf[0], reserve_size, facility, &flags, fmt, args); in vprintk_store() [all …]
|
/kernel/bpf/ |
D | offload.c | 267 struct ns_get_path_bpf_prog_args *args = private_data; in bpf_prog_offload_info_fill_ns() local 268 struct bpf_prog_aux *aux = args->prog->aux; in bpf_prog_offload_info_fill_ns() 276 args->info->ifindex = aux->offload->netdev->ifindex; in bpf_prog_offload_info_fill_ns() 281 args->info->ifindex = 0; in bpf_prog_offload_info_fill_ns() 294 struct ns_get_path_bpf_prog_args args = { in bpf_prog_offload_info_fill() local 305 res = ns_get_path_cb(&ns_path, bpf_prog_offload_info_fill_ns, &args); in bpf_prog_offload_info_fill() 495 struct ns_get_path_bpf_map_args *args = private_data; in bpf_map_offload_info_fill_ns() local 502 if (args->offmap->netdev) { in bpf_map_offload_info_fill_ns() 503 args->info->ifindex = args->offmap->netdev->ifindex; in bpf_map_offload_info_fill_ns() 504 net = dev_net(args->offmap->netdev); in bpf_map_offload_info_fill_ns() [all …]
|
D | btf.c | 353 void (*showfn)(struct btf_show *show, const char *fmt, va_list args); 997 va_list args; in btf_show() local 1000 va_start(args, fmt); in btf_show() 1001 show->showfn(show, fmt, args); in btf_show() 1002 va_end(args); in btf_show() 1265 va_list args; in __btf_verifier_log() local 1267 va_start(args, fmt); in __btf_verifier_log() 1268 bpf_verifier_vlog(log, fmt, args); in __btf_verifier_log() 1269 va_end(args); in __btf_verifier_log() 1276 va_list args; in btf_verifier_log() local [all …]
|
/kernel/entry/ |
D | common.c | 37 unsigned long args[6]; in syscall_enter_audit() local 39 syscall_get_arguments(current, regs, args); in syscall_enter_audit() 40 audit_syscall_entry(syscall, args[0], args[1], args[2], args[3]); in syscall_enter_audit()
|
/kernel/debug/kdb/ |
D | kdb_private.h | 239 #define kdb_func_printf(format, args...) \ argument 240 kdb_printf("%s: " format, __func__, ## args) 242 #define kdb_dbg_printf(mask, format, args...) \ argument 245 kdb_func_printf(format, ## args); \
|
/kernel/time/ |
D | timer_list.c | 33 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()
|