Home
last modified time | relevance | path

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

/block/
Dblk-stat.c23 stat->min = -1ULL; in blk_rq_stat_init()
34 dst->min = min(dst->min, src->min); in blk_rq_stat_sum()
45 stat->min = min(stat->min, value); in blk_rq_stat_add()
Dblk-settings.c205 max_sectors = min(max_sectors, BLK_DEF_MAX_SECTORS); in blk_queue_max_hw_sectors()
285 max_sectors = min(q->limits.max_hw_sectors, max_zone_append_sectors); in blk_queue_max_zone_append_sectors()
286 max_sectors = min(q->limits.chunk_sectors, max_sectors); in blk_queue_max_zone_append_sectors()
482 void blk_limits_io_min(struct queue_limits *limits, unsigned int min) in blk_limits_io_min() argument
484 limits->io_min = min; in blk_limits_io_min()
508 void blk_queue_io_min(struct request_queue *q, unsigned int min) in blk_queue_io_min() argument
510 blk_limits_io_min(&q->limits, min); in blk_queue_io_min()
593 t->max_write_same_sectors = min(t->max_write_same_sectors, in blk_stack_limits()
595 t->max_write_zeroes_sectors = min(t->max_write_zeroes_sectors, in blk_stack_limits()
597 t->max_zone_append_sectors = min(t->max_zone_append_sectors, in blk_stack_limits()
[all …]
Dblk-merge.c78 max_discard_sectors = min(q->limits.max_discard_sectors, in blk_bio_discard_split()
203 unsigned max_len = (min(max_sectors, UINT_MAX >> 9) - *sectors) << 9; in bvec_split_segs()
204 unsigned len = min(bv->bv_len, max_len); in bvec_split_segs()
211 seg_size = min(seg_size, len); in bvec_split_segs()
446 unsigned len = min(get_max_segment_size(q, bvec->bv_page, in blk_bvec_map_sg()
Dblk-lib.c300 return min(pages, (sector_t)BIO_MAX_VECS); in __blkdev_sectors_to_bio_pages()
326 sz = min((sector_t) PAGE_SIZE, nr_sects << 9); in __blkdev_issue_zero_pages()
Dblk-throttle.c324 ret = min(tg->bps[rw][LIMIT_MAX], adjusted); in tg_bps_limit()
1129 min_wait = min(read_wait, write_wait); in tg_update_disptime()
1441 this_tg->idletime_threshold = min(this_tg->idletime_threshold, in tg_conf_updated()
1729 tg->bps[READ][LIMIT_LOW] = min(tg->bps_conf[READ][LIMIT_LOW], in tg_set_limit()
1731 tg->bps[WRITE][LIMIT_LOW] = min(tg->bps_conf[WRITE][LIMIT_LOW], in tg_set_limit()
1733 tg->iops[READ][LIMIT_LOW] = min(tg->iops_conf[READ][LIMIT_LOW], in tg_set_limit()
1735 tg->iops[WRITE][LIMIT_LOW] = min(tg->iops_conf[WRITE][LIMIT_LOW], in tg_set_limit()
1816 return min(rtime, wtime); in __tg_last_low_overflow_time()
Dioprio.c196 return min(aprio, bprio); in ioprio_best()
Dblk-rq-qos.c146 depth = 1 + ((depth - 1) >> min(31, rqd->scale_step)); in rq_depth_calc_max_depth()
Dblk-wbt.c276 if (stat[READ].min > rwb->min_lat_nsec) { in latency_exceeded()
277 trace_wbt_lat(bdi, stat[READ].min); in latency_exceeded()
Dblk-iocost.c386 s64 min; member
765 margins->min = (period_us * MARGIN_MIN_PCT / 100) * vrate; in ioc_refresh_margins()
1006 vrate = min(vrate, vrate_min); in ioc_adjust_base_vrate()
1434 iocg->abs_vdebt -= min(abs_vpay, iocg->abs_vdebt); in iocg_pay_debt()
1747 time_after64(vtime, now->vnow - ioc->margins.min)) in hweight_after_donation()
1940 iocg->hweight_donating = min(iocg->hweight_donating, in transfer_surpluses()
1942 iocg->hweight_after_donation = min(iocg->hweight_after_donation, in transfer_surpluses()
2397 ioc->busy_level = min(ioc->busy_level, 0); in ioc_timer_fn()
Dbsg.c136 return put_user(min(bd->reserved_size, queue_max_bytes(q)), in bsg_ioctl()
Dkeyslot-manager.c473 min(parent->max_dun_bytes_supported, in blk_ksm_intersect_modes()
Dblk-crypto-profile.c536 min(parent->max_dun_bytes_supported, in blk_crypto_intersect_capabilities()
Dbsg-lib.c109 int len = min(hdr->max_response_len, job->reply_len); in bsg_transport_sg_io_fn()
Dbfq-iosched.c2784 int proc_ref = min(bfqq_process_refs(bfqq), in bfq_setup_cooperator()
3873 budget = min(budget * 2, bfqd->bfq_max_budget); in __bfq_bfqq_recalc_budget()
3888 budget = min(budget * 2, bfqd->bfq_max_budget); in __bfq_bfqq_recalc_budget()
3900 budget = min(budget * 4, bfqd->bfq_max_budget); in __bfq_bfqq_recalc_budget()
3954 bfqq->max_budget = min(bfqq->max_budget, bfqd->bfq_max_budget); in __bfq_bfqq_recalc_budget()
6870 min_shallow = min(min_shallow, bfqd->word_depths[i][j]); in bfq_update_depths()
Dsed-opal.c1167 memcpy(uid, dev->prev_data, min(sizeof(uid), dev->prev_d_len)); in gen_key()
1266 len = min(remaining_size(dev) - (2+1+CMD_FINALIZE_BYTES_NEEDED), in generic_table_write_data()
2040 len = min(max_read_size, (size_t)(read_size - off)); in read_table_data()
Dblk-iolatency.c385 old = min(old, qd); in scale_change()
Dbfq-wf2q.c876 unsigned long bounded_time_ms = min(time_ms, timeout_ms); in bfq_bfqq_charge_time()
Dblk-mq-debugfs.c21 stat->nr_samples, stat->mean, stat->min, stat->max); in print_stat()
Dblk-mq.c1075 return min(BLK_MQ_MAX_DISPATCH_ORDER - 1, ilog2(queued) + 1); in queued_to_index()
2503 to_do = min(entries_per_page, depth - i); in blk_mq_alloc_rqs()
3516 set->queue_depth = min(64U, set->queue_depth); in blk_mq_alloc_tag_set()
Dbio.c1274 unsigned int bytes = min(src_bv.bv_len, dst_bv.bv_len); in bio_copy_data_iter()
Dblk-core.c1440 unsigned bio_bytes = min(bio->bi_iter.bi_size, nr_bytes); in blk_update_request()
/block/partitions/
Defi.c748 label_max = min(ARRAY_SIZE(info->volname) - 1, in efi_partition()
Dmsdos.c678 n = min(size, max(sector_size, n)); in msdos_partition()