Home
last modified time | relevance | path

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

/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.c793 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()
H A Drdma.c1239 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()
H A Dfc.c2604 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()
H A Dtcp.c2512 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()
/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()
/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()
/linux/include/linux/
H A Dblk-mq.h1145 static inline unsigned short blk_rq_nr_phys_segments(struct request *rq) in blk_rq_nr_phys_segments() function
/linux/block/
H A Dblk-merge.c615 WARN_ON(nsegs > blk_rq_nr_phys_segments(rq)); in __blk_rq_map_sg()
/linux/arch/um/drivers/
H A Dubd_kern.c1275 segs = blk_rq_nr_phys_segments(req); in ubd_submit_request()
/linux/drivers/block/rnbd/
H A Drnbd-clt.c1135 blk_rq_nr_phys_segments(rq) ? : 1, in rnbd_queue_rq()
/linux/drivers/scsi/
H A Dscsi_lib.c1113 unsigned short nr_segs = blk_rq_nr_phys_segments(rq); in scsi_alloc_sgtables()