Searched refs:min (Results 1 – 9 of 9) sorted by relevance
/block/ |
D | blk-settings.c | 418 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()
|
D | blk-lib.c | 68 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()
|
D | bsg-lib.c | 72 rsp->resid_len -= min(reply_payload_rcv_len, rsp->resid_len); in bsg_job_done()
|
D | scsi_ioctl.c | 87 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()
|
D | blk-throttle.c | 738 min_wait = min(read_wait, write_wait); in tg_update_disptime()
|
D | cfq-iosched.c | 1002 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()
|
D | blk-core.c | 2335 unsigned bio_bytes = min(bio->bi_size, nr_bytes); in blk_update_request()
|
/block/partitions/ |
D | efi.c | 662 label_max = min(sizeof(info->volname) - 1, in efi_partition()
|
D | msdos.c | 535 n = min(size, max(sector_size, n)); in msdos_partition()
|