Home
last modified time | relevance | path

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

1234

/third_party/musl/porting/liteos_m/kernel/include/sys/
Dresource.h72 #define RLIM_INFINITY (~0ULL) macro
73 #define RLIM_SAVED_CUR RLIM_INFINITY
74 #define RLIM_SAVED_MAX RLIM_INFINITY
99 #define RLIM64_INFINITY RLIM_INFINITY
/third_party/musl/porting/uniproton/kernel/include/sys/
Dresource.h72 #define RLIM_INFINITY (~0ULL) macro
73 #define RLIM_SAVED_CUR RLIM_INFINITY
74 #define RLIM_SAVED_MAX RLIM_INFINITY
99 #define RLIM64_INFINITY RLIM_INFINITY
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dresource.h72 #define RLIM_INFINITY (~0ULL) macro
73 #define RLIM_SAVED_CUR RLIM_INFINITY
74 #define RLIM_SAVED_MAX RLIM_INFINITY
99 #define RLIM64_INFINITY RLIM_INFINITY
/third_party/musl/include/sys/
Dresource.h72 #define RLIM_INFINITY (~0ULL) macro
73 #define RLIM_SAVED_CUR RLIM_INFINITY
74 #define RLIM_SAVED_MAX RLIM_INFINITY
99 #define RLIM64_INFINITY RLIM_INFINITY
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dresource.h72 #define RLIM_INFINITY (~0ULL) macro
73 #define RLIM_SAVED_CUR RLIM_INFINITY
74 #define RLIM_SAVED_MAX RLIM_INFINITY
99 #define RLIM64_INFINITY RLIM_INFINITY
/third_party/musl/src/linux/
Dprlimit.c5 #define FIX(x) do{ if ((x)>=SYSCALL_RLIM_INFINITY) (x)=RLIM_INFINITY; }while(0)
11 if (new_limit && SYSCALL_RLIM_INFINITY != RLIM_INFINITY) { in prlimit()
18 if (!r && old_limit && SYSCALL_RLIM_INFINITY != RLIM_INFINITY) { in prlimit()
/third_party/musl/src/misc/
Dgetrlimit.c5 #define FIX(x) do{ if ((x)>=SYSCALL_RLIM_INFINITY) (x)=RLIM_INFINITY; }while(0)
30 rlim->rlim_cur = k_rlim[0] == -1UL ? RLIM_INFINITY : k_rlim[0]; in getrlimit()
31 rlim->rlim_max = k_rlim[1] == -1UL ? RLIM_INFINITY : k_rlim[1]; in getrlimit()
Dsetrlimit.c7 #define FIX(x) do{ if ((x)>=SYSCALL_RLIM_INFINITY) (x)=RLIM_INFINITY; }while(0)
14 if (SYSCALL_RLIM_INFINITY != RLIM_INFINITY) { in __setrlimit()
54 if (SYSCALL_RLIM_INFINITY != RLIM_INFINITY) { in setrlimit()
/third_party/python/Modules/
Dresource.c172 rl_out->rlim_cur = rl_out->rlim_cur & RLIM_INFINITY; in py2rlimit()
173 rl_out->rlim_max = rl_out->rlim_max & RLIM_INFINITY; in py2rlimit()
488 if (sizeof(RLIM_INFINITY) > sizeof(long)) { in resource_exec()
489 v = PyLong_FromLongLong((long long) RLIM_INFINITY); in resource_exec()
492 v = PyLong_FromLong((long) RLIM_INFINITY); in resource_exec()
/third_party/ltp/testcases/kernel/mem/tunable/
Dovercommit_memory.c110 if (lim.rlim_cur != RLIM_INFINITY) { in setup()
111 lim.rlim_cur = RLIM_INFINITY; in setup()
112 lim.rlim_max = RLIM_INFINITY; in setup()
/third_party/musl/porting/liteos_a/user/src/misc/
Dsetrlimit.c7 #define FIX(x) do{ if ((x)>=SYSCALL_RLIM_INFINITY) (x)=RLIM_INFINITY; }while(0)
13 if (SYSCALL_RLIM_INFINITY != RLIM_INFINITY) { in __setrlimit()
Dgetrlimit.c5 #define FIX(x) do{ if ((x)>=SYSCALL_RLIM_INFINITY) (x)=RLIM_INFINITY; }while(0)
/third_party/toybox/toys/posix/
Dulimit.c98 if (rl == RLIM_INFINITY) printf("unlimited\n"); in ulimit_main()
111 if (tolower(**toys.optargs) == 'u') val = RLIM_INFINITY; in ulimit_main()
/third_party/curl/tests/libtest/
Dlib518.c104 #ifdef RLIM_INFINITY in rlim2str()
105 if(val == RLIM_INFINITY) { in rlim2str()
224 #ifdef RLIM_INFINITY in rlimit()
225 (rl.rlim_cur != RLIM_INFINITY) && in rlimit()
Dlib537.c104 #ifdef RLIM_INFINITY in rlim2str()
105 if(val == RLIM_INFINITY) { in rlim2str()
248 #ifdef RLIM_INFINITY
249 if((rl.rlim_cur > 0) && (rl.rlim_cur != RLIM_INFINITY)) {
/third_party/mksh/
Dulimit.c256 #define RL_U (rlim_t)RLIM_INFINITY
301 limit.rlim_cur = RLIM_INFINITY; in set_ulimit()
302 limit.rlim_max = RLIM_INFINITY; in set_ulimit()
/third_party/ltp/testcases/kernel/mem/thp/
Dthp01.c106 .rlim_cur = RLIM_INFINITY, in setup()
107 .rlim_max = RLIM_INFINITY, in setup()
/third_party/rust/crates/libc/src/unix/linux_like/linux/arch/mips/
Dmod.rs259 pub const RLIM_INFINITY: ::rlim_t = !0; constant
275 pub const RLIM_INFINITY: ::rlim_t = !0; constant
283 pub const RLIM_INFINITY: ::rlim_t = 0x7fffffff; constant
/third_party/rust/crates/rustix/src/backend/linux_raw/process/
Dsyscalls.rs28 rlimit64, PRIO_PGRP, PRIO_PROCESS, PRIO_USER, RLIM64_INFINITY, RLIM_INFINITY,
456 let current = if lim.rlim_cur == RLIM_INFINITY as _ { in rlimit_from_linux_old()
461 let maximum = if lim.rlim_max == RLIM_INFINITY as _ { in rlimit_from_linux_old()
474 None => RLIM_INFINITY as _, in rlimit_to_linux_old()
478 None => RLIM_INFINITY as _, in rlimit_to_linux_old()
/third_party/e2fsprogs/
D0016-e2fsprogs-add-sw64.patch126 #undef RLIM_INFINITY
129 #define RLIM_INFINITY ((unsigned long)(~0UL>>1))
131 #define RLIM_INFINITY (~0UL)
/third_party/libunwind/libunwind/tests/
DGperf-simple.c237 rlim.rlim_cur = RLIM_INFINITY; in main()
238 rlim.rlim_max = RLIM_INFINITY; in main()
DGperf-trace.c223 rlim.rlim_cur = RLIM_INFINITY; in main()
224 rlim.rlim_max = RLIM_INFINITY; in main()
/third_party/rust/crates/libc/src/unix/linux_like/linux/arch/sparc/
Dmod.rs224 pub const RLIM_INFINITY: ::rlim_t = !0; constant
226 pub const RLIM_INFINITY: ::rlim_t = 0x7fffffff; constant
/third_party/musl/porting/linux/user/src/legacy/
Dulimit.c19 return rl.rlim_cur == RLIM_INFINITY? LONG_MAX : rl.rlim_cur / 512; in ulimit()
/third_party/musl/src/legacy/
Dulimit.c25 return rl.rlim_cur == RLIM_INFINITY ? LONG_MAX : rl.rlim_cur / 512; in ulimit()

1234