Home
last modified time | relevance | path

Searched refs:read_ctx (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/tools/testing/selftests/bpf/progs/
Dtest_core_reloc_module.c41 struct bpf_testmod_test_read_ctx *read_ctx) in BPF_PROG() argument
55 out->len = BPF_CORE_READ(read_ctx, len); in BPF_PROG()
56 out->off = BPF_CORE_READ(read_ctx, off); in BPF_PROG()
60 out->buf_exists = bpf_core_field_exists(read_ctx->buf); in BPF_PROG()
61 out->off_exists = bpf_core_field_exists(read_ctx->off); in BPF_PROG()
62 out->len_exists = bpf_core_field_exists(read_ctx->len); in BPF_PROG()
75 struct bpf_testmod_test_read_ctx *read_ctx) in BPF_PROG() argument
89 out->len = read_ctx->len; in BPF_PROG()
90 out->off = read_ctx->off; in BPF_PROG()
94 out->buf_exists = bpf_core_field_exists(read_ctx->buf); in BPF_PROG()
[all …]
Dtest_module_attach.c14 struct task_struct *task, struct bpf_testmod_test_read_ctx *read_ctx) in BPF_PROG() argument
16 raw_tp_read_sz = BPF_CORE_READ(read_ctx, len); in BPF_PROG()
34 struct task_struct *task, struct bpf_testmod_test_read_ctx *read_ctx) in BPF_PROG() argument
36 tp_btf_read_sz = read_ctx->len; in BPF_PROG()