/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | tst-rlimit-infinity.c | 47 test_getrlimit (int resource, rlim_t exp_cur, rlim_t exp_max) in test_getrlimit() argument 50 TEST_VERIFY_EXIT (getrlimit (resource, &r) == 0); in test_getrlimit() 56 test_getrlimit64 (int resource, rlim64_t exp_cur, rlim64_t exp_max) in test_getrlimit64() argument 59 TEST_VERIFY_EXIT (getrlimit64 (resource, &r) == 0); in test_getrlimit64() 65 test_prlimit_get (int resource, rlim_t exp_cur, rlim_t exp_max) in test_prlimit_get() argument 68 TEST_VERIFY_EXIT (prlimit (0, resource, NULL, &r) == 0); in test_prlimit_get() 74 test_prlimit64_get (int resource, rlim64_t exp_cur, rlim64_t exp_max) in test_prlimit64_get() argument 77 TEST_COMPARE (prlimit64 (0, resource, NULL, &r), 0); in test_prlimit64_get() 83 test_setrlimit (int resource, rlim_t new_cur, rlim_t new_max) in test_setrlimit() argument 86 TEST_COMPARE (setrlimit (resource, &r), 0); in test_setrlimit() [all …]
|
D | getrlimit.c | 35 __new_getrlimit (enum __rlimit_resource resource, struct rlimit *rlim) in __new_getrlimit() argument 37 return INLINE_SYSCALL_CALL (ugetrlimit, resource, rlim); in __new_getrlimit() 45 __old_getrlimit (enum __rlimit_resource resource, struct rlimit *rlim) in weak_alias() 47 return INLINE_SYSCALL_CALL (getrlimit, resource, rlim); in weak_alias()
|
D | getrlimit64.c | 37 __getrlimit64 (enum __rlimit_resource resource, struct rlimit64 *rlimits) in __getrlimit64() argument 39 return INLINE_SYSCALL_CALL (prlimit64, 0, resource, NULL, rlimits); in __getrlimit64() 65 __old_getrlimit64 (enum __rlimit_resource resource, struct rlimit64 *rlimits) 69 if (__new_getrlimit (resource, &rlimits32) < 0)
|
D | prlimit64.c | 25 __prlimit64 (pid_t pid, enum __rlimit_resource resource, in __prlimit64() argument 28 return INLINE_SYSCALL_CALL (prlimit64, pid, resource, new_rlimit, in __prlimit64()
|
D | setrlimit64.c | 38 __setrlimit64 (enum __rlimit_resource resource, const struct rlimit64 *rlimits) in __setrlimit64() argument 40 return INLINE_SYSCALL_CALL (prlimit64, 0, resource, rlimits, NULL); in __setrlimit64()
|
D | setrlimit.c | 34 __setrlimit (enum __rlimit_resource resource, const struct rlimit *rlim) in __setrlimit() argument 47 return INLINE_SYSCALL_CALL (prlimit64, 0, resource, &rlim64, NULL); in __setrlimit()
|
D | prlimit.c | 26 prlimit (__pid_t pid, enum __rlimit_resource resource, in prlimit() argument 48 int res = INLINE_SYSCALL (prlimit64, 4, pid, resource, new_rlimit64, in prlimit()
|
/glibc-2.36/hurd/hurd/ |
D | userlink.h | 67 } resource, thread; member 95 link->resource.next = *chainp; in _hurd_userlink_link() 96 if (link->resource.next) in _hurd_userlink_link() 97 link->resource.next->resource.prevp = &link->resource.next; in _hurd_userlink_link() 98 link->resource.prevp = chainp; in _hurd_userlink_link() 129 int dealloc = ! link->resource.next && ! link->resource.prevp; in _hurd_userlink_unlink() 132 if (link->resource.prevp) in _hurd_userlink_unlink() 133 *link->resource.prevp = link->resource.next; in _hurd_userlink_unlink() 134 if (link->resource.next) in _hurd_userlink_unlink() 135 link->resource.next->resource.prevp = link->resource.prevp; in _hurd_userlink_unlink() [all …]
|
/glibc-2.36/resource/ |
D | vlimit.c | 29 vlimit (enum __vlimit_resource resource, int value) in vlimit() argument 31 if (resource >= LIM_CPU && resource <= LIM_MAXRSS) in vlimit() 36 (enum __rlimit_resource) ((int) resource - 1); in vlimit()
|
D | Makefile | 18 subdir := resource 22 headers := sys/resource.h bits/resource.h sys/vlimit.h \
|
D | tst-getrlimit.c | 27 int resource; member 76 int res = getrlimit (tests[i].resource, &r); in do_test() 99 res = getrlimit64 (tests[i].resource, &r64); in do_test()
|
D | setrlimit64.c | 26 setrlimit64 (enum __rlimit_resource resource, const struct rlimit64 *rlimits) in setrlimit64() argument 39 return __setrlimit (resource, &rlimits32); in setrlimit64()
|
D | getrlimit64.c | 25 __getrlimit64 (enum __rlimit_resource resource, struct rlimit64 *rlimits) in __getrlimit64() argument 29 if (__getrlimit (resource, &rlimits32) < 0) in __getrlimit64()
|
D | getrlimit.c | 25 __getrlimit (enum __rlimit_resource resource, struct rlimit *rlimits) in __getrlimit() argument
|
D | setrlimit.c | 27 __setrlimit (enum __rlimit_resource resource, const struct rlimit *rlimits) in __setrlimit() argument
|
/glibc-2.36/sysdeps/mach/hurd/ |
D | getrlimit.c | 26 __getrlimit (enum __rlimit_resource resource, struct rlimit *rlimits) in __getrlimit() argument 30 if (rlimits == NULL || (unsigned int) resource >= RLIMIT_NLIMITS) in __getrlimit() 38 lim = _hurd_rlimits[resource]; in __getrlimit()
|
D | setrlimit.c | 28 __setrlimit (enum __rlimit_resource resource, const struct rlimit *rlimits) in __setrlimit() argument 32 if (rlimits == NULL || (unsigned int) resource >= RLIMIT_NLIMITS) in __setrlimit() 49 _hurd_rlimits[resource] = lim; in __setrlimit()
|
/glibc-2.36/manual/ |
D | resource.texi | 2 @c %MENU% Functions for examining resource usage and getting and setting limits 10 * Limits on Resources:: Specifying limits on resource usage. 20 @pindex sys/resource.h 22 are used to examine the resource usage of a process. They are declared 23 in @file{sys/resource.h}. 26 @standards{BSD, sys/resource.h} 29 This function reports resource usage totals for processes specified by 36 @standards{BSD, sys/resource.h} 40 @standards{BSD, sys/resource.h} 53 One way of getting resource usage for a particular child process is with [all …]
|
/glibc-2.36/sysdeps/unix/sysv/linux/mips/ |
D | setrlimit64.c | 42 __old_setrlimit64 (enum __rlimit_resource resource, in __old_setrlimit64() argument 56 return __new_setrlimit64 (resource, &krlimits); in __old_setrlimit64()
|
D | getrlimit64.c | 43 __old_getrlimit64 (enum __rlimit_resource resource, in strong_alias() 48 if (__getrlimit64 (resource, &krlimits) < 0) in strong_alias()
|
/glibc-2.36/sysdeps/unix/sysv/linux/alpha/ |
D | getrlimit64.c | 33 __old_getrlimit64 (enum __rlimit_resource resource, in __old_getrlimit64() argument 38 if (__getrlimit64 (resource, &krlimits) < 0) in __old_getrlimit64()
|
D | setrlimit64.c | 33 __old_setrlimit64 (enum __rlimit_resource resource, in __old_setrlimit64() argument 47 return __setrlimit64 (resource, &krlimits); in __old_setrlimit64()
|
/glibc-2.36/hurd/ |
D | sigunwind.c | 121 assert (! link->resource.next && ! link->resource.prevp); in _hurdsig_longjmp_from_handler()
|
/glibc-2.36/conform/ |
D | Makefile | 58 strings.h sys/mman.h sys/resource.h \ 70 sys/resource.h sys/sem.h sys/shm.h sys/socket.h \ 81 sys/ipc.h sys/msg.h sys/resource.h \ 98 sys/msg.h sys/resource.h sys/sem.h sys/shm.h \
|
/glibc-2.36/sysdeps/unix/sysv/linux/microblaze/ |
D | Makefile | 1 ifeq ($(subdir),resource)
|