Home
last modified time | relevance | path

Searched refs:ap (Results 1 – 8 of 8) sorted by relevance

/kernel/
Dkprobes.c356 static inline void copy_kprobe(struct kprobe *ap, struct kprobe *p) in copy_kprobe() argument
358 memcpy(&p->opcode, &ap->opcode, sizeof(kprobe_opcode_t)); in copy_kprobe()
359 memcpy(&p->ainsn, &ap->ainsn, sizeof(struct arch_specific_insn)); in copy_kprobe()
696 static int reuse_unused_kprobe(struct kprobe *ap) in reuse_unused_kprobe() argument
704 op = container_of(ap, struct optimized_kprobe, kp); in reuse_unused_kprobe()
707 ap->flags &= ~KPROBE_FLAG_DISABLED; in reuse_unused_kprobe()
709 if (!kprobe_optready(ap)) in reuse_unused_kprobe()
712 optimize_kprobe(ap); in reuse_unused_kprobe()
774 static void init_aggr_kprobe(struct kprobe *ap, struct kprobe *p);
782 struct kprobe *ap; in try_to_optimize_kprobe() local
[all …]
/kernel/trace/
Dtrace_printk.c203 va_list ap; in __trace_bprintk() local
211 va_start(ap, fmt); in __trace_bprintk()
212 ret = trace_vbprintk(ip, fmt, ap); in __trace_bprintk()
213 va_end(ap); in __trace_bprintk()
218 int __ftrace_vbprintk(unsigned long ip, const char *fmt, va_list ap) in __ftrace_vbprintk() argument
226 return trace_vbprintk(ip, fmt, ap); in __ftrace_vbprintk()
233 va_list ap; in __trace_printk() local
238 va_start(ap, fmt); in __trace_printk()
239 ret = trace_vprintk(ip, fmt, ap); in __trace_printk()
240 va_end(ap); in __trace_printk()
[all …]
Dtrace_seq.c87 va_list ap; in trace_seq_printf() local
94 va_start(ap, fmt); in trace_seq_printf()
95 seq_buf_vprintf(&s->seq, fmt, ap); in trace_seq_printf()
96 va_end(ap); in trace_seq_printf()
Dtrace_output.c301 char *fmt, va_list ap) in trace_output_raw() argument
306 trace_seq_vprintf(s, fmt, ap); in trace_output_raw()
313 va_list ap; in trace_output_call() local
316 va_start(ap, fmt); in trace_output_call()
317 ret = trace_output_raw(iter, name, fmt, ap); in trace_output_call()
318 va_end(ap); in trace_output_call()
Dtrace.c3229 va_list ap; in trace_array_printk() local
3234 va_start(ap, fmt); in trace_array_printk()
3235 ret = trace_array_vprintk(tr, ip, fmt, ap); in trace_array_printk()
3236 va_end(ap); in trace_array_printk()
3246 va_list ap; in trace_array_printk_buf() local
3251 va_start(ap, fmt); in trace_array_printk_buf()
3252 ret = __trace_array_vprintk(buffer, ip, fmt, ap); in trace_array_printk_buf()
3253 va_end(ap); in trace_array_printk_buf()
/kernel/printk/
Dprintk_safe.c73 va_list ap; in printk_safe_log_store() local
92 va_copy(ap, args); in printk_safe_log_store()
93 add = vscnprintf(s->buffer + len, sizeof(s->buffer) - len, fmt, ap); in printk_safe_log_store()
94 va_end(ap); in printk_safe_log_store()
Dprintk.c2102 va_list ap; in early_printk() local
2109 va_start(ap, fmt); in early_printk()
2110 n = vscnprintf(buf, sizeof(buf), fmt, ap); in early_printk()
2111 va_end(ap); in early_printk()
/kernel/debug/kdb/
Dkdb_io.c555 int vkdb_printf(enum kdb_msgsrc src, const char *fmt, va_list ap) in vkdb_printf() argument
600 vsnprintf(next_avail, size_avail, fmt, ap); in vkdb_printf()
857 va_list ap; in kdb_printf() local
860 va_start(ap, fmt); in kdb_printf()
861 r = vkdb_printf(KDB_MSGSRC_INTERNAL, fmt, ap); in kdb_printf()
862 va_end(ap); in kdb_printf()