Home
last modified time | relevance | path

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

/Linux-v6.6/block/
Dblk.h157 queue_max_discard_segments(req->q) > 1) in blk_discard_mergable()
165 return queue_max_discard_segments(rq->q); in blk_rq_get_max_segments()
Dblk-merge.c425 if (queue_max_discard_segments(rq->q) > 1) { in blk_recalc_rq_segments()
678 if (segments >= queue_max_discard_segments(q)) in req_attempt_discard_merge()
1036 if (segments >= queue_max_discard_segments(q)) in bio_attempt_discard_merge()
Dblk-sysfs.c118 return queue_var_show(queue_max_discard_segments(q), page); in queue_max_discard_segments_show()
504 QUEUE_RO_ENTRY(queue_max_discard_segments, "max_discard_segments");
/Linux-v6.6/include/linux/
Dblkdev.h1115 static inline unsigned short queue_max_discard_segments(const struct request_queue *q) in queue_max_discard_segments() function
/Linux-v6.6/drivers/block/
Dvirtio_blk.c182 if (queue_max_discard_segments(req->q) == 1) { in virtblk_setup_discard_write_zeroes_erase()
/Linux-v6.6/drivers/nvme/host/
Dcore.c793 if (queue_max_discard_segments(req->q) == 1) { in nvme_setup_discard()