Searched refs:map_data (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/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-v6.6/block/ |
D | blk-map.c | 131 static int bio_copy_user_iov(struct request *rq, struct rq_map_data *map_data, in bio_copy_user_iov() argument 140 unsigned int offset = map_data ? offset_in_page(map_data->offset) : 0; in bio_copy_user_iov() 151 bmd->is_our_pages = !map_data; in bio_copy_user_iov() 152 bmd->is_null_mapped = (map_data && map_data->null_mapped); in bio_copy_user_iov() 162 if (map_data) { in bio_copy_user_iov() 163 nr_pages = 1U << map_data->page_order; in bio_copy_user_iov() 164 i = map_data->offset / PAGE_SIZE; in bio_copy_user_iov() 174 if (map_data) { in bio_copy_user_iov() 175 if (i == map_data->nr_entries * nr_pages) { in bio_copy_user_iov() 180 page = map_data->pages[i / nr_pages]; in bio_copy_user_iov() [all …]
|
/Linux-v6.6/arch/arm64/kvm/hyp/ |
D | pgtable.c | 488 struct hyp_map_data map_data = { in kvm_pgtable_hyp_map() local 494 .arg = &map_data, in kvm_pgtable_hyp_map() 497 ret = hyp_set_prot_attr(prot, &map_data.attr); in kvm_pgtable_hyp_map() 1039 struct stage2_map_data map_data = { in kvm_pgtable_stage2_map() local 1050 .arg = &map_data, in kvm_pgtable_stage2_map() 1056 ret = stage2_set_prot_attr(pgt, prot, &map_data.attr); in kvm_pgtable_stage2_map() 1069 struct stage2_map_data map_data = { in kvm_pgtable_stage2_set_owner() local 1080 .arg = &map_data, in kvm_pgtable_stage2_set_owner() 1356 struct stage2_map_data map_data = { in kvm_pgtable_stage2_create_unlinked() local 1367 .arg = &map_data, in kvm_pgtable_stage2_create_unlinked() [all …]
|
/Linux-v6.6/tools/testing/selftests/bpf/progs/ |
D | refcounted_kptr.c | 341 long err, tree_data, map_data; \ 357 map_data = err; \ 359 return tree_data + map_data; \
|
/Linux-v6.6/drivers/scsi/ |
D | st.h | 51 struct rq_map_data map_data; member
|
D | st.c | 546 struct rq_map_data *mdata = &SRpnt->stp->buffer->map_data; in st_scsi_execute() 601 struct rq_map_data *mdata = &STp->buffer->map_data; in st_do_scsi() 3981 STbuffer->map_data.offset = 0; in normalize_buffer() 4872 struct rq_map_data *mdata = &STbp->map_data; in sgl_map_user_pages()
|
D | sg.c | 1739 struct rq_map_data *md, map_data; in sg_start_req() local 1784 md = &map_data; in sg_start_req()
|