Home
last modified time | relevance | path

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

/block/
Dblk-settings.c186 blk_set_default_limits(&q->limits); in blk_queue_make_request()
220 q->limits.bounce_pfn = max(max_low_pfn, b_pfn); in blk_queue_bounce_limit()
224 q->limits.bounce_pfn = b_pfn; in blk_queue_bounce_limit()
229 q->limits.bounce_pfn = b_pfn; in blk_queue_bounce_limit()
250 void blk_limits_max_hw_sectors(struct queue_limits *limits, unsigned int max_hw_sectors) in blk_limits_max_hw_sectors() argument
258 limits->max_hw_sectors = max_hw_sectors; in blk_limits_max_hw_sectors()
259 limits->max_sectors = min_t(unsigned int, max_hw_sectors, in blk_limits_max_hw_sectors()
274 blk_limits_max_hw_sectors(&q->limits, max_hw_sectors); in blk_queue_max_hw_sectors()
286 q->limits.max_discard_sectors = max_discard_sectors; in blk_queue_max_discard_sectors()
298 q->limits.max_write_same_sectors = max_write_same_sectors; in blk_queue_max_write_same_sectors()
[all …]
Dblk-lib.c60 granularity = max(q->limits.discard_granularity >> 9, 1U); in blkdev_issue_discard()
68 max_discard_sectors = min(q->limits.max_discard_sectors, UINT_MAX >> 9); in blkdev_issue_discard()
163 max_write_same_sectors = q->limits.max_write_same_sectors; in blkdev_issue_write_same()
Dblk-sysfs.c136 return queue_var_show(q->limits.max_integrity_segments, (page)); in queue_max_integrity_segments_show()
169 return queue_var_show(q->limits.discard_granularity, page); in queue_discard_granularity_show()
175 (unsigned long long)q->limits.max_discard_sectors << 9); in queue_discard_max_show()
186 (unsigned long long)q->limits.max_write_same_sectors << 9); in queue_write_same_max_show()
205 q->limits.max_sectors = max_sectors_kb << 1; in queue_max_sectors_store()
Dblk-integrity.c192 q->limits.max_integrity_segments) in blk_integrity_merge_rq()
210 q->limits.max_integrity_segments) in blk_integrity_merge_bio()
Dpartition-generic.c314 queue_limit_alignment_offset(&disk->queue->limits, start); in add_partition()
316 queue_limit_discard_alignment(&disk->queue->limits, start); in add_partition()