/block/ |
D | blk-stat.c | 23 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()
|
D | blk-settings.c | 205 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 …]
|
D | blk-merge.c | 78 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()
|
D | blk-lib.c | 300 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()
|
D | blk-throttle.c | 324 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()
|
D | ioprio.c | 196 return min(aprio, bprio); in ioprio_best()
|
D | blk-rq-qos.c | 146 depth = 1 + ((depth - 1) >> min(31, rqd->scale_step)); in rq_depth_calc_max_depth()
|
D | blk-wbt.c | 276 if (stat[READ].min > rwb->min_lat_nsec) { in latency_exceeded() 277 trace_wbt_lat(bdi, stat[READ].min); in latency_exceeded()
|
D | blk-iocost.c | 386 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()
|
D | bsg.c | 136 return put_user(min(bd->reserved_size, queue_max_bytes(q)), in bsg_ioctl()
|
D | keyslot-manager.c | 473 min(parent->max_dun_bytes_supported, in blk_ksm_intersect_modes()
|
D | blk-crypto-profile.c | 536 min(parent->max_dun_bytes_supported, in blk_crypto_intersect_capabilities()
|
D | bsg-lib.c | 109 int len = min(hdr->max_response_len, job->reply_len); in bsg_transport_sg_io_fn()
|
D | bfq-iosched.c | 2784 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()
|
D | sed-opal.c | 1167 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()
|
D | blk-iolatency.c | 385 old = min(old, qd); in scale_change()
|
D | bfq-wf2q.c | 876 unsigned long bounded_time_ms = min(time_ms, timeout_ms); in bfq_bfqq_charge_time()
|
D | blk-mq-debugfs.c | 21 stat->nr_samples, stat->mean, stat->min, stat->max); in print_stat()
|
D | blk-mq.c | 1075 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()
|
D | bio.c | 1274 unsigned int bytes = min(src_bv.bv_len, dst_bv.bv_len); in bio_copy_data_iter()
|
D | blk-core.c | 1440 unsigned bio_bytes = min(bio->bi_iter.bi_size, nr_bytes); in blk_update_request()
|
/block/partitions/ |
D | efi.c | 748 label_max = min(ARRAY_SIZE(info->volname) - 1, in efi_partition()
|
D | msdos.c | 678 n = min(size, max(sector_size, n)); in msdos_partition()
|