Searched refs:map_data (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/ |
D | mmap.c | 6 struct map_data { struct 19 const size_t map_sz = roundup_page(sizeof(struct map_data)); in test_mmap() argument 28 struct map_data *map_data; in test_mmap() local 90 map_data = map_mmaped; in test_mmap() 96 CHECK_FAIL(map_data->val[0]); in test_mmap() 97 CHECK_FAIL(map_data->val[1]); in test_mmap() 98 CHECK_FAIL(map_data->val[2]); in test_mmap() 99 CHECK_FAIL(map_data->val[far]); in test_mmap() 115 CHECK_FAIL(map_data->val[0] != 111); in test_mmap() 116 CHECK_FAIL(map_data->val[1] != 222); in test_mmap() [all …]
|
/linux-5.19.10/block/ |
D | blk-map.c | 129 static int bio_copy_user_iov(struct request *rq, struct rq_map_data *map_data, in bio_copy_user_iov() argument 138 unsigned int offset = map_data ? offset_in_page(map_data->offset) : 0; in bio_copy_user_iov() 149 bmd->is_our_pages = !map_data; in bio_copy_user_iov() 150 bmd->is_null_mapped = (map_data && map_data->null_mapped); in bio_copy_user_iov() 160 if (map_data) { in bio_copy_user_iov() 161 nr_pages = 1 << map_data->page_order; in bio_copy_user_iov() 162 i = map_data->offset / PAGE_SIZE; in bio_copy_user_iov() 172 if (map_data) { in bio_copy_user_iov() 173 if (i == map_data->nr_entries * nr_pages) { in bio_copy_user_iov() 178 page = map_data->pages[i / nr_pages]; in bio_copy_user_iov() [all …]
|
/linux-5.19.10/arch/arm64/kvm/hyp/ |
D | pgtable.c | 434 struct hyp_map_data map_data = { in kvm_pgtable_hyp_map() local 441 .arg = &map_data, in kvm_pgtable_hyp_map() 444 ret = hyp_set_prot_attr(prot, &map_data.attr); in kvm_pgtable_hyp_map() 898 struct stage2_map_data map_data = { in kvm_pgtable_stage2_map() local 910 .arg = &map_data, in kvm_pgtable_stage2_map() 916 ret = stage2_set_prot_attr(pgt, prot, &map_data.attr); in kvm_pgtable_stage2_map() 929 struct stage2_map_data map_data = { in kvm_pgtable_stage2_set_owner() local 942 .arg = &map_data, in kvm_pgtable_stage2_set_owner()
|
/linux-5.19.10/drivers/gpu/drm/gud/ |
D | gud_pipe.c | 156 struct iosys_map map_data[DRM_FORMAT_MAX_PLANES]; in gud_prep_flush() local 166 ret = drm_gem_fb_vmap(fb, map, map_data); in gud_prep_flush() 170 vaddr = map_data[0].vaddr; in gud_prep_flush()
|
/linux-5.19.10/drivers/scsi/ |
D | st.h | 51 struct rq_map_data map_data; member
|
D | st.c | 542 struct rq_map_data *mdata = &SRpnt->stp->buffer->map_data; in st_scsi_execute() 597 struct rq_map_data *mdata = &STp->buffer->map_data; in st_do_scsi() 3977 STbuffer->map_data.offset = 0; in normalize_buffer() 4869 struct rq_map_data *mdata = &STbp->map_data; in sgl_map_user_pages()
|
D | sg.c | 1727 struct rq_map_data *md, map_data; in sg_start_req() local 1772 md = &map_data; in sg_start_req()
|