Searched refs:min (Results 251 - 275 of 3893) sorted by path

<<11121314151617181920>>

/linux-master/arch/powerpc/platforms/powernv/
H A Dpci-ioda.c1402 const u64 window_size = min((maxblock * 8) << PAGE_SHIFT, max_memory);
1429 res_end = min(window_size, SZ_4G) >> tbl->it_page_shift;
/linux-master/arch/powerpc/platforms/pseries/
H A Dmsi.c317 request = min(counts.quota, request);
H A Dpapr-sysparm.c41 length = min(sizeof(buf->val), length);
H A Drtas-work-area.c170 pr_debug("arena [%pa-%pa] (%uK), min/max alloc sizes %u/%u\n",
193 const phys_addr_t min = MEMBLOCK_LOW_LIMIT; local
209 rwa_state.arena = memblock_alloc_try_nid(size, align, min, limit, nid);
H A Dvio.c84 * @min: minimum necessary for system operation
97 size_t min; member in struct:vio_cmo
168 size -= min(reserve_free, size);
203 excess_freed = min(reserve_freed, (viodev->cmo.allocated -
219 tmp = min(excess_freed, spare_needed);
250 tmp = min(excess_freed, (vio_cmo.desired - vio_cmo.reserve.size));
293 tmp = min(delta, (VIO_CMO_MIN_ENT - vio_cmo.spare));
331 tmp = min(vio_cmo.excess.free, delta);
351 viodev->cmo.entitled -= min(tmp, delta);
352 delta -= min(tm
1014 viobus_cmo_rd_attr(min); variable
[all...]
/linux-master/arch/powerpc/sysdev/
H A Dfsl_pci.c256 paddr_lo = min(paddr_lo, (u64)hose->mem_resources[i].start);
316 paddr_lo = min(paddr_lo, (u64)pcicsrbar);
350 sz = min(mem, paddr_lo);
H A Dmpic.c631 for (i = 0; i < min(32, NR_CPUS) && cpu_possible(i); ++i, cpumask >>= 1)
/linux-master/arch/riscv/kernel/
H A Dsmp.c185 nr_ipi = min(nr, IPI_MAX);
/linux-master/arch/riscv/kvm/
H A Dmmu.c507 vm_end = min(reg_end, vma->vm_end);
H A Dvcpu_pmu.c163 int min, max; local
167 min = kvpmu->num_hw_ctrs;
168 max = min + kvpmu->num_fw_ctrs;
171 min = 3;
177 if ((pmc_idx >= min && pmc_idx < max) &&
/linux-master/arch/riscv/mm/
H A Dinit.c257 dma32_phys_limit = min(4UL * SZ_1G, (unsigned long)PFN_PHYS(max_low_pfn));
/linux-master/arch/s390/boot/
H A Dboot.h53 unsigned long align, unsigned long min, unsigned long max,
69 unsigned long min, unsigned long max);
H A Dipl_parm.c124 count = min(size - 1, scpdata_length(scp_data, scp_data_len));
H A Dkaslr.c126 end = min(_max, end);
183 unsigned long min, unsigned long max)
190 max = min(max, get_physmem_alloc_pos());
192 max_pos = iterate_valid_positions(size, align, min, max, res, ARRAY_SIZE(res), true, 0);
197 return iterate_valid_positions(size, align, min, max, res, ARRAY_SIZE(res), false, pos + 1);
182 randomize_within_range(unsigned long size, unsigned long align, unsigned long min, unsigned long max) argument
H A Dphysmem_info.c186 static void die_oom(unsigned long size, unsigned long align, unsigned long min, unsigned long max) argument
197 size, align, min, max);
247 unsigned long min, unsigned long max,
259 pos = min(range_end, pos);
261 if (round_up(min, align) + size > pos)
278 die_oom(size, align, min, max);
283 unsigned long align, unsigned long min, unsigned long max,
288 max = min(max, physmem_alloc_pos);
289 addr = __physmem_alloc_range(size, align, min, max, 0, NULL, die_on_oom);
246 __physmem_alloc_range(unsigned long size, unsigned long align, unsigned long min, unsigned long max, unsigned int from_ranges, unsigned int *ranges_left, bool die_on_oom) argument
282 physmem_alloc_range(enum reserved_range_type type, unsigned long size, unsigned long align, unsigned long min, unsigned long max, bool die_on_oom) argument
H A Dstartup.c128 static void rescue_initrd(unsigned long min, unsigned long max) argument
136 if (addr >= min && addr + size <= max)
206 ident_map_size = min(ident_map_size, memory_limit);
207 ident_map_size = min(ident_map_size, 1UL << MAX_PHYSMEM_BITS);
212 ident_map_size = min(ident_map_size, oldmem_data.size);
216 ident_map_size = min(ident_map_size, hsa_size);
282 vmax = min(vmax, KASAN_SHADOW_START);
284 vsize = min(vsize, vmax);
309 vmalloc_size = min(vmalloc_size, vsize);
322 ident_map_size = min(ident_map_siz
[all...]
/linux-master/arch/s390/crypto/
H A Daes_s390.c737 n = min(gw->walk_bytes, AES_BLOCK_SIZE - gw->buf_bytes);
816 n = min(gw->walk_bytes, bytesdone - i);
881 bytes = min(in_bytes, out_bytes);
H A Dghash_s390.c64 n = min(srclen, dctx->bytes);
/linux-master/arch/s390/include/asm/
H A Dfpu-insn.h247 size = min(index + 1, sizeof(__vector128));
265 size = min(index + 1, sizeof(__vector128));
397 size = min(index + 1, sizeof(__vector128));
413 size = min(index + 1, sizeof(__vector128));
H A Dsysinfo.h153 return min(topology_max_mnest, 4);
/linux-master/arch/s390/kernel/
H A Dcrash_dump.c126 len = min(count, sclp.hsa_size - src);
132 len = min(count, oldmem_data.size - src);
134 len = min(count, oldmem_data.size - src);
189 size_old = min(size, oldmem_data.size - (pfn << PAGE_SHIFT));
217 size_hsa = min(size, hsa_end - (pfn << PAGE_SHIFT));
H A Ddebug.c479 copy_size = min(user_buf_residue, formatted_line_residue);
912 memcpy(to, from, min(src->entry_size,
1036 memcpy(DEBUG_DATA(active), buf, min(len, id->buf_size));
1069 memcpy(DEBUG_DATA(active), buf, min(len, id->buf_size));
1121 for (idx = 0; idx < min(numargs, (int)(id->buf_size / sizeof(long)) - 1); idx++)
1157 for (idx = 0; idx < min(numargs, (int)(id->buf_size / sizeof(long)) - 1); idx++)
1543 num_used_args = min(DEBUG_SPRINTF_MAX_ARGS, (num_longs - 1));
H A Dmodule.c180 long min, max; local
187 min = -(1L << (bits - 1));
189 if ((long) val < min || (long) val > max)
H A Dperf_cpum_sf.c372 static void sfb_set_limits(unsigned long min, unsigned long max) argument
376 CPUM_SF_MIN_SDB = min;
487 unsigned long min)
489 return min_t(unsigned long, min, DIV_ROUND_UP(percent * base, 100));
740 /* The min/max sampling rates specifies the valid range
764 * min/max sampling intervals and the CPU speed. So calculate the
2175 unsigned long min, max; local
2182 /* Valid parameter values: "min,max" or "max" */
2183 min = CPUM_SF_MIN_SDB;
2186 rc = (sscanf(val, "%lu,%lu", &min,
486 min_percent(unsigned int percent, unsigned long base, unsigned long min) argument
[all...]
H A Dsmp.c960 sclp_max = min(smp_max_threads, sclp_max);
963 possible = min(possible, sclp_max);

Completed in 596 milliseconds

<<11121314151617181920>>