Home
last modified time | relevance | path

Searched refs:rlimit (Results 1 – 12 of 12) sorted by relevance

/bionic/tests/headers/posix/
Dsys_resource_h.c47 TYPE(struct rlimit); in sys_resource_h()
48 STRUCT_MEMBER(struct rlimit, rlim_t, rlim_cur); in sys_resource_h()
49 STRUCT_MEMBER(struct rlimit, rlim_t, rlim_max); in sys_resource_h()
66 FUNCTION(getrlimit, int (*f)(int, struct rlimit*)); in sys_resource_h()
69 FUNCTION(setrlimit, int (*f)(int, const struct rlimit*)); in sys_resource_h()
/bionic/libc/include/sys/
Dresource.h45 int getrlimit(int __resource, struct rlimit* __limit);
46 int setrlimit(int __resource, const struct rlimit* __limit);
56 int prlimit(pid_t __pid, int __resource, const struct rlimit* __new_limit, struct rlimit* __old_lim…
/bionic/tests/
Dsys_resource_test.cpp23 ASSERT_EQ(sizeof(rlimit), sizeof(rlimit64)); in TEST()
26 ASSERT_NE(sizeof(rlimit), sizeof(rlimit64)); in TEST()
43 rlimit l32_;
45 rlimit pr_l32_;
Dunistd_test.cpp1117 rlimit rl; in TEST()
Dpthread_test.cpp1761 rlimit rl; in TEST()
/bionic/libc/bionic/
Dlegacy_32_bit_support.cpp106 int prlimit(pid_t pid, int resource, const rlimit* n32, rlimit* o32) { in prlimit()
Dsysconf.cpp44 rlimit rl; in __sysconf_rlimit()
Dpthread_attr.cpp190 rlimit stack_limit; in __pthread_attr_getstack_main_thread()
Dndk_cruft.cpp283 struct rlimit r; in getdtablesize()
Dfdsan.cpp65 struct rlimit rlim = { .rlim_max = 32768 }; in at()
/bionic/libc/kernel/uapi/linux/
Dresource.h45 struct rlimit { struct
/bionic/libc/
DSYSCALLS.TXT69 # On LP64, rlimit and rlimit64 are the same.
71 int getrlimit:ugetrlimit(int, struct rlimit*) lp32
72 int getrlimit|getrlimit64(int, struct rlimit*) lp64
73 int setrlimit(int, const struct rlimit*) lp32
74 int setrlimit|setrlimit64(int, const struct rlimit*) lp64