Home
last modified time | relevance | path

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

/drivers/block/
Dnvme-core.c518 struct bio *bio, enum dma_data_direction dma_dir, int psegs) in nvme_map_bio() argument
528 sg_init_table(iod->sg, psegs); in nvme_map_bio()
635 int psegs = bio_phys_segments(ns->queue, bio); in nvme_submit_bio_queue() local
637 if ((bio->bi_rw & REQ_FLUSH) && psegs) { in nvme_submit_bio_queue()
644 iod = nvme_alloc_iod(psegs, bio->bi_size, GFP_ATOMIC); in nvme_submit_bio_queue()
660 if ((bio->bi_rw & REQ_FLUSH) && !psegs) in nvme_submit_bio_queue()
684 result = nvme_map_bio(nvmeq, iod, bio, dma_dir, psegs); in nvme_submit_bio_queue()