Home
last modified time | relevance | path

Searched refs:lim (Results 1 – 7 of 7) sorted by relevance

/arch/um/os-Linux/
Dmain.c28 struct rlimit lim; in set_stklim() local
30 if (getrlimit(RLIMIT_STACK, &lim) < 0) { in set_stklim()
34 if ((lim.rlim_cur == RLIM_INFINITY) || (lim.rlim_cur > STACKSIZE)) { in set_stklim()
35 lim.rlim_cur = STACKSIZE; in set_stklim()
36 if (setrlimit(RLIMIT_STACK, &lim) < 0) { in set_stklim()
Dstart_up.c303 struct rlimit lim; in check_coredump_limit() local
304 int err = getrlimit(RLIMIT_CORE, &lim); in check_coredump_limit()
312 if (lim.rlim_cur == RLIM_INFINITY) in check_coredump_limit()
314 else printf("%lu\n", lim.rlim_cur); in check_coredump_limit()
317 if (lim.rlim_max == RLIM_INFINITY) in check_coredump_limit()
319 else printf("%lu\n", lim.rlim_max); in check_coredump_limit()
/arch/mips/netlogic/xlp/
Dnlm_hal.c468 uint64_t bridgebase, base, lim; in nlm_get_dram_map() local
502 lim = ((uint64_t)val + 1) << 20; in nlm_get_dram_map()
504 dram_map[rv + 1] = lim; in nlm_get_dram_map()
/arch/ia64/kernel/
Defi.c1052 u64 as, ae, lim; in efi_memmap_init() local
1100 lim = min(efi_md_end(md), contig_low); in efi_memmap_init()
1106 (lim - md->phys_addr) in efi_memmap_init()
1111 k->num_pages = (lim - md->phys_addr) in efi_memmap_init()
1121 lim = max(md->phys_addr, contig_high); in efi_memmap_init()
1123 if (lim == md->phys_addr && k > kern_memmap && in efi_memmap_init()
1129 k->start = lim; in efi_memmap_init()
1130 k->num_pages = (efi_md_end(md) - lim) in efi_memmap_init()
Dunwind.c730 spill_next_when (struct unw_reg_info **regp, struct unw_reg_info *lim, unw_word t) in spill_next_when() argument
734 for (reg = *regp; reg <= lim; ++reg) { in spill_next_when()
/arch/powerpc/kernel/
Dcacheinfo.c235 int i, lim; in cache_get_line_size() local
237 lim = ARRAY_SIZE(cache_type_info[cache->type].line_size_props); in cache_get_line_size()
239 for (i = 0; i < lim; i++) { in cache_get_line_size()
/arch/x86/kvm/
Demulate.c675 u32 lim; in __linearize() local
703 lim = desc_limit_scaled(&desc); in __linearize()
706 if (addr.ea <= lim) in __linearize()
708 lim = desc.d ? 0xffffffff : 0xffff; in __linearize()
710 if (addr.ea > lim) in __linearize()
712 if (lim == 0xffffffff) in __linearize()
715 *max_size = (u64)lim + 1 - addr.ea; in __linearize()