/external/strace/tests-m32/ |
D | setrlimit.c | 40 kernel_ulong_t *const rlimit = tail_alloc(sizeof(*rlimit) * 2); in main() local 48 struct rlimit libc_rlim = {}; in main() 51 rlimit[0] = libc_rlim.rlim_cur; in main() 52 rlimit[1] = libc_rlim.rlim_max; in main() 54 rc = syscall(__NR_setrlimit, res, rlimit); in main() 58 sprint_rlim(rlimit[0]), sprint_rlim(rlimit[1]), in main()
|
D | prlimit64.c | 66 uint64_t *const rlimit = tail_alloc(sizeof(*rlimit) * 2); in main() local 71 long rc = syscall(__NR_prlimit64, pid, res, 0, rlimit); in main() 74 (unsigned) pid, xlat->str, rlimit, in main() 80 sprint_rlim(rlimit[0]), in main() 81 sprint_rlim(rlimit[1])); in main()
|
D | xgetrlimit.c | 66 kernel_ulong_t *const rlimit = tail_alloc(sizeof(*rlimit) * 2); in main() local 77 rc = syscall(NR_GETRLIMIT, res, rlimit); in main() 84 sprint_rlim(rlimit[0]), sprint_rlim(rlimit[1])); in main()
|
D | pipe_maxfd.c | 48 struct rlimit rlim; in pipe_maxfd() 52 struct rlimit rlim_new; in pipe_maxfd()
|
/external/strace/tests/ |
D | setrlimit.c | 40 kernel_ulong_t *const rlimit = tail_alloc(sizeof(*rlimit) * 2); in main() local 48 struct rlimit libc_rlim = {}; in main() 51 rlimit[0] = libc_rlim.rlim_cur; in main() 52 rlimit[1] = libc_rlim.rlim_max; in main() 54 rc = syscall(__NR_setrlimit, res, rlimit); in main() 58 sprint_rlim(rlimit[0]), sprint_rlim(rlimit[1]), in main()
|
D | prlimit64.c | 66 uint64_t *const rlimit = tail_alloc(sizeof(*rlimit) * 2); in main() local 71 long rc = syscall(__NR_prlimit64, pid, res, 0, rlimit); in main() 74 (unsigned) pid, xlat->str, rlimit, in main() 80 sprint_rlim(rlimit[0]), in main() 81 sprint_rlim(rlimit[1])); in main()
|
D | xgetrlimit.c | 66 kernel_ulong_t *const rlimit = tail_alloc(sizeof(*rlimit) * 2); in main() local 77 rc = syscall(NR_GETRLIMIT, res, rlimit); in main() 84 sprint_rlim(rlimit[0]), sprint_rlim(rlimit[1])); in main()
|
D | pipe_maxfd.c | 48 struct rlimit rlim; in pipe_maxfd() 52 struct rlimit rlim_new; in pipe_maxfd()
|
/external/strace/tests-mx32/ |
D | setrlimit.c | 40 kernel_ulong_t *const rlimit = tail_alloc(sizeof(*rlimit) * 2); in main() local 48 struct rlimit libc_rlim = {}; in main() 51 rlimit[0] = libc_rlim.rlim_cur; in main() 52 rlimit[1] = libc_rlim.rlim_max; in main() 54 rc = syscall(__NR_setrlimit, res, rlimit); in main() 58 sprint_rlim(rlimit[0]), sprint_rlim(rlimit[1]), in main()
|
D | prlimit64.c | 66 uint64_t *const rlimit = tail_alloc(sizeof(*rlimit) * 2); in main() local 71 long rc = syscall(__NR_prlimit64, pid, res, 0, rlimit); in main() 74 (unsigned) pid, xlat->str, rlimit, in main() 80 sprint_rlim(rlimit[0]), in main() 81 sprint_rlim(rlimit[1])); in main()
|
D | xgetrlimit.c | 66 kernel_ulong_t *const rlimit = tail_alloc(sizeof(*rlimit) * 2); in main() local 77 rc = syscall(NR_GETRLIMIT, res, rlimit); in main() 84 sprint_rlim(rlimit[0]), sprint_rlim(rlimit[1])); in main()
|
D | pipe_maxfd.c | 48 struct rlimit rlim; in pipe_maxfd() 52 struct rlimit rlim_new; in pipe_maxfd()
|
/external/valgrind/none/tests/darwin/ |
D | Makefile.am | 11 rlimit.stderr.exp rlimit.vgtest 18 rlimit program
|
/external/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()
|
/external/toybox/toys/posix/ |
D | ulimit.c | 53 int prlimit(pid_t pid, int resource, const struct rlimit *new_limit, 54 struct rlimit *old_limit); 61 struct rlimit rr; in ulimit_main()
|
/external/libchrome/sandbox/linux/services/ |
D | resource_limits.cc | 16 struct rlimit old_rlimit; in Lower() 20 const struct rlimit new_rlimit = {std::min(old_rlimit.rlim_cur, limit), in Lower()
|
/external/linux-kselftest/tools/testing/selftests/mqueue/ |
D | mq_open_tests.c | 51 struct rlimit saved_limits, cur_limits; 62 static inline void getr(int type, struct rlimit *rlim); 63 static inline void setr(int type, struct rlimit *rlim); 138 static inline void getr(int type, struct rlimit *rlim) in getr() 144 static inline void setr(int type, struct rlimit *rlim) in setr()
|
/external/ltp/testcases/kernel/syscalls/getrlimit/ |
D | getrlimit02.c | 83 static struct rlimit rlim; 87 struct rlimit *rlim; /* rlimit structure */
|
/external/tcpdump/lbl/ |
D | os-sunos4.h | 97 struct rlimit; 99 int getrlimit(int, struct rlimit *); 148 int setrlimit(int, struct rlimit *);
|
/external/libpcap/lbl/ |
D | os-sunos4.h | 97 struct rlimit; 99 int getrlimit(int, struct rlimit *); 148 int setrlimit(int, struct rlimit *);
|
/external/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() 471 if(rlimit(FALSE)) { in test() 478 if(rlimit(TRUE)) { in test()
|
D | lib537.c | 55 static struct rlimit num_open; 103 static int rlimit(int keep_open) function 109 struct rlimit rl; 473 if(rlimit(FALSE)) { 480 if(rlimit(TRUE)) {
|
/external/libchrome/base/process/ |
D | process_metrics_posix.cc | 44 struct rlimit nofile; in GetMaxFds() 61 struct rlimit limits; in SetFdLimit()
|
/external/ltp/testcases/kernel/syscalls/setrlimit/ |
D | setrlimit02.c | 54 struct rlimit rlim; 61 struct rlimit *rlim;
|
/external/valgrind/none/tests/ |
D | rlimit_nofile.c | 11 struct rlimit oldrlim; in main() 12 struct rlimit newrlim; in main()
|