Searched refs:blk_rq_nr_phys_segments (Results 1 – 12 of 12) sorted by relevance
339 return (void **)(iod->sg + blk_rq_nr_phys_segments(req)); in apple_nvme_iod_list()515 if (blk_rq_nr_phys_segments(req) == 1) { in apple_nvme_map_data()527 sg_init_table(iod->sg, blk_rq_nr_phys_segments(req)); in apple_nvme_map_data()554 if (blk_rq_nr_phys_segments(req)) in apple_nvme_unmap_rq()760 if (blk_rq_nr_phys_segments(req)) { in apple_nvme_queue_rq()
776 if (blk_rq_nr_phys_segments(req) == 1) { in nvme_map_data()797 sg_init_table(iod->sgt.sgl, blk_rq_nr_phys_segments(req)); in nvme_map_data()851 if (blk_rq_nr_phys_segments(req)) { in nvme_prep_rq()866 if (blk_rq_nr_phys_segments(req)) in nvme_prep_rq()975 if (blk_rq_nr_phys_segments(req)) in nvme_pci_unmap_rq()
1235 if (!blk_rq_nr_phys_segments(rq)) in nvme_rdma_unmap_data()1465 blk_rq_nr_phys_segments(rq), req->data_sgl.sg_table.sgl, in nvme_rdma_dma_map_req()1531 if (!blk_rq_nr_phys_segments(rq)) in nvme_rdma_map_data()
2602 if (!blk_rq_nr_phys_segments(rq)) in nvme_fc_map_data()2607 blk_rq_nr_phys_segments(rq), freq->sg_table.sgl, in nvme_fc_map_data()2613 WARN_ON(op->nents > blk_rq_nr_phys_segments(rq)); in nvme_fc_map_data()2814 if (blk_rq_nr_phys_segments(rq)) { in nvme_fc_queue_rq()
2319 if (!blk_rq_nr_phys_segments(rq)) in nvme_tcp_map_data()2350 req->data_len = blk_rq_nr_phys_segments(rq) ? in nvme_tcp_setup_cmd_pdu()
155 if (blk_rq_nr_phys_segments(req)) { in nvme_loop_queue_rq()158 blk_rq_nr_phys_segments(req), in nvme_loop_queue_rq()
209 if (blk_rq_nr_phys_segments(req)) in virtblk_unmap_data()219 if (!blk_rq_nr_phys_segments(req)) in virtblk_map_data()224 blk_rq_nr_phys_segments(req), in virtblk_map_data()
1121 static inline unsigned short blk_rq_nr_phys_segments(struct request *rq) in blk_rq_nr_phys_segments() function
584 WARN_ON(nsegs > blk_rq_nr_phys_segments(rq)); in __blk_rq_map_sg()
1315 segs = blk_rq_nr_phys_segments(req); in ubd_submit_request()
1135 blk_rq_nr_phys_segments(rq) ? : 1, in rnbd_queue_rq()
1021 unsigned short nr_segs = blk_rq_nr_phys_segments(rq); in scsi_alloc_sgtables()