/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_core_reloc_mods.c | 46 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src) macro 48 #define CORE_READ(dst, src) ({ \ macro 62 if (CORE_READ(&out->a, &in->a) || in test_core_mods() 63 CORE_READ(&out->b, &in->b) || in test_core_mods() 64 CORE_READ(&out->c, &in->c) || in test_core_mods() 65 CORE_READ(&out->d, &in->d) || in test_core_mods() 66 CORE_READ(&out->e, &in->e[2]) || in test_core_mods() 67 CORE_READ(&out->f, &in->f[1]) || in test_core_mods() 68 CORE_READ(&out->g, &in->g.x) || in test_core_mods() 69 CORE_READ(&out->h, &in->h.y)) in test_core_mods()
|
D | test_core_reloc_ints.c | 27 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src) macro 35 if (CORE_READ(&out->u8_field, &in->u8_field) || in test_core_ints() 36 CORE_READ(&out->s8_field, &in->s8_field) || in test_core_ints() 37 CORE_READ(&out->u16_field, &in->u16_field) || in test_core_ints() 38 CORE_READ(&out->s16_field, &in->s16_field) || in test_core_ints() 39 CORE_READ(&out->u32_field, &in->u32_field) || in test_core_ints() 40 CORE_READ(&out->s32_field, &in->s32_field) || in test_core_ints() 41 CORE_READ(&out->u64_field, &in->u64_field) || in test_core_ints() 42 CORE_READ(&out->s64_field, &in->s64_field)) in test_core_ints()
|
D | test_core_reloc_primitives.c | 29 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src) macro 37 if (CORE_READ(&out->a, &in->a) || in test_core_primitives() 38 CORE_READ(&out->b, &in->b) || in test_core_primitives() 39 CORE_READ(&out->c, &in->c) || in test_core_primitives() 40 CORE_READ(&out->d, &in->d) || in test_core_primitives() 41 CORE_READ(&out->f, &in->f)) in test_core_primitives()
|
D | test_core_reloc_arrays.c | 37 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src) macro 45 if (CORE_READ(&out->a2, &in->a[2])) in test_core_arrays() 47 if (CORE_READ(&out->b123, &in->b[1][2][3])) in test_core_arrays() 49 if (CORE_READ(&out->c1c, &in->c[1].c)) in test_core_arrays() 51 if (CORE_READ(&out->d00d, &in->d[0][0].d)) in test_core_arrays() 53 if (CORE_READ(&out->f01c, &in->f[0][1].c)) in test_core_arrays()
|
D | test_core_reloc_flavors.c | 43 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src) macro 54 if (CORE_READ(&out->a, &in_weird->a)) in test_core_flavors() 57 if (CORE_READ(&out->b, &in_rev->b)) in test_core_flavors() 60 if (CORE_READ(&out->c, &in_orig->c)) in test_core_flavors()
|
D | test_core_reloc_misc.c | 36 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src) macro 47 if (CORE_READ(&out->a, &in_a->a1) || /* accessor: 0:0 */ in test_core_misc() 48 CORE_READ(&out->b, &in_b->b1)) /* accessor: 0:0 */ in test_core_misc() 55 if (CORE_READ(&out->c, &in_ext[2])) /* accessor: 2 */ in test_core_misc()
|
D | test_core_reloc_nesting.c | 34 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src) macro 42 if (CORE_READ(&out->a.a.a, &in->a.a.a)) in test_core_nesting() 44 if (CORE_READ(&out->b.b.b, &in->b.b.b)) in test_core_nesting()
|
D | test_core_reloc_ptr_as_arr.c | 20 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src) macro 28 if (CORE_READ(&out->a, &in[2].a)) in test_core_ptr_as_arr()
|
D | test_core_reloc_kernel.c | 43 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src) macro 62 if (CORE_READ(&pid, &task->pid) || in test_core_kernel() 63 CORE_READ(&tgid, &task->tgid)) in test_core_kernel()
|