Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvme/host/
Dzns.c138 bufsize = min_t(size_t, bufsize, queue_max_segments(q) << PAGE_SHIFT); in nvme_zns_alloc_report_buffer()
/linux-6.1.9/block/
Dblk-sysfs.c125 return queue_var_show(queue_max_segments(q), page); in queue_max_segments_show()
577 QUEUE_RO_ENTRY(queue_max_segments, "max_segments");
Dblk-map.c565 if (nr_segs > queue_max_segments(q)) in blk_rq_map_user_bvec()
Dblk-merge.c583 return queue_max_segments(rq->q); in blk_rq_get_max_segments()
Dbio.c975 if (bio->bi_vcnt >= queue_max_segments(q)) in bio_add_hw_page()
Dblk-mq.c3007 if (rq->nr_phys_segments > queue_max_segments(q)) { in blk_insert_cloned_request()
3009 __func__, rq->nr_phys_segments, queue_max_segments(q)); in blk_insert_cloned_request()
/linux-6.1.9/include/linux/
Dblkdev.h1141 static inline unsigned short queue_max_segments(const struct request_queue *q) in queue_max_segments() function
1172 return queue_max_segments(bdev_get_queue(bdev)); in bdev_max_segments()
/linux-6.1.9/drivers/scsi/
Dsd_zbc.c216 bufsize = min_t(size_t, bufsize, queue_max_segments(q) << PAGE_SHIFT); in sd_zbc_alloc_report_buffer()
Dsg.c348 sdp->sg_tablesize = queue_max_segments(q); in sg_open()
1474 sdp->sg_tablesize = queue_max_segments(q); in sg_alloc()
Dst.c4263 i = queue_max_segments(SDp->request_queue); in st_probe()
/linux-6.1.9/drivers/block/
Dpktcdvd.c913 <= queue_max_segments(q)) { in pkt_set_segment_merging()
920 <= queue_max_segments(q)) { in pkt_set_segment_merging()
/linux-6.1.9/drivers/ata/
Dlibata-scsi.c1074 blk_queue_max_segments(q, queue_max_segments(q) - 1); in ata_scsi_dev_config()