/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | bpf_syscall_macro.c | 47 bpf_probe_read_kernel(&tmp, sizeof(tmp), &PT_REGS_PARM1_SYSCALL(real_regs)); in BPF_KPROBE() 50 bpf_probe_read_kernel(&arg2, sizeof(arg2), &PT_REGS_PARM2_SYSCALL(real_regs)); in BPF_KPROBE() 51 bpf_probe_read_kernel(&arg3, sizeof(arg3), &PT_REGS_PARM3_SYSCALL(real_regs)); in BPF_KPROBE() 52 bpf_probe_read_kernel(&arg4_cx, sizeof(arg4_cx), &PT_REGS_PARM4(real_regs)); in BPF_KPROBE() 53 bpf_probe_read_kernel(&arg4, sizeof(arg4), &PT_REGS_PARM4_SYSCALL(real_regs)); in BPF_KPROBE() 54 bpf_probe_read_kernel(&arg5, sizeof(arg5), &PT_REGS_PARM5_SYSCALL(real_regs)); in BPF_KPROBE()
|
D | loop6.c | 43 bpf_probe_read_kernel(&sg, sizeof(sg), sgp); in __sg_next() 49 bpf_probe_read_kernel(&sg, sizeof(sg), sgp); in __sg_next() 60 bpf_probe_read_kernel(&sgp, sizeof(sgp), sgs + i); in get_sgp() 81 bpf_probe_read_kernel(&len, sizeof(len), &sgp->length); in BPF_KPROBE() 90 bpf_probe_read_kernel(&len, sizeof(len), &sgp->length); in BPF_KPROBE()
|
D | trace_dummy_st_ops.c | 14 bpf_probe_read_kernel(&state, sizeof(__u64), (void *)st_ops_ctx); in BPF_PROG() 16 bpf_probe_read_kernel(&val, sizeof(__u32), (void *)state); in BPF_PROG()
|
D | test_task_pt_regs.c | 25 if (bpf_probe_read_kernel(current_regs, PT_REGS_SIZE, regs)) in handle_uprobe() 27 if (bpf_probe_read_kernel(ctx_regs, PT_REGS_SIZE, ctx)) in handle_uprobe()
|
D | bpf_iter_netlink.c | 41 bpf_probe_read_kernel(&group, sizeof(group), &nlk->groups[0]); in dump_netlink() 58 bpf_probe_read_kernel(&ino, sizeof(ino), &inode->i_ino); in dump_netlink()
|
D | test_module_attach.c | 95 bpf_probe_read_kernel(&buf, 8, ret); in BPF_PROG() 96 bpf_probe_read_kernel(&buf, 8, (char *)ret + 256); in BPF_PROG()
|
D | kfree_skb.c | 88 bpf_probe_read_kernel(&pkt_type, sizeof(pkt_type), _(&skb->__pkt_type_offset)); in BPF_PROG() 92 bpf_probe_read_kernel(&pkt_data, sizeof(pkt_data), data + 12); in BPF_PROG()
|
D | test_skb_helpers.c | 25 bpf_probe_read_kernel(&tpid , sizeof(tpid), &task->tgid); in test_skb_helpers()
|
D | test_skmsg_load_helpers.c | 40 bpf_probe_read_kernel(&tpid , sizeof(tpid), &task->tgid); in prog_msg_verdict()
|
D | bpf_iter_unix.c | 20 bpf_probe_read_kernel(&ino, sizeof(ino), &inode->i_ino); in sock_i_ino()
|
D | bpf_iter_udp4.c | 20 bpf_probe_read_kernel(&ino, sizeof(ino), &inode->i_ino); in sock_i_ino()
|
D | bpf_iter_udp6.c | 27 bpf_probe_read_kernel(&ino, sizeof(ino), &inode->i_ino); in sock_i_ino()
|
D | dynptr_success.c | 108 err = bpf_probe_read_kernel(&val, sizeof(val), data); in test_data_slice()
|
D | test_varlen.c | 157 if (bpf_probe_read_kernel(&bla, sizeof(bla), 0)) in handler_exit()
|
D | fexit_bpf2bpf.c | 72 bpf_probe_read_kernel(&len, sizeof(len), in test_subprog2()
|
D | lsm_cgroup.c | 113 bpf_probe_read_kernel(&sa, sizeof(sa), address); in real_bind()
|
D | test_tcp_estats.c | 41 #define _(P) ({typeof(P) val = 0; bpf_probe_read_kernel(&val, sizeof(val), &P); val;})
|
D | bpf_iter_tcp4.c | 59 bpf_probe_read_kernel(&ino, sizeof(ino), &inode->i_ino); in sock_i_ino()
|
/linux-6.1.9/samples/bpf/ |
D | tracex1_kern.c | 17 bpf_probe_read_kernel(&val, sizeof(val), &(P)); \ 38 bpf_probe_read_kernel(&skb, sizeof(skb), (void *)PT_REGS_PARM1(ctx)); in bpf_prog1() 42 bpf_probe_read_kernel(devname, sizeof(devname), dev->name); in bpf_prog1()
|
D | tracex5_kern.c | 50 bpf_probe_read_kernel(&sd, sizeof(sd), (void *)PT_REGS_PARM2(ctx)); in PROG() 63 bpf_probe_read_kernel(&sd, sizeof(sd), (void *)PT_REGS_PARM2(ctx)); in PROG()
|
D | test_overhead_kprobe_kern.c | 17 bpf_probe_read_kernel(&val, sizeof(val), &(P)); \
|
D | offwaketime_kern.c | 18 bpf_probe_read_kernel(&val, sizeof(val), &(P)); \
|
/linux-6.1.9/tools/lib/bpf/ |
D | usdt.bpf.h | 150 err = bpf_probe_read_kernel(&val, sizeof(val), (void *)ctx + arg_spec->reg_off); in bpf_usdt_arg() 162 err = bpf_probe_read_kernel(&val, sizeof(val), (void *)ctx + arg_spec->reg_off); in bpf_usdt_arg()
|
D | bpf_core_read.h | 46 bpf_probe_read_kernel( \ 56 bpf_probe_read_kernel( \ 246 bpf_probe_read_kernel(dst, sz, (const void *)__builtin_preserve_access_index(src))
|
/linux-6.1.9/kernel/bpf/preload/iterators/ |
D | iterators.bpf.c | 69 bpf_probe_read_kernel(&t, sizeof(t), types + btf_id); in get_name()
|