Searched refs:queue_max_discard_segments (Results 1 – 4 of 4) sorted by relevance
540 return queue_max_discard_segments(rq->q); in blk_rq_get_max_segments()607 if (segments >= queue_max_discard_segments(q)) in req_attempt_discard_merge()702 queue_max_discard_segments(req->q) > 1) in blk_discard_mergable()974 if (segments >= queue_max_discard_segments(q)) in bio_attempt_discard_merge()
126 return queue_var_show(queue_max_discard_segments(q), (page)); in queue_max_discard_segments_show()579 QUEUE_RO_ENTRY(queue_max_discard_segments, "max_discard_segments");
135 if (queue_max_discard_segments(req->q) == 1) { in virtblk_setup_discard_write_zeroes()
1406 static inline unsigned short queue_max_discard_segments(const struct request_queue *q) in queue_max_discard_segments() function