Lines Matching defs:max
1776 unsigned i, max, rw_queues;
1786 max = min(dev->max_qid, dev->ctrl.queue_count - 1);
1787 if (max != 1 && dev->io_queues[HCTX_TYPE_POLL]) {
1791 rw_queues = max;
1794 for (i = dev->online_queues; i <= max; i++) {
2019 u64 max = (u64)max_host_mem_size_mb * SZ_1M;
2028 preferred = min(preferred, max);
2029 if (min > max) {
2334 result = max(result - 1, 1);
2972 * Limit the max command size to prevent iod->sg allocations going