Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 21 of 21) sorted by relevance

/samples/bpf/
Dtracex5_kern.c38 char fmt[] = "syscall=%d (one of get/set uid/pid/gid)\n"; in bpf_prog1() local
39 bpf_trace_printk(fmt, sizeof(fmt), sc_nr); in bpf_prog1()
51 char fmt[] = "write(fd=%d, buf=%p, size=%d)\n"; in PROG() local
52 bpf_trace_printk(fmt, sizeof(fmt), in PROG()
64 char fmt[] = "read(fd=%d, buf=%p, size=%d)\n"; in PROG() local
65 bpf_trace_printk(fmt, sizeof(fmt), in PROG()
74 char fmt[] = "mmap2\n"; in PROG() local
76 bpf_trace_printk(fmt, sizeof(fmt)); in PROG()
84 char fmt[] = "mmap\n"; in PROG() local
86 bpf_trace_printk(fmt, sizeof(fmt)); in PROG()
Dsock_flags_kern.c11 char fmt[] = "socket: family %d type %d protocol %d\n"; in bpf_prog1() local
17 bpf_trace_printk(fmt, sizeof(fmt), sk->family, sk->type, sk->protocol); in bpf_prog1()
34 char fmt[] = "socket: family %d type %d protocol %d\n"; in bpf_prog2() local
36 bpf_trace_printk(fmt, sizeof(fmt), sk->family, sk->type, sk->protocol); in bpf_prog2()
Dtracex1_kern.c39 char fmt[] = "skb %p len %d\n"; in bpf_prog1() local
41 bpf_trace_printk(fmt, sizeof(fmt), skb, len); in bpf_prog1()
Dtrace_event_kern.c43 char fmt[] = "CPU-%d period %lld ip %llx"; in bpf_prog1() local
57 bpf_trace_printk(fmt, sizeof(fmt), cpu, ctx->sample_period, in bpf_prog1()
Dlwt_len_hist_kern.c19 # define printk(fmt, ...) \ argument
21 char ____fmt[] = fmt; \
Dparse_varlen.c42 char fmt[] = "udp port 9 indeed\n"; in udp() local
44 bpf_trace_printk(fmt, sizeof(fmt)); in udp()
Dmap_perf_test_kern.c158 char fmt[] = "Failed at stress_lru_hmap_alloc. ret:%dn"; in stress_lru_hmap_alloc() local
229 bpf_trace_printk(fmt, sizeof(fmt), ret); in stress_lru_hmap_alloc()
Dtest_lwt_bpf.c26 # define printk(fmt, ...) \ argument
28 char ____fmt[] = fmt; \
Dibumad_kern.c36 #define bpf_printk(fmt, ...) argument
Dhbm_kern.h36 #define bpf_printk(fmt, ...) argument
Dxdpsock_user.c147 char *fmt = "%-15s %'-11.0f %'-11lu\n"; in dump_stats() local
161 printf(fmt, "rx", rx_pps, xsks[i]->rx_npkts); in dump_stats()
162 printf(fmt, "tx", tx_pps, xsks[i]->tx_npkts); in dump_stats()
Dxdp_redirect_cpu_user.c352 char *fmt = "%-15s %3d:%-3d %'-14.0f %'-11.0f %'-10.2f %s\n"; in stats_print() local
371 printf(fmt, "cpumap-enqueue", in stats_print()
/samples/livepatch/
Dlivepatch-callbacks-mod.c23 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dlivepatch-sample.c8 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dlivepatch-callbacks-busymod.c23 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dlivepatch-shadow-fix2.c25 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dlivepatch-shadow-fix1.c25 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dlivepatch-callbacks-demo.c81 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
/samples/connector/
Dcn_test.c9 #define pr_fmt(fmt) "cn_test: " fmt argument
/samples/mei/
Dmei-amt-version.c83 #define mei_msg(_me, fmt, ARGS...) do { \ argument
85 fprintf(stderr, fmt, ##ARGS); \
88 #define mei_err(_me, fmt, ARGS...) do { \ argument
89 fprintf(stderr, "Error: " fmt, ##ARGS); \
/samples/v4l/
Dv4l2-pci-skeleton.c355 struct v4l2_pix_format *pix = &f->fmt.pix; in skeleton_try_fmt_vid_cap()
387 skel->format = f->fmt.pix; in skeleton_s_fmt_vid_cap()
396 f->fmt.pix = skel->format; in skeleton_g_fmt_vid_cap()