Lines Matching refs:u
127 } u; member
183 } u; member
408 dst->u.rw.nr_segments = src->u.rw.nr_segments; in blkif_get_x86_32_req()
409 dst->u.rw.handle = src->u.rw.handle; in blkif_get_x86_32_req()
410 dst->u.rw.id = src->u.rw.id; in blkif_get_x86_32_req()
411 dst->u.rw.sector_number = src->u.rw.sector_number; 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()
416 dst->u.rw.seg[i] = src->u.rw.seg[i]; in blkif_get_x86_32_req()
419 dst->u.discard.flag = src->u.discard.flag; in blkif_get_x86_32_req()
420 dst->u.discard.id = src->u.discard.id; in blkif_get_x86_32_req()
421 dst->u.discard.sector_number = src->u.discard.sector_number; in blkif_get_x86_32_req()
422 dst->u.discard.nr_sectors = src->u.discard.nr_sectors; in blkif_get_x86_32_req()
425 dst->u.indirect.indirect_op = src->u.indirect.indirect_op; in blkif_get_x86_32_req()
426 dst->u.indirect.nr_segments = src->u.indirect.nr_segments; in blkif_get_x86_32_req()
427 dst->u.indirect.handle = src->u.indirect.handle; in blkif_get_x86_32_req()
428 dst->u.indirect.id = src->u.indirect.id; in blkif_get_x86_32_req()
429 dst->u.indirect.sector_number = src->u.indirect.sector_number; 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()
433 dst->u.indirect.indirect_grefs[i] = in blkif_get_x86_32_req()
434 src->u.indirect.indirect_grefs[i]; in blkif_get_x86_32_req()
441 dst->u.other.id = src->u.other.id; in blkif_get_x86_32_req()
456 dst->u.rw.nr_segments = src->u.rw.nr_segments; in blkif_get_x86_64_req()
457 dst->u.rw.handle = src->u.rw.handle; in blkif_get_x86_64_req()
458 dst->u.rw.id = src->u.rw.id; in blkif_get_x86_64_req()
459 dst->u.rw.sector_number = src->u.rw.sector_number; 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()
464 dst->u.rw.seg[i] = src->u.rw.seg[i]; in blkif_get_x86_64_req()
467 dst->u.discard.flag = src->u.discard.flag; in blkif_get_x86_64_req()
468 dst->u.discard.id = src->u.discard.id; in blkif_get_x86_64_req()
469 dst->u.discard.sector_number = src->u.discard.sector_number; in blkif_get_x86_64_req()
470 dst->u.discard.nr_sectors = src->u.discard.nr_sectors; in blkif_get_x86_64_req()
473 dst->u.indirect.indirect_op = src->u.indirect.indirect_op; in blkif_get_x86_64_req()
474 dst->u.indirect.nr_segments = src->u.indirect.nr_segments; in blkif_get_x86_64_req()
475 dst->u.indirect.handle = src->u.indirect.handle; in blkif_get_x86_64_req()
476 dst->u.indirect.id = src->u.indirect.id; in blkif_get_x86_64_req()
477 dst->u.indirect.sector_number = src->u.indirect.sector_number; 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()
481 dst->u.indirect.indirect_grefs[i] = in blkif_get_x86_64_req()
482 src->u.indirect.indirect_grefs[i]; in blkif_get_x86_64_req()
489 dst->u.other.id = src->u.other.id; in blkif_get_x86_64_req()