Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A 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 …]
H A Dtest_module_attach.c14 struct task_struct *task, struct bpf_testmod_test_read_ctx *read_ctx) in BPF_PROG() argument
16 sz = BPF_CORE_READ(read_ctx, len); in BPF_PROG()
44 struct task_struct *task, struct bpf_testmod_test_read_ctx *read_ctx)
46 sz = read_ctx->len;
48 BPF_PROG(handle_tp_btf,struct task_struct * task,struct bpf_testmod_test_read_ctx * read_ctx) BPF_PROG() argument
/linux/fs/iomap/
H A Dbio.c84 struct bio *bio = ctx->read_ctx; in iomap_bio_submit_read_endio()
91 ctx->read_ctx = NULL; in iomap_bio_submit_read_endio()
120 if (ctx->read_ctx) in iomap_read_alloc_bio()
142 ctx->read_ctx = bio; in iomap_read_alloc_bio()
150 struct bio *bio = ctx->read_ctx; in iomap_bio_read_folio_range()
H A Dbuffered-io.c678 if (ctx->read_ctx && ctx->ops->submit_read) in iomap_read_folio()
754 if (ctx->read_ctx && ctx->ops->submit_read) in iomap_readahead()
/linux/include/linux/
H A Diomap.h584 void *read_ctx; member
/linux/fs/xfs/
H A Dxfs_aops.c770 struct bio *bio = ctx->read_ctx; in xfs_bio_submit_read()
/linux/Documentation/filesystems/iomap/
H A Doperations.rst215 void *read_ctx;
224 ``ops->submit_read()`` and ``read_ctx`` are optional. ``read_ctx`` is used to
/linux/fs/fuse/
H A Dfile.c965 struct fuse_fill_read_data *data = ctx->read_ctx; in fuse_iomap_read_folio_range_async()
1000 .read_ctx = &data, in fuse_read_folio()
1104 .read_ctx = &data in fuse_readahead()