Searched refs:bpf_core_read (Results 1 – 17 of 17) sorted by relevance
/linux-6.12.1/samples/bpf/ |
D | tracex5.bpf.c | 50 bpf_core_read(&sd, sizeof(sd), (void *)PT_REGS_PARM2(ctx)); in PROG() 63 bpf_core_read(&sd, sizeof(sd), (void *)PT_REGS_PARM2(ctx)); in PROG()
|
D | tracex1.bpf.c | 31 bpf_core_read(&skb, sizeof(skb), (void *)PT_REGS_PARM1(ctx)); in bpf_prog1()
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | test_core_reloc_mods.c | 46 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src) 51 bpf_core_read((char *)(dst) + sizeof(*(dst)) - __sz, __sz, \
|
D | test_core_autosize.c | 129 #define bpf_core_read_int bpf_core_read 134 bpf_core_read((char *)(dst) + __off, sz, src); \
|
D | test_core_reloc_ptr_as_arr.c | 20 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src)
|
D | test_core_reloc_nesting.c | 34 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src)
|
D | test_core_reloc_misc.c | 36 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src)
|
D | test_core_reloc_primitives.c | 29 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src)
|
D | test_core_reloc_flavors.c | 43 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src)
|
D | test_core_reloc_arrays.c | 37 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src)
|
D | test_core_reloc_ints.c | 27 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src)
|
D | test_core_reloc_kernel.c | 43 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src)
|
/linux-6.12.1/tools/lib/bpf/ |
D | bpf_core_read.h | 311 #define bpf_core_read(dst, sz, src) \ macro 428 ___core_read(bpf_core_read, bpf_core_read, \ 464 ___core_read(bpf_core_read_str, bpf_core_read, \
|
D | Makefile | 248 bpf_helpers.h bpf_tracing.h bpf_endian.h bpf_core_read.h \
|
/linux-6.12.1/Documentation/bpf/libbpf/ |
D | libbpf_overview.rst | 173 CO-RE relocatable manner is ``bpf_core_read(dst, sz, src)``, which will read 185 err = bpf_core_read(&parent_task, sizeof(void *), &task->parent); 193 ``bpf_get_current_task()``. We then use ``bpf_core_read()`` to read the parent 194 field of task struct into the ``parent_task`` variable. ``bpf_core_read()`` is
|
/linux-6.12.1/tools/perf/util/bpf_skel/ |
D | lock_contention.bpf.c | 226 err = bpf_core_read(&pid, sizeof(pid), &task->pid); in update_task_data()
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | Makefile | 542 $(addprefix $(BPFDIR)/, bpf_core_read.h \
|