Home
last modified time | relevance | path

Searched refs:map_data (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
A Dmmap.c6 struct map_data { struct
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()
158 map_data = map_mmaped; in test_mmap()
[all …]
/linux/block/
A Dblk-map.c138 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()
172 if (map_data) { in bio_copy_user_iov()
191 if (!map_data) in bio_copy_user_iov()
200 if (map_data) in bio_copy_user_iov()
207 (!map_data || !map_data->null_mapped)) || in bio_copy_user_iov()
208 (map_data && map_data->from_user)) { in bio_copy_user_iov()
225 if (!map_data) in bio_copy_user_iov()
[all …]
/linux/arch/arm64/kvm/hyp/
A Dpgtable.c443 struct hyp_map_data map_data = { in kvm_pgtable_hyp_map() local
450 .arg = &map_data, in kvm_pgtable_hyp_map()
453 ret = hyp_set_prot_attr(prot, &map_data.attr); in kvm_pgtable_hyp_map()
836 struct stage2_map_data map_data = { in kvm_pgtable_stage2_map() local
848 .arg = &map_data, in kvm_pgtable_stage2_map()
854 ret = stage2_set_prot_attr(pgt, prot, &map_data.attr); in kvm_pgtable_stage2_map()
867 struct stage2_map_data map_data = { in kvm_pgtable_stage2_set_owner() local
880 .arg = &map_data, in kvm_pgtable_stage2_set_owner()
/linux/drivers/gpu/drm/gud/
A Dgud_pipe.c156 struct dma_buf_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/drivers/scsi/
A Dst.h51 struct rq_map_data map_data; member
A Dst.c542 struct rq_map_data *mdata = &SRpnt->stp->buffer->map_data; in st_scsi_execute()
596 struct rq_map_data *mdata = &STp->buffer->map_data; in st_do_scsi()
3976 STbuffer->map_data.offset = 0; in normalize_buffer()
4869 struct rq_map_data *mdata = &STbp->map_data; in sgl_map_user_pages()
A Dsg.c1702 struct rq_map_data *md, map_data; in sg_start_req() local
1752 md = &map_data; in sg_start_req()

Completed in 26 milliseconds