Searched refs:read_ctx (Results 1 – 9 of 9) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_core_reloc_module.c | 41 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 D | test_module_attach.c | 14 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 D | bio.c | 84 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 D | buffered-io.c | 678 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/fs/erofs/ |
| H A D | data.c | 396 struct iomap_read_folio_ctx read_ctx = { in erofs_read_folio() local 406 iomap_read_folio(&erofs_iomap_ops, &read_ctx, &iter_ctx); in erofs_read_folio() 414 struct iomap_read_folio_ctx read_ctx = { in erofs_readahead() local 425 iomap_readahead(&erofs_iomap_ops, &read_ctx, &iter_ctx); in erofs_readahead()
|
| /linux/fs/xfs/ |
| H A D | xfs_aops.c | 588 struct bio *bio = ctx->read_ctx; in xfs_bio_submit_read()
|
| /linux/include/linux/ |
| H A D | iomap.h | 584 void *read_ctx; member
|
| /linux/Documentation/filesystems/iomap/ |
| H A D | operations.rst | 215 void *read_ctx; 224 ``ops->submit_read()`` and ``read_ctx`` are optional. ``read_ctx`` is used to
|
| /linux/fs/fuse/ |
| H A D | file.c | 965 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()
|