Home
last modified time | relevance | path

Searched refs:blk_rq_nr_phys_segments (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/drivers/nvme/host/
H A Dapple.c339 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()
H A Dpci.c776 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()
H A Drdma.c1235 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()
H A Dfc.c2602 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()
H A Dtcp.c2319 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()
/openbmc/linux/drivers/nvme/target/
H A Dloop.c155 if (blk_rq_nr_phys_segments(req)) { in nvme_loop_queue_rq()
158 blk_rq_nr_phys_segments(req), in nvme_loop_queue_rq()
/openbmc/linux/drivers/block/
H A Dvirtio_blk.c209 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()
/openbmc/linux/include/linux/
H A Dblk-mq.h1121 static inline unsigned short blk_rq_nr_phys_segments(struct request *rq) in blk_rq_nr_phys_segments() function
/openbmc/linux/block/
H A Dblk-merge.c584 WARN_ON(nsegs > blk_rq_nr_phys_segments(rq)); in __blk_rq_map_sg()
/openbmc/linux/arch/um/drivers/
H A Dubd_kern.c1315 segs = blk_rq_nr_phys_segments(req); in ubd_submit_request()
/openbmc/linux/drivers/block/rnbd/
H A Drnbd-clt.c1135 blk_rq_nr_phys_segments(rq) ? : 1, in rnbd_queue_rq()
/openbmc/linux/drivers/scsi/
H A Dscsi_lib.c1021 unsigned short nr_segs = blk_rq_nr_phys_segments(rq); in scsi_alloc_sgtables()