Home
last modified time | relevance | path

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

/block/
Dblk-settings.c418 void blk_limits_io_min(struct queue_limits *limits, unsigned int min) in blk_limits_io_min() argument
420 limits->io_min = min; in blk_limits_io_min()
444 void blk_queue_io_min(struct request_queue *q, unsigned int min) in blk_queue_io_min() argument
446 blk_limits_io_min(&q->limits, min); in blk_queue_io_min()
527 t->max_write_same_sectors = min(t->max_write_same_sectors, in blk_stack_limits()
555 if (max(top, bottom) & (min(top, bottom) - 1)) { in blk_stack_limits()
614 if ((max(top, bottom) % min(top, bottom)) != 0) in blk_stack_limits()
Dblk-lib.c68 max_discard_sectors = min(q->limits.max_discard_sectors, UINT_MAX >> 9); in blkdev_issue_discard()
239 min(nr_sects, (sector_t)BIO_MAX_PAGES)); in __blkdev_issue_zeroout()
251 sz = min((sector_t) PAGE_SIZE >> 9 , nr_sects); in __blkdev_issue_zeroout()
Dbsg-lib.c72 rsp->resid_len -= min(reply_payload_rcv_len, rsp->resid_len); in bsg_job_done()
Dscsi_ioctl.c87 unsigned val = min(q->sg_reserved_size, queue_max_sectors(q) << 9); in sg_get_reserved_size()
269 int len = min((unsigned int) hdr->mx_sb_len, rq->sense_len); in blk_complete_sghdr_rq()
Dblk-throttle.c738 min_wait = min(read_wait, write_wait); in tg_update_disptime()
Dcfq-iosched.c1002 min_q = min(cfqg->busy_queues_avg[rt], busy); in cfq_group_get_avg_queues()
1035 min(slice, base_low_slice * slice / sync_slice); in cfq_scaled_cfqq_slice()
3668 elapsed = min(elapsed, 2UL * slice_idle); in __cfq_update_io_thinktime()
Dblk-core.c2335 unsigned bio_bytes = min(bio->bi_size, nr_bytes); in blk_update_request()
/block/partitions/
Defi.c662 label_max = min(sizeof(info->volname) - 1, in efi_partition()
Dmsdos.c535 n = min(size, max(sector_size, n)); in msdos_partition()