Home
last modified time | relevance | path

Searched refs:rlimit (Results 1 – 13 of 13) 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.h46 int getrlimit(int __resource, struct rlimit* _Nonnull __limit);
47 int setrlimit(int __resource, const struct rlimit* _Nonnull __limit);
57 int prlimit(pid_t __pid, int __resource, const struct rlimit* _Nullable __new_limit, struct rlimit*…
/bionic/tests/
Dsys_resource_test.cpp23 ASSERT_EQ(sizeof(rlimit), sizeof(rlimit64)); in TEST()
26 ASSERT_NE(sizeof(rlimit), sizeof(rlimit64)); in TEST()
44 rlimit l32_;
46 rlimit pr_l32_;
Dunistd_test.cpp1164 rlimit rl; in TEST()
Dpthread_test.cpp1840 rlimit rl; in TEST()
/bionic/libc/bionic/
Dlegacy_32_bit_support.cpp92 int prlimit(pid_t pid, int resource, const rlimit* n32, rlimit* o32) { in prlimit()
Dpthread_attr.cpp161 rlimit stack_limit; in __pthread_attr_getstack_main_thread()
Dndk_cruft.cpp283 struct rlimit r; in getdtablesize()
Dfdsan.cpp66 struct rlimit rlim = { .rlim_max = 32768 }; in at()
Dsysconf.cpp146 rlimit rl; in __sysconf_rlimit()
Dspawn.cpp61 struct rlimit m; in cloexec_except_stdioe()
/bionic/libc/kernel/uapi/linux/
Dresource.h33 struct rlimit { struct
/bionic/libc/
DSYSCALLS.TXT75 # On LP64, rlimit and rlimit64 are the same.
77 int getrlimit:ugetrlimit(int, struct rlimit*) lp32
78 int getrlimit|getrlimit64(int, struct rlimit*) lp64
79 int setrlimit(int, const struct rlimit*) lp32
80 int setrlimit|setrlimit64(int, const struct rlimit*) lp64