Searched refs:map_data (Results 1 – 1 of 1) sorted by relevance
129 static int bio_copy_user_iov(struct request *rq, struct rq_map_data *map_data, in bio_copy_user_iov() argument138 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 …]