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 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/fs/iomap/ |
| H A D | bio.c | 23 struct bio *bio = ctx->read_ctx; in iomap_bio_submit_read() 38 struct bio *bio = ctx->read_ctx; in iomap_bio_read_folio_range() 66 ctx->read_ctx = bio; in iomap_bio_read_folio_range()
|
| /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/erofs/ |
| H A D | data.c | 383 struct iomap_read_folio_ctx read_ctx = { in erofs_read_folio() local 393 iomap_read_folio(&erofs_iomap_ops, &read_ctx, &iter_ctx); in erofs_read_folio() 401 struct iomap_read_folio_ctx read_ctx = { in erofs_readahead() local 412 iomap_readahead(&erofs_iomap_ops, &read_ctx, &iter_ctx); in erofs_readahead()
|
| /linux/include/linux/ |
| H A D | iomap.h | 495 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 | 928 struct fuse_fill_read_data *data = ctx->read_ctx; in fuse_iomap_read_folio_range_async() 952 struct fuse_fill_read_data *data = ctx->read_ctx; in fuse_iomap_read_submit() 973 .read_ctx = &data, in fuse_read_folio() 1078 .read_ctx = &data in fuse_readahead()
|