/external/strace/tests/ |
setrlimit.c | 40 kernel_ulong_t *const rlimit = tail_alloc(sizeof(*rlimit) * 2); local 48 struct rlimit libc_rlim = {}; 51 rlimit[0] = libc_rlim.rlim_cur; 52 rlimit[1] = libc_rlim.rlim_max; 54 rc = syscall(__NR_setrlimit, res, rlimit); 58 sprint_rlim(rlimit[0]), sprint_rlim(rlimit[1]),
|
prlimit64.c | 66 uint64_t *const rlimit = tail_alloc(sizeof(*rlimit) * 2); local 71 long rc = syscall(__NR_prlimit64, pid, res, 0, rlimit); 74 (unsigned) pid, xlat->str, rlimit, 80 sprint_rlim(rlimit[0]), 81 sprint_rlim(rlimit[1]));
|
xgetrlimit.c | 66 kernel_ulong_t *const rlimit = tail_alloc(sizeof(*rlimit) * 2); local 77 rc = syscall(NR_GETRLIMIT, res, rlimit); 84 sprint_rlim(rlimit[0]), sprint_rlim(rlimit[1]));
|
/external/strace/tests-m32/ |
setrlimit.c | 40 kernel_ulong_t *const rlimit = tail_alloc(sizeof(*rlimit) * 2); local 48 struct rlimit libc_rlim = {}; 51 rlimit[0] = libc_rlim.rlim_cur; 52 rlimit[1] = libc_rlim.rlim_max; 54 rc = syscall(__NR_setrlimit, res, rlimit); 58 sprint_rlim(rlimit[0]), sprint_rlim(rlimit[1]),
|
prlimit64.c | 66 uint64_t *const rlimit = tail_alloc(sizeof(*rlimit) * 2); local 71 long rc = syscall(__NR_prlimit64, pid, res, 0, rlimit); 74 (unsigned) pid, xlat->str, rlimit, 80 sprint_rlim(rlimit[0]), 81 sprint_rlim(rlimit[1]));
|
xgetrlimit.c | 66 kernel_ulong_t *const rlimit = tail_alloc(sizeof(*rlimit) * 2); local 77 rc = syscall(NR_GETRLIMIT, res, rlimit); 84 sprint_rlim(rlimit[0]), sprint_rlim(rlimit[1]));
|
/external/strace/tests-mx32/ |
setrlimit.c | 40 kernel_ulong_t *const rlimit = tail_alloc(sizeof(*rlimit) * 2); local 48 struct rlimit libc_rlim = {}; 51 rlimit[0] = libc_rlim.rlim_cur; 52 rlimit[1] = libc_rlim.rlim_max; 54 rc = syscall(__NR_setrlimit, res, rlimit); 58 sprint_rlim(rlimit[0]), sprint_rlim(rlimit[1]),
|
prlimit64.c | 66 uint64_t *const rlimit = tail_alloc(sizeof(*rlimit) * 2); local 71 long rc = syscall(__NR_prlimit64, pid, res, 0, rlimit); 74 (unsigned) pid, xlat->str, rlimit, 80 sprint_rlim(rlimit[0]), 81 sprint_rlim(rlimit[1]));
|
xgetrlimit.c | 66 kernel_ulong_t *const rlimit = tail_alloc(sizeof(*rlimit) * 2); local 77 rc = syscall(NR_GETRLIMIT, res, rlimit); 84 sprint_rlim(rlimit[0]), sprint_rlim(rlimit[1]));
|
/prebuilts/go/darwin-x86/src/runtime/ |
os_linux_be64.go | 23 type rlimit struct { type
|
os_linux_generic.go | 30 type rlimit struct { type
|
os_linux_mips64x.go | 43 type rlimit struct { type
|
os_linux_mipsx.go | 43 type rlimit struct { type
|
/prebuilts/go/linux-x86/src/runtime/ |
os_linux_be64.go | 23 type rlimit struct { type
|
os_linux_generic.go | 30 type rlimit struct { type
|
os_linux_mips64x.go | 43 type rlimit struct { type
|
os_linux_mipsx.go | 43 type rlimit struct { type
|
/external/curl/tests/libtest/ |
lib518.c | 52 static struct rlimit num_open; 100 static int rlimit(int keep_open) function 105 struct rlimit rl; 250 * be always free()ed before exiting the rlimit() function so 469 if(rlimit(FALSE)) { 470 fprintf(stdout, "rlimit problem: %s\n", msgbuff); 476 if(rlimit(TRUE)) {
|
lib537.c | 53 static struct rlimit num_open; 101 static int rlimit(int keep_open) function 107 struct rlimit rl; 224 * be always free()ed before exiting the rlimit() function so 471 if(rlimit(FALSE)) { 472 fprintf(stdout, "rlimit problem: %s\n", msgbuff); 478 if(rlimit(TRUE)) {
|
/bionic/libc/kernel/uapi/linux/ |
resource.h | 45 struct rlimit { struct
|
/external/kernel-headers/original/uapi/linux/ |
resource.h | 43 struct rlimit { struct
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
resource.h | 42 struct rlimit { struct
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
resource.h | 105 /* 4.3BSD compatibility rlimit argument structure. */
112 struct rlimit {
struct 128 int dosetrlimit(struct lwp *, struct proc *, int, struct rlimit *);
136 int getrlimit(int, struct rlimit *);
139 int setrlimit(int, const struct rlimit *);
|
/external/ltp/testcases/cve/ |
stack_clash.c | 154 struct rlimit rlimit; local 156 rlimit.rlim_cur = rlimit.rlim_max = RLIM_INFINITY; 157 SAFE_SETRLIMIT(RLIMIT_STACK, &rlimit);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/ |
resource.h | 141 struct rlimit struct 249 __const struct rlimit *__new_limit, 250 struct rlimit *__old_limit) __THROW; 255 __const struct rlimit *__new_limit, 256 struct rlimit *__old_limit), prlimit64);
|