Home
last modified time | relevance | path

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

/linux-6.1.9/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()
48 struct task_struct *task, struct bpf_testmod_test_read_ctx *read_ctx) in BPF_PROG() argument
50 tp_btf_read_sz = read_ctx->len; in BPF_PROG()
/linux-6.1.9/fs/cachefiles/
Dondemand.c459 struct cachefiles_read_ctx *read_ctx = private; in cachefiles_ondemand_init_read_req() local
470 load->off = read_ctx->off; in cachefiles_ondemand_init_read_req()
471 load->len = read_ctx->len; in cachefiles_ondemand_init_read_req()
509 struct cachefiles_read_ctx read_ctx = {pos, len}; in cachefiles_ondemand_read() local
513 cachefiles_ondemand_init_read_req, &read_ctx); in cachefiles_ondemand_read()