Searched refs:nr_segments (Results 1 – 5 of 5) sorted by relevance
81 uint8_t nr_segments; /* number of segments */ member104 uint16_t nr_segments; member133 uint8_t nr_segments; /* number of segments */ member159 uint16_t nr_segments; member408 dst->u.rw.nr_segments = src->u.rw.nr_segments; in blkif_get_x86_32_req()413 if (n > dst->u.rw.nr_segments) in blkif_get_x86_32_req()414 n = dst->u.rw.nr_segments; in blkif_get_x86_32_req()426 dst->u.indirect.nr_segments = src->u.indirect.nr_segments; in blkif_get_x86_32_req()431 j = min(MAX_INDIRECT_PAGES, INDIRECT_PAGES(dst->u.indirect.nr_segments)); in blkif_get_x86_32_req()456 dst->u.rw.nr_segments = src->u.rw.nr_segments; in blkif_get_x86_64_req()[all …]
1238 req->u.indirect.nr_segments : req->u.rw.nr_segments; in dispatch_rw_block_io()
438 unsigned int nr_segments = (unsigned int)ring_req->nr_segments; in scsiback_gnttab_data_map() local447 nr_segments &= ~VSCSIIF_SG_GRANT; in scsiback_gnttab_data_map()448 if (!nr_segments) in scsiback_gnttab_data_map()451 if (nr_segments > VSCSIIF_SG_TABLESIZE) { in scsiback_gnttab_data_map()453 ring_req->nr_segments); in scsiback_gnttab_data_map()457 if (ring_req->nr_segments & VSCSIIF_SG_GRANT) { in scsiback_gnttab_data_map()460 nr_segments, GNTMAP_host_map | GNTMAP_readonly); in scsiback_gnttab_data_map()463 nr_sgl = nr_segments; in scsiback_gnttab_data_map()464 nr_segments = 0; in scsiback_gnttab_data_map()473 nr_segments += n_segs; in scsiback_gnttab_data_map()[all …]
686 uint16_t nr_segments = first->u.rw.nr_segments; in blkif_setup_extra_req() local692 first->u.rw.nr_segments = BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_setup_extra_req()694 second->u.rw.nr_segments = nr_segments - BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_setup_extra_req()777 ring_req->u.indirect.nr_segments = num_grant; in blkif_queue_rw_req()801 ring_req->u.rw.nr_segments = num_grant; in blkif_queue_rw_req()1258 rinfo->shadow[i].req.u.indirect.nr_segments : in blkif_free_ring()1259 rinfo->shadow[i].req.u.rw.nr_segments; in blkif_free_ring()1409 s->req.u.indirect.nr_segments : s->req.u.rw.nr_segments; in blkif_completion()1429 num_grant += s2->req.u.rw.nr_segments; in blkif_completion()1634 rinfo->shadow[id].req.u.rw.nr_segments == 0)) { in blkif_interrupt()
82 uint8_t nr_segments; member203 ring_req->nr_segments = shadow->nr_segments; in scsifront_do_request()217 for (i = 0; i < (shadow->nr_segments & ~VSCSIIF_SG_GRANT); i++) in scsifront_do_request()504 shadow->nr_segments = VSCSIIF_SG_GRANT | seg_grants; in map_data_for_request()506 shadow->nr_segments = (uint8_t)ref_cnt; in map_data_for_request()