Home
last modified time | relevance | path

Searched refs:RLIM_INFINITY (Results 1 – 25 of 43) sorted by relevance

12

/openbmc/linux/include/asm-generic/
H A Dresource.h13 [RLIMIT_CPU] = { RLIM_INFINITY, RLIM_INFINITY }, \
14 [RLIMIT_FSIZE] = { RLIM_INFINITY, RLIM_INFINITY }, \
15 [RLIMIT_DATA] = { RLIM_INFINITY, RLIM_INFINITY }, \
16 [RLIMIT_STACK] = { _STK_LIM, RLIM_INFINITY }, \
17 [RLIMIT_CORE] = { 0, RLIM_INFINITY }, \
18 [RLIMIT_RSS] = { RLIM_INFINITY, RLIM_INFINITY }, \
22 [RLIMIT_AS] = { RLIM_INFINITY, RLIM_INFINITY }, \
23 [RLIMIT_LOCKS] = { RLIM_INFINITY, RLIM_INFINITY }, \
28 [RLIMIT_RTTIME] = { RLIM_INFINITY, RLIM_INFINITY }, \
/openbmc/linux/include/uapi/asm-generic/
H A Dresource.h57 #ifndef RLIM_INFINITY
58 # define RLIM_INFINITY (~0UL) macro
/openbmc/linux/tools/perf/util/
H A Dbpf_counter.h88 struct rlimit rinf = { RLIM_INFINITY, RLIM_INFINITY }; in set_max_rlimit()
H A Ddso.c660 if (l.rlim_cur == RLIM_INFINITY) in get_fd_limit()
689 if (fd_limit == RLIM_INFINITY) in may_cache_fd()
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0006-Use-uintmax_t-for-handling-rlim_t.patch62 if (rl->rlim_cur >= RLIM_INFINITY && rl->rlim_max >= RLIM_INFINITY)
64 else if (rl->rlim_cur >= RLIM_INFINITY)
67 else if (rl->rlim_max >= RLIM_INFINITY)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0006-Use-uintmax_t-for-handling-rlim_t.patch62 if (rl->rlim_cur >= RLIM_INFINITY && rl->rlim_max >= RLIM_INFINITY)
64 else if (rl->rlim_cur >= RLIM_INFINITY)
67 else if (rl->rlim_max >= RLIM_INFINITY)
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/
H A Dcore-pkey.c82 if (rlim.rlim_cur != RLIM_INFINITY && rlim.rlim_cur < CORE_FILE_LIMIT) { in increase_core_file_limit()
85 if (rlim.rlim_max != RLIM_INFINITY && in increase_core_file_limit()
96 if (rlim.rlim_cur != RLIM_INFINITY && rlim.rlim_cur < CORE_FILE_LIMIT) { in increase_core_file_limit()
99 if (rlim.rlim_max != RLIM_INFINITY && in increase_core_file_limit()
/openbmc/linux/arch/alpha/include/uapi/asm/
H A Dresource.h19 #define RLIM_INFINITY 0x7ffffffffffffffful macro
/openbmc/linux/arch/sparc/include/uapi/asm/
H A Dresource.h26 #define RLIM_INFINITY 0x7fffffff macro
/openbmc/linux/arch/mips/include/uapi/asm/
H A Dresource.h31 # define RLIM_INFINITY 0x7fffffffUL macro
/openbmc/linux/tools/testing/selftests/mm/
H A Dcompaction_test.c192 lim.rlim_cur = RLIM_INFINITY; in main()
193 lim.rlim_max = RLIM_INFINITY; in main()
/openbmc/linux/arch/um/os-Linux/
H A Dstart_up.c312 if (lim.rlim_cur == RLIM_INFINITY) in check_coredump_limit()
318 if (lim.rlim_max == RLIM_INFINITY) in check_coredump_limit()
H A Dmain.c34 if ((lim.rlim_cur == RLIM_INFINITY) || (lim.rlim_cur > STACKSIZE)) { in set_stklim()
/openbmc/linux/tools/testing/selftests/mqueue/
H A Dmq_perf_tests.c527 cur_limits.rlim_cur = RLIM_INFINITY; in increase_limits()
528 cur_limits.rlim_max = RLIM_INFINITY; in increase_limits()
672 if (cur_limits.rlim_cur == RLIM_INFINITY) { in main()
/openbmc/linux/kernel/time/
H A Dposix-cpu-timers.c27 if (cpu_limit != RLIM_INFINITY) { in posix_cputimers_group_init()
917 if (soft != RLIM_INFINITY) { in check_thread_timers()
923 if (hard != RLIM_INFINITY && in check_thread_timers()
1014 if (soft != RLIM_INFINITY) { in check_process_timers()
1022 if (hard != RLIM_INFINITY && in check_process_timers()
/openbmc/qemu/hw/xen/
H A Dxen-mapcache.c153 rlimit_as.rlim_cur = RLIM_INFINITY; in xen_map_cache_init()
154 rlimit_as.rlim_max = RLIM_INFINITY; in xen_map_cache_init()
160 if (rlimit_as.rlim_max != RLIM_INFINITY) { in xen_map_cache_init()
/openbmc/linux/arch/s390/mm/
H A Dmmap.c33 if (rlim_stack->rlim_cur == RLIM_INFINITY) in mmap_is_legacy()
/openbmc/linux/kernel/
H A Dsys.c1501 new_rlim->rlim_cur != RLIM_INFINITY && in do_prlimit()
1542 r.rlim_cur = RLIM_INFINITY; in COMPAT_SYSCALL_DEFINE2()
1546 r.rlim_max = RLIM_INFINITY; in COMPAT_SYSCALL_DEFINE2()
1639 if (rlim->rlim_cur == RLIM_INFINITY) in rlim_to_rlim64()
1643 if (rlim->rlim_max == RLIM_INFINITY) in rlim_to_rlim64()
1652 rlim->rlim_cur = RLIM_INFINITY; in rlim64_to_rlim()
1656 rlim->rlim_max = RLIM_INFINITY; in rlim64_to_rlim()
H A Dacct.c503 current->signal->rlim[RLIMIT_FSIZE].rlim_cur = RLIM_INFINITY; in do_acct_process()
H A Dfork.c1073 set_userns_rlimit_max(&init_user_ns, UCOUNT_RLIMIT_NPROC, RLIM_INFINITY); in fork_init()
1074 set_userns_rlimit_max(&init_user_ns, UCOUNT_RLIMIT_MSGQUEUE, RLIM_INFINITY); in fork_init()
1075 set_userns_rlimit_max(&init_user_ns, UCOUNT_RLIMIT_SIGPENDING, RLIM_INFINITY); in fork_init()
1076 set_userns_rlimit_max(&init_user_ns, UCOUNT_RLIMIT_MEMLOCK, RLIM_INFINITY); in fork_init()
/openbmc/linux/fs/
H A Dattr.c256 if (limit != RLIM_INFINITY && offset > limit) in inode_newsize_ok()
/openbmc/linux/arch/parisc/kernel/
H A Dsys_parisc.c64 if (stack_max == RLIM_INFINITY) in calc_max_stack_size()
/openbmc/linux/tools/bpf/bpftool/
H A Dcommon.c144 struct rlimit rinf = { RLIM_INFINITY, RLIM_INFINITY }; in set_max_rlimit()
/openbmc/qemu/bsd-user/
H A Dsyscall_defs.h172 #define TARGET_RLIM_INFINITY RLIM_INFINITY
/openbmc/linux/arch/sparc/kernel/
H A Dsys_sparc_64.c292 gap == RLIM_INFINITY || in arch_pick_mmap_layout()

12