Home
last modified time | relevance | path

Searched refs:bpf_probe_read_kernel (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dbpf_syscall_macro.c47 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()
Dloop6.c43 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()
Dtrace_dummy_st_ops.c14 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()
Dtest_task_pt_regs.c25 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()
Dbpf_iter_netlink.c41 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()
Dtest_module_attach.c95 bpf_probe_read_kernel(&buf, 8, ret); in BPF_PROG()
96 bpf_probe_read_kernel(&buf, 8, (char *)ret + 256); in BPF_PROG()
Dkfree_skb.c88 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()
Dtest_skb_helpers.c25 bpf_probe_read_kernel(&tpid , sizeof(tpid), &task->tgid); in test_skb_helpers()
Dtest_skmsg_load_helpers.c40 bpf_probe_read_kernel(&tpid , sizeof(tpid), &task->tgid); in prog_msg_verdict()
Dbpf_iter_unix.c20 bpf_probe_read_kernel(&ino, sizeof(ino), &inode->i_ino); in sock_i_ino()
Dbpf_iter_udp4.c20 bpf_probe_read_kernel(&ino, sizeof(ino), &inode->i_ino); in sock_i_ino()
Dbpf_iter_udp6.c27 bpf_probe_read_kernel(&ino, sizeof(ino), &inode->i_ino); in sock_i_ino()
Ddynptr_success.c108 err = bpf_probe_read_kernel(&val, sizeof(val), data); in test_data_slice()
Dtest_varlen.c157 if (bpf_probe_read_kernel(&bla, sizeof(bla), 0)) in handler_exit()
Dfexit_bpf2bpf.c72 bpf_probe_read_kernel(&len, sizeof(len), in test_subprog2()
Dlsm_cgroup.c113 bpf_probe_read_kernel(&sa, sizeof(sa), address); in real_bind()
Dtest_tcp_estats.c41 #define _(P) ({typeof(P) val = 0; bpf_probe_read_kernel(&val, sizeof(val), &P); val;})
Dbpf_iter_tcp4.c59 bpf_probe_read_kernel(&ino, sizeof(ino), &inode->i_ino); in sock_i_ino()
/linux-6.1.9/samples/bpf/
Dtracex1_kern.c17 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()
Dtracex5_kern.c50 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()
Dtest_overhead_kprobe_kern.c17 bpf_probe_read_kernel(&val, sizeof(val), &(P)); \
Doffwaketime_kern.c18 bpf_probe_read_kernel(&val, sizeof(val), &(P)); \
/linux-6.1.9/tools/lib/bpf/
Dusdt.bpf.h150 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()
Dbpf_core_read.h46 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/
Diterators.bpf.c69 bpf_probe_read_kernel(&t, sizeof(t), types + btf_id); in get_name()

12