Lines Matching refs:nr_segments
81 uint8_t nr_segments; /* number of segments */ member
104 uint16_t nr_segments; member
133 uint8_t nr_segments; /* number of segments */ member
159 uint16_t nr_segments; member
408 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()
461 if (n > dst->u.rw.nr_segments) in blkif_get_x86_64_req()
462 n = dst->u.rw.nr_segments; in blkif_get_x86_64_req()
474 dst->u.indirect.nr_segments = src->u.indirect.nr_segments; in blkif_get_x86_64_req()
479 j = min(MAX_INDIRECT_PAGES, INDIRECT_PAGES(dst->u.indirect.nr_segments)); in blkif_get_x86_64_req()