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()
793 if (blk_rq_nr_phys_segments(req) == 1) { in nvme_map_data()815 sg_init_table(iod->sgt.sgl, blk_rq_nr_phys_segments(req)); in nvme_map_data()935 if (blk_rq_nr_phys_segments(req)) { in nvme_prep_rq()950 if (blk_rq_nr_phys_segments(req)) in nvme_prep_rq()1066 if (blk_rq_nr_phys_segments(req)) in nvme_pci_unmap_rq()
1239 if (!blk_rq_nr_phys_segments(rq)) in nvme_rdma_unmap_data()1474 blk_rq_nr_phys_segments(rq), req->data_sgl.sg_table.sgl, in nvme_rdma_dma_map_req()1540 if (!blk_rq_nr_phys_segments(rq)) in nvme_rdma_map_data()
2604 if (!blk_rq_nr_phys_segments(rq)) in nvme_fc_map_data()2609 blk_rq_nr_phys_segments(rq), freq->sg_table.sgl, in nvme_fc_map_data()2615 WARN_ON(op->nents > blk_rq_nr_phys_segments(rq)); in nvme_fc_map_data()2816 if (blk_rq_nr_phys_segments(rq)) { in nvme_fc_queue_rq()
2512 if (!blk_rq_nr_phys_segments(rq)) in nvme_tcp_map_data()2543 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()
1145 static inline unsigned short blk_rq_nr_phys_segments(struct request *rq) in blk_rq_nr_phys_segments() function
615 WARN_ON(nsegs > blk_rq_nr_phys_segments(rq)); in __blk_rq_map_sg()
1275 segs = blk_rq_nr_phys_segments(req); in ubd_submit_request()
1135 blk_rq_nr_phys_segments(rq) ? : 1, in rnbd_queue_rq()
1113 unsigned short nr_segs = blk_rq_nr_phys_segments(rq); in scsi_alloc_sgtables()