Lines Matching refs:num_sg_in_iu
5351 unsigned int num_sg_in_iu; in pqi_build_sg_list() local
5355 num_sg_in_iu = 0; in pqi_build_sg_list()
5361 num_sg_in_iu++; in pqi_build_sg_list()
5369 put_unaligned_le32((sg_count - num_sg_in_iu) * sizeof(*sg_descriptor), in pqi_build_sg_list()
5373 num_sg_in_iu++; in pqi_build_sg_list()
5381 return num_sg_in_iu; in pqi_build_sg_list()
5391 unsigned int num_sg_in_iu; in pqi_build_raid_sg_list() local
5408 num_sg_in_iu = pqi_build_sg_list(sg_descriptor, sg, sg_count, io_request, in pqi_build_raid_sg_list()
5412 iu_length += num_sg_in_iu * sizeof(*sg_descriptor); in pqi_build_raid_sg_list()
5427 unsigned int num_sg_in_iu; in pqi_build_aio_r1_sg_list() local
5437 num_sg_in_iu = 0; in pqi_build_aio_r1_sg_list()
5445 num_sg_in_iu = pqi_build_sg_list(sg_descriptor, sg, sg_count, io_request, in pqi_build_aio_r1_sg_list()
5449 iu_length += num_sg_in_iu * sizeof(*sg_descriptor); in pqi_build_aio_r1_sg_list()
5453 request->num_sg_descriptors = num_sg_in_iu; in pqi_build_aio_r1_sg_list()
5465 unsigned int num_sg_in_iu; in pqi_build_aio_r56_sg_list() local
5475 num_sg_in_iu = 0; in pqi_build_aio_r56_sg_list()
5481 num_sg_in_iu = pqi_build_sg_list(sg_descriptor, sg, sg_count, io_request, in pqi_build_aio_r56_sg_list()
5485 iu_length += num_sg_in_iu * sizeof(*sg_descriptor); in pqi_build_aio_r56_sg_list()
5489 request->num_sg_descriptors = num_sg_in_iu; in pqi_build_aio_r56_sg_list()
5501 unsigned int num_sg_in_iu; in pqi_build_aio_sg_list() local
5511 num_sg_in_iu = 0; in pqi_build_aio_sg_list()
5519 num_sg_in_iu = pqi_build_sg_list(sg_descriptor, sg, sg_count, io_request, in pqi_build_aio_sg_list()
5523 iu_length += num_sg_in_iu * sizeof(*sg_descriptor); in pqi_build_aio_sg_list()
5527 request->num_sg_descriptors = num_sg_in_iu; in pqi_build_aio_sg_list()