Searched refs:lim (Results 1 – 5 of 5) sorted by relevance
/arch/um/os-Linux/ |
D | main.c | 26 struct rlimit lim; in set_stklim() local 28 if (getrlimit(RLIMIT_STACK, &lim) < 0) { in set_stklim() 32 if ((lim.rlim_cur == RLIM_INFINITY) || (lim.rlim_cur > STACKSIZE)) { in set_stklim() 33 lim.rlim_cur = STACKSIZE; in set_stklim() 34 if (setrlimit(RLIMIT_STACK, &lim) < 0) { in set_stklim()
|
D | start_up.c | 340 struct rlimit lim; in check_coredump_limit() local 341 int err = getrlimit(RLIMIT_CORE, &lim); in check_coredump_limit() 349 if (lim.rlim_cur == RLIM_INFINITY) in check_coredump_limit() 351 else printf("%lu\n", lim.rlim_cur); in check_coredump_limit() 354 if (lim.rlim_max == RLIM_INFINITY) in check_coredump_limit() 356 else printf("%lu\n", lim.rlim_max); in check_coredump_limit()
|
/arch/ia64/kernel/ |
D | efi.c | 1072 u64 as, ae, lim; in efi_memmap_init() local 1125 lim = min(efi_md_end(md), contig_low); in efi_memmap_init() 1131 (lim - md->phys_addr) in efi_memmap_init() 1136 k->num_pages = (lim - md->phys_addr) in efi_memmap_init() 1146 lim = max(md->phys_addr, contig_high); in efi_memmap_init() 1148 if (lim == md->phys_addr && k > kern_memmap && in efi_memmap_init() 1154 k->start = lim; in efi_memmap_init() 1155 k->num_pages = (efi_md_end(md) - lim) in efi_memmap_init()
|
D | unwind.c | 731 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/ |
D | cacheinfo.c | 224 int i, lim; in cache_get_line_size() local 226 lim = ARRAY_SIZE(cache_type_info[cache->type].line_size_props); in cache_get_line_size() 228 for (i = 0; i < lim; i++) { in cache_get_line_size()
|