Home
last modified time | relevance | path

Searched refs:resource (Results 1 – 25 of 109) sorted by relevance

12345

/glibc-2.36/sysdeps/unix/sysv/linux/
Dtst-rlimit-infinity.c47 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 …]
Dgetrlimit.c35 __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()
Dgetrlimit64.c37 __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)
Dprlimit64.c25 __prlimit64 (pid_t pid, enum __rlimit_resource resource, in __prlimit64() argument
28 return INLINE_SYSCALL_CALL (prlimit64, pid, resource, new_rlimit, in __prlimit64()
Dsetrlimit64.c38 __setrlimit64 (enum __rlimit_resource resource, const struct rlimit64 *rlimits) in __setrlimit64() argument
40 return INLINE_SYSCALL_CALL (prlimit64, 0, resource, rlimits, NULL); in __setrlimit64()
Dsetrlimit.c34 __setrlimit (enum __rlimit_resource resource, const struct rlimit *rlim) in __setrlimit() argument
47 return INLINE_SYSCALL_CALL (prlimit64, 0, resource, &rlim64, NULL); in __setrlimit()
Dprlimit.c26 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/
Duserlink.h67 } 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/
Dvlimit.c29 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()
DMakefile18 subdir := resource
22 headers := sys/resource.h bits/resource.h sys/vlimit.h \
Dtst-getrlimit.c27 int resource; member
76 int res = getrlimit (tests[i].resource, &r); in do_test()
99 res = getrlimit64 (tests[i].resource, &r64); in do_test()
Dsetrlimit64.c26 setrlimit64 (enum __rlimit_resource resource, const struct rlimit64 *rlimits) in setrlimit64() argument
39 return __setrlimit (resource, &rlimits32); in setrlimit64()
Dgetrlimit64.c25 __getrlimit64 (enum __rlimit_resource resource, struct rlimit64 *rlimits) in __getrlimit64() argument
29 if (__getrlimit (resource, &rlimits32) < 0) in __getrlimit64()
Dgetrlimit.c25 __getrlimit (enum __rlimit_resource resource, struct rlimit *rlimits) in __getrlimit() argument
Dsetrlimit.c27 __setrlimit (enum __rlimit_resource resource, const struct rlimit *rlimits) in __setrlimit() argument
/glibc-2.36/sysdeps/mach/hurd/
Dgetrlimit.c26 __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()
Dsetrlimit.c28 __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/
Dresource.texi2 @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/
Dsetrlimit64.c42 __old_setrlimit64 (enum __rlimit_resource resource, in __old_setrlimit64() argument
56 return __new_setrlimit64 (resource, &krlimits); in __old_setrlimit64()
Dgetrlimit64.c43 __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/
Dgetrlimit64.c33 __old_getrlimit64 (enum __rlimit_resource resource, in __old_getrlimit64() argument
38 if (__getrlimit64 (resource, &krlimits) < 0) in __old_getrlimit64()
Dsetrlimit64.c33 __old_setrlimit64 (enum __rlimit_resource resource, in __old_setrlimit64() argument
47 return __setrlimit64 (resource, &krlimits); in __old_setrlimit64()
/glibc-2.36/hurd/
Dsigunwind.c121 assert (! link->resource.next && ! link->resource.prevp); in _hurdsig_longjmp_from_handler()
/glibc-2.36/conform/
DMakefile58 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/
DMakefile1 ifeq ($(subdir),resource)

12345