Searched refs:read_ctx (Results 1 - 3 of 3) sorted by relevance

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_core_reloc_module.c41 struct bpf_testmod_test_read_ctx *read_ctx)
55 out->len = BPF_CORE_READ(read_ctx, len);
56 out->off = BPF_CORE_READ(read_ctx, off);
60 out->buf_exists = bpf_core_field_exists(read_ctx->buf);
61 out->off_exists = bpf_core_field_exists(read_ctx->off);
62 out->len_exists = bpf_core_field_exists(read_ctx->len);
75 struct bpf_testmod_test_read_ctx *read_ctx)
89 out->len = read_ctx->len;
90 out->off = read_ctx->off;
94 out->buf_exists = bpf_core_field_exists(read_ctx
39 BPF_PROG(test_core_module_probed, struct task_struct *task, struct bpf_testmod_test_read_ctx *read_ctx) argument
73 BPF_PROG(test_core_module_direct, struct task_struct *task, struct bpf_testmod_test_read_ctx *read_ctx) argument
[all...]
H A Dtest_module_attach.c14 struct task_struct *task, struct bpf_testmod_test_read_ctx *read_ctx)
16 raw_tp_read_sz = BPF_CORE_READ(read_ctx, len);
48 struct task_struct *task, struct bpf_testmod_test_read_ctx *read_ctx)
50 tp_btf_read_sz = read_ctx->len;
13 BPF_PROG(handle_raw_tp, struct task_struct *task, struct bpf_testmod_test_read_ctx *read_ctx) argument
47 BPF_PROG(handle_tp_btf, struct task_struct *task, struct bpf_testmod_test_read_ctx *read_ctx) argument
/linux-master/fs/cachefiles/
H A Dondemand.c528 struct cachefiles_read_ctx *read_ctx = private; local
530 load->off = read_ctx->off;
531 load->len = read_ctx->len;
594 struct cachefiles_read_ctx read_ctx = {pos, len}; local
598 cachefiles_ondemand_init_read_req, &read_ctx);

Completed in 216 milliseconds