/third_party/pulseaudio/conf/ |
D | daemon.conf | 64 ; rlimit-fsize = -1 65 ; rlimit-data = -1 66 ; rlimit-stack = -1 67 ; rlimit-core = -1 68 ; rlimit-as = -1 69 ; rlimit-rss = -1 70 ; rlimit-nproc = -1 71 ; rlimit-nofile = 256 72 ; rlimit-memlock = -1 73 ; rlimit-locks = -1 [all …]
|
/third_party/pulseaudio/src/daemon/ |
D | daemon.conf.in | 69 ; rlimit-fsize = -1 70 ; rlimit-data = -1 71 ; rlimit-stack = -1 72 ; rlimit-core = -1 73 ; rlimit-as = -1 74 ; rlimit-rss = -1 75 ; rlimit-nproc = -1 76 ; rlimit-nofile = 256 77 ; rlimit-memlock = -1 78 ; rlimit-locks = -1 [all …]
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
D | resource.h | 22 struct rlimit { struct 49 int getrlimit (int, struct rlimit *); 50 int setrlimit (int, const struct rlimit *); 57 int prlimit(pid_t, int, const struct rlimit *, struct rlimit *); 104 #define rlimit64 rlimit
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | resource.h | 22 struct rlimit { struct 49 int getrlimit (int, struct rlimit *); 50 int setrlimit (int, const struct rlimit *); 57 int prlimit(pid_t, int, const struct rlimit *, struct rlimit *); 104 #define rlimit64 rlimit
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | resource.h | 22 struct rlimit { struct 49 int getrlimit (int, struct rlimit *); 50 int setrlimit (int, const struct rlimit *); 57 int prlimit(pid_t, int, const struct rlimit *, struct rlimit *); 104 #define rlimit64 rlimit
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | resource.h | 22 struct rlimit { struct 49 int getrlimit (int, struct rlimit *); 50 int setrlimit (int, const struct rlimit *); 57 int prlimit(pid_t, int, const struct rlimit *, struct rlimit *); 104 #define rlimit64 rlimit
|
/third_party/musl/ndk_musl_include/sys/ |
D | resource.h | 22 struct rlimit { struct 49 int getrlimit (int, struct rlimit *); 50 int setrlimit (int, const struct rlimit *); 57 int prlimit(pid_t, int, const struct rlimit *, struct rlimit *); 104 #define rlimit64 rlimit
|
/third_party/musl/include/sys/ |
D | resource.h | 22 struct rlimit { struct 49 int getrlimit (int, struct rlimit *); 50 int setrlimit (int, const struct rlimit *); 57 int prlimit(pid_t, int, const struct rlimit *, struct rlimit *); 104 #define rlimit64 rlimit
|
/third_party/musl/porting/liteos_a/user/src/misc/ |
D | setrlimit.c | 9 static int __setrlimit(int resource, const struct rlimit *rlim) in __setrlimit() 12 struct rlimit tmp; in __setrlimit() 26 const struct rlimit *rlim; 38 int setrlimit(int resource, const struct rlimit *rlim) in setrlimit()
|
/third_party/rust/crates/nix/src/sys/ |
D | resource.rs | 14 use libc::{__rlimit_resource_t, rlimit}; 25 use libc::rlimit; 202 let mut old_rlim = mem::MaybeUninit::<rlimit>::uninit(); in getrlimit() 213 let rlimit { rlim_cur, rlim_max } = unsafe { old_rlim.assume_init() }; in getrlimit() localVariable 253 let new_rlim = rlimit { in setrlimit() 259 … let res = unsafe { libc::setrlimit(resource as __rlimit_resource_t, &new_rlim as *const rlimit) }; in setrlimit() 261 let res = unsafe { libc::setrlimit(resource as c_int, &new_rlim as *const rlimit) }; in setrlimit()
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
D | getrlimit.c | 29 struct rlimit rl; in getrlimit_0100() 35 struct rlimit retrl; in getrlimit_0100() 49 struct rlimit limit; in getrlimit_0200()
|
/third_party/musl/src/linux/ |
D | prlimit.c | 7 int prlimit(pid_t pid, int resource, const struct rlimit *new_limit, struct rlimit *old_limit) in prlimit() 9 struct rlimit tmp; in prlimit()
|
/third_party/ltp/testcases/cve/ |
D | stack_clash.c | 140 struct rlimit rlimit; in do_child() local 142 rlimit.rlim_cur = rlimit.rlim_max = RLIM_INFINITY; in do_child() 143 SAFE_SETRLIMIT(RLIMIT_STACK, &rlimit); in do_child()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
D | prlimit.c | 28 struct rlimit new_limit = {.rlim_cur = lim, .rlim_max = lim}; in prlimit_0100() 30 struct rlimit old_limit = {.rlim_cur = 0, .rlim_max = 0}; in prlimit_0100() 48 struct rlimit new_limit = {.rlim_cur = lim, .rlim_max = lim}; in prlimit_0200()
|
/third_party/musl/libc-test/src/api/ |
D | sys_resource.c | 19 struct rlimit x; in f() 36 {int(*p)(int,struct rlimit*) = getrlimit;} in f() 39 {int(*p)(int,const struct rlimit*) = setrlimit;} in f()
|
/third_party/ltp/testcases/kernel/syscalls/sched_setscheduler/ |
D | sched_setscheduler03.c | 60 static void l_rlimit_show(const int type, struct rlimit *limit) in l_rlimit_show() 69 static void l_rlimit_setup(const int type, struct rlimit *limit) in l_rlimit_setup() 71 struct rlimit tmp_rlimit; in l_rlimit_setup() 108 struct rlimit limit; in setup()
|
/third_party/ltp/testcases/kernel/syscalls/mlock/ |
D | mlock02.c | 56 static struct rlimit original; 99 struct rlimit rl; in test_enomem1() 130 struct rlimit rl; in test_enomem2() 160 struct rlimit rl; in test_eperm()
|
/third_party/toybox/toys/posix/ |
D | ulimit.c | 54 int prlimit(pid_t pid, int resource, const struct rlimit *new_limit, 55 struct rlimit *old_limit); 62 struct rlimit rr; in ulimit_main()
|
/third_party/rust/crates/rustix/src/process/ |
D | mod.rs | 19 mod rlimit; module 67 pub use rlimit::prlimit; 69 pub use rlimit::{getrlimit, setrlimit, Resource, Rlimit};
|
/third_party/ltp/testcases/kernel/syscalls/getrlimit/ |
D | getrlimit02.c | 23 static struct rlimit rlim; 28 struct rlimit *rlim; /* rlimit structure */
|
/third_party/python/Modules/ |
D | resource.c | 139 py2rlimit(PyObject *limits, struct rlimit *rl_out) in py2rlimit() 182 rlimit2py(struct rlimit rl) in rlimit2py() 204 struct rlimit rl; in resource_getrlimit_impl() 232 struct rlimit rl; in resource_setrlimit_impl() 281 struct rlimit old_limit, new_limit; in resource_prlimit_impl()
|
/third_party/ltp/testcases/kernel/syscalls/setrlimit/ |
D | setrlimit02.c | 15 static struct rlimit rlim; 19 struct rlimit *rlim;
|
D | setrlimit03.c | 27 static struct rlimit rlim1, rlim2; 31 struct rlimit *rlimt;
|
/third_party/curl/tests/libtest/ |
D | lib518.c | 54 static struct rlimit num_open; 102 static int rlimit(int keep_open) in rlimit() function 107 struct rlimit rl; in rlimit() 469 if(rlimit(FALSE)) { in test() 476 if(rlimit(TRUE)) { in test()
|
D | lib537.c | 54 static struct rlimit num_open; 102 static int rlimit(int keep_open) function 108 struct rlimit rl; 470 if(rlimit(FALSE)) { 477 if(rlimit(TRUE)) {
|