Home
last modified time | relevance | path

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

12

/linux-6.6.21/include/asm-generic/
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-6.6.21/include/uapi/asm-generic/
Dresource.h57 #ifndef RLIM_INFINITY
58 # define RLIM_INFINITY (~0UL) macro
/linux-6.6.21/tools/perf/util/
Dbpf_counter.h88 struct rlimit rinf = { RLIM_INFINITY, RLIM_INFINITY }; in set_max_rlimit()
Ddso.c660 if (l.rlim_cur == RLIM_INFINITY) in get_fd_limit()
689 if (fd_limit == RLIM_INFINITY) in may_cache_fd()
/linux-6.6.21/tools/testing/selftests/powerpc/ptrace/
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()
/linux-6.6.21/tools/testing/selftests/mm/
Dcompaction_test.c178 lim.rlim_cur = RLIM_INFINITY; in main()
179 lim.rlim_max = RLIM_INFINITY; in main()
/linux-6.6.21/arch/alpha/include/uapi/asm/
Dresource.h19 #define RLIM_INFINITY 0x7ffffffffffffffful macro
/linux-6.6.21/arch/sparc/include/uapi/asm/
Dresource.h26 #define RLIM_INFINITY 0x7fffffff macro
/linux-6.6.21/arch/mips/include/uapi/asm/
Dresource.h31 # define RLIM_INFINITY 0x7fffffffUL macro
/linux-6.6.21/arch/um/os-Linux/
Dstart_up.c312 if (lim.rlim_cur == RLIM_INFINITY) in check_coredump_limit()
318 if (lim.rlim_max == RLIM_INFINITY) in check_coredump_limit()
Dmain.c34 if ((lim.rlim_cur == RLIM_INFINITY) || (lim.rlim_cur > STACKSIZE)) { in set_stklim()
/linux-6.6.21/tools/testing/selftests/mqueue/
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()
/linux-6.6.21/kernel/time/
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()
/linux-6.6.21/arch/s390/mm/
Dmmap.c33 if (rlim_stack->rlim_cur == RLIM_INFINITY) in mmap_is_legacy()
/linux-6.6.21/kernel/
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()
Dacct.c503 current->signal->rlim[RLIMIT_FSIZE].rlim_cur = RLIM_INFINITY; in do_acct_process()
Dfork.c1072 set_userns_rlimit_max(&init_user_ns, UCOUNT_RLIMIT_NPROC, RLIM_INFINITY); in fork_init()
1073 set_userns_rlimit_max(&init_user_ns, UCOUNT_RLIMIT_MSGQUEUE, RLIM_INFINITY); in fork_init()
1074 set_userns_rlimit_max(&init_user_ns, UCOUNT_RLIMIT_SIGPENDING, RLIM_INFINITY); in fork_init()
1075 set_userns_rlimit_max(&init_user_ns, UCOUNT_RLIMIT_MEMLOCK, RLIM_INFINITY); in fork_init()
/linux-6.6.21/fs/
Dattr.c256 if (limit != RLIM_INFINITY && offset > limit) in inode_newsize_ok()
/linux-6.6.21/arch/parisc/kernel/
Dsys_parisc.c64 if (stack_max == RLIM_INFINITY) in calc_max_stack_size()
/linux-6.6.21/tools/bpf/bpftool/
Dcommon.c144 struct rlimit rinf = { RLIM_INFINITY, RLIM_INFINITY }; in set_max_rlimit()
/linux-6.6.21/arch/sparc/kernel/
Dsys_sparc_64.c292 gap == RLIM_INFINITY || in arch_pick_mmap_layout()
/linux-6.6.21/mm/
Dutil.c401 if (rlim_stack->rlim_cur == RLIM_INFINITY && in mmap_is_legacy()
Dmlock.c759 if (lock_limit != RLIM_INFINITY) in user_shm_lock()
/linux-6.6.21/tools/testing/selftests/net/
Dreuseport_bpf.c444 if (rlim_old.rlim_cur != RLIM_INFINITY) { in main_ctor()
/linux-6.6.21/fs/zonefs/
Dfile.c395 if (limit != RLIM_INFINITY) { in zonefs_write_check_limits()

12