Searched refs:read_ctx (Results 1 – 8 of 8) 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() 110 if (ctx->read_ctx) in iomap_read_alloc_bio() 133 ctx->read_ctx = bio; in iomap_read_alloc_bio() 141 struct bio *bio = ctx->read_ctx; in iomap_bio_read_folio_range()
|
| H A D | buffered-io.c | 604 if (ctx->read_ctx && ctx->ops->submit_read) in iomap_read_folio() 671 if (ctx->read_ctx && ctx->ops->submit_read) in iomap_readahead()
|
| /linux/fs/cachefiles/ |
| H A D | ondemand.c | 664 struct cachefiles_read_ctx *read_ctx = private; in cachefiles_ondemand_init_read_req() local 666 load->off = read_ctx->off; in cachefiles_ondemand_init_read_req() 667 load->len = read_ctx->len; in cachefiles_ondemand_init_read_req() 756 struct cachefiles_read_ctx read_ctx = {pos, len}; in cachefiles_ondemand_read() local 760 cachefiles_ondemand_init_read_req, &read_ctx); in cachefiles_ondemand_read()
|
| /linux/fs/ntfs/ |
| H A D | aops.c | 43 struct bio *bio = ctx->read_ctx; in ntfs_iomap_bio_submit_read()
|
| /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 | 934 struct fuse_fill_read_data *data = ctx->read_ctx; in fuse_iomap_read_folio_range_async() 959 struct fuse_fill_read_data *data = ctx->read_ctx; in fuse_iomap_submit_read() 980 .read_ctx = &data, in fuse_read_folio() 1085 .read_ctx = &data in fuse_readahead()
|