Home
last modified time | relevance | path

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

/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 }, \
/linux/include/uapi/asm-generic/
H A Dresource.h57 #ifndef RLIM_INFINITY
58 # define RLIM_INFINITY (~0UL) macro
/linux/arch/sparc/include/uapi/asm/
H A Dresource.h26 #define RLIM_INFINITY 0x7fffffff macro
/linux/arch/alpha/include/uapi/asm/
H A Dresource.h19 #define RLIM_INFINITY 0x7ffffffffffffffful macro
/linux/arch/mips/include/uapi/asm/
H A Dresource.h31 # define RLIM_INFINITY 0x7fffffffUL macro
/linux/tools/testing/selftests/mm/
H A Dcompaction_test.c152 lim.rlim_cur = RLIM_INFINITY; in check_compaction()
153 lim.rlim_max = RLIM_INFINITY; in check_compaction()
/linux/arch/um/os-Linux/
H A Dstart_up.c381 if (lim.rlim_cur == RLIM_INFINITY) in check_coredump_limit()
387 if (lim.rlim_max == RLIM_INFINITY) in check_coredump_limit()
H A Dmain.c32 if ((lim.rlim_cur == RLIM_INFINITY) || (lim.rlim_cur > STACKSIZE)) { in set_stklim()
/linux/tools/testing/selftests/mqueue/
H A Dmq_perf_tests.c529 cur_limits.rlim_cur = RLIM_INFINITY; in increase_limits()
530 cur_limits.rlim_max = RLIM_INFINITY; in increase_limits()
674 if (cur_limits.rlim_cur == RLIM_INFINITY) { in main()
/linux/kernel/time/
H A Dposix-cpu-timers.c27 if (cpu_limit != RLIM_INFINITY) { in posix_cputimers_group_init()
949 if (soft != RLIM_INFINITY) { in check_thread_timers()
955 if (hard != RLIM_INFINITY && in check_thread_timers()
1046 if (soft != RLIM_INFINITY) { in check_process_timers()
1054 if (hard != RLIM_INFINITY && in check_process_timers()
/linux/security/apparmor/
H A Dresource.c200 rlim->rlim_cur != RLIM_INFINITY && in __aa_transition_rlimits()
/linux/arch/s390/mm/
H A Dmmap.c33 if (rlim_stack->rlim_cur == RLIM_INFINITY) in mmap_is_legacy()
/linux/tools/perf/util/
H A Dbpf_counter.c50 struct rlimit rinf = { RLIM_INFINITY, RLIM_INFINITY }; in set_max_rlimit()
H A Ddso.c749 if (l.rlim_cur == RLIM_INFINITY)
778 if (fd_limit == RLIM_INFINITY) in try_to_open_dso()
/linux/fs/
H A Dattr.c262 if (limit != RLIM_INFINITY && offset > limit) in inode_newsize_ok()
H A Dbinfmt_flat.c501 if (rlim >= RLIM_INFINITY) in load_flat_file()
/linux/tools/bpf/bpftool/
H A Dcommon.c147 struct rlimit rinf = { RLIM_INFINITY, RLIM_INFINITY }; in set_max_rlimit()
/linux/kernel/
H A Dfork.c884 set_userns_rlimit_max(&init_user_ns, UCOUNT_RLIMIT_NPROC, RLIM_INFINITY); in fork_init()
885 set_userns_rlimit_max(&init_user_ns, UCOUNT_RLIMIT_MSGQUEUE, RLIM_INFINITY); in fork_init()
886 set_userns_rlimit_max(&init_user_ns, UCOUNT_RLIMIT_SIGPENDING, RLIM_INFINITY); in fork_init()
887 set_userns_rlimit_max(&init_user_ns, UCOUNT_RLIMIT_MEMLOCK, RLIM_INFINITY); in fork_init()
H A Duser_namespace.c65 unsigned long limit = RLIM_INFINITY; in enforced_nproc_rlimit()
/linux/arch/sparc/kernel/
H A Dsys_sparc_64.c309 gap == RLIM_INFINITY || in arch_pick_mmap_layout()
/linux/tools/testing/selftests/net/
H A Dreuseport_bpf.c445 if (rlim_old.rlim_cur != RLIM_INFINITY) { in main_ctor()
/linux/net/core/
H A Dskbuff.c1694 if (rlim == RLIM_INFINITY) in mm_account_pinned_pages()
/linux/tools/lib/bpf/
H A Dlibbpf.c313 if (limit.rlim_cur == RLIM_INFINITY) in pr_perm_msg()