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()
315 os_info("%llu\n", (unsigned long long)lim.rlim_cur); in check_coredump_limit()
318 if (lim.rlim_max == RLIM_INFINITY) in check_coredump_limit()
321 os_info("%llu\n", (unsigned long long)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.c1053 u64 as, ae, lim; in efi_memmap_init() local
1101 lim = min(efi_md_end(md), contig_low); in efi_memmap_init()
1107 (lim - md->phys_addr) in efi_memmap_init()
1112 k->num_pages = (lim - md->phys_addr) in efi_memmap_init()
1122 lim = max(md->phys_addr, contig_high); in efi_memmap_init()
1124 if (lim == md->phys_addr && k > kern_memmap && in efi_memmap_init()
1130 k->start = lim; in efi_memmap_init()
1131 k->num_pages = (efi_md_end(md) - lim) in efi_memmap_init()
Dunwind.c731 spill_next_when (struct unw_reg_info **regp, struct unw_reg_info *lim, unw_word t) in spill_next_when() argument
735 for (reg = *regp; reg <= lim; ++reg) { in spill_next_when()
/arch/powerpc/kernel/
Dcacheinfo.c234 int i, lim; in cache_get_line_size() local
236 lim = ARRAY_SIZE(cache_type_info[cache->type].line_size_props); in cache_get_line_size()
238 for (i = 0; i < lim; i++) { in cache_get_line_size()
/arch/x86/kvm/
Demulate.c711 u32 lim; in __linearize() local
741 lim = desc_limit_scaled(&desc); in __linearize()
744 if (addr.ea <= lim) in __linearize()
746 lim = desc.d ? 0xffffffff : 0xffff; in __linearize()
748 if (addr.ea > lim) in __linearize()
750 if (lim == 0xffffffff) in __linearize()
753 *max_size = (u64)lim + 1 - addr.ea; in __linearize()