Home
last modified time | relevance | path

Searched refs:rlimit (Results 1 – 25 of 76) sorted by relevance

1234

/glibc-2.36/sysdeps/unix/sysv/linux/
Dsysconf.c58 struct rlimit rlimit; in __sysconf() local
60 if (__getrlimit (RLIMIT_STACK, &rlimit) == 0) in __sysconf()
62 const long int limit = MAX (legacy_ARG_MAX, rlimit.rlim_cur / 4); in __sysconf()
77 struct rlimit rlimit; in __sysconf() local
78 if (__getrlimit (RLIMIT_SIGPENDING, &rlimit) == 0) in __sysconf()
79 return rlimit.rlim_cur; in __sysconf()
Dtst-rlimit-infinity.c49 struct rlimit r; in test_getrlimit()
67 struct rlimit r; in test_prlimit_get()
85 struct rlimit r = { new_cur, new_max }; in test_setrlimit()
99 struct rlimit r = { new_cur, new_max }; in test_prlimit_set()
Dgetrlimit.c35 __new_getrlimit (enum __rlimit_resource resource, struct rlimit *rlim) in __new_getrlimit()
45 __old_getrlimit (enum __rlimit_resource resource, struct rlimit *rlim) in weak_alias()
Dprlimit.c27 const struct rlimit *new_rlimit, struct rlimit *old_rlimit) in prlimit()
Dgetrlimit64.c60 extern int __new_getrlimit (enum __rlimit_resource, struct rlimit *)
67 struct rlimit rlimits32;
/glibc-2.36/hurd/
Dalloc-fd.c34 long int rlimit; in _hurd_alloc_fd() local
79 rlimit = _hurd_rlimits[RLIMIT_OFILE].rlim_cur; in _hurd_alloc_fd()
82 if (first_fd < rlimit) in _hurd_alloc_fd()
86 if (_hurd_dtablesize < rlimit) in _hurd_alloc_fd()
94 if (size > rlimit) in _hurd_alloc_fd()
95 size = rlimit; in _hurd_alloc_fd()
/glibc-2.36/conform/data/sys/
Dresource.h-data15 type {struct rlimit}
17 element {struct rlimit} rlim_t rlim_cur
18 element {struct rlimit} rlim_t rlim_max
36 function int getrlimit (int, struct rlimit*)
39 function int setrlimit (int, const struct rlimit*)
/glibc-2.36/sysdeps/unix/sysv/linux/sparc/bits/
Dresource.h155 struct rlimit struct
219 const struct rlimit *__new_limit,
220 struct rlimit *__old_limit) __THROW;
225 const struct rlimit *__new_limit,
226 struct rlimit *__old_limit), prlimit64);
/glibc-2.36/sysdeps/unix/sysv/linux/alpha/bits/
Dresource.h139 struct rlimit struct
204 const struct rlimit *__new_limit,
205 struct rlimit *__old_limit) __THROW;
210 const struct rlimit *__new_limit,
211 struct rlimit *__old_limit), prlimit64);
/glibc-2.36/sysdeps/unix/sysv/linux/mips/bits/
Dresource.h147 struct rlimit struct
212 const struct rlimit *__new_limit,
213 struct rlimit *__old_limit) __THROW;
218 const struct rlimit *__new_limit,
219 struct rlimit *__old_limit), prlimit64);
/glibc-2.36/sysdeps/unix/sysv/linux/bits/
Dresource.h139 struct rlimit struct
204 const struct rlimit *__new_limit,
205 struct rlimit *__old_limit) __THROW;
210 const struct rlimit *__new_limit,
211 struct rlimit *__old_limit), prlimit64);
/glibc-2.36/resource/sys/
Dresource.h51 struct rlimit *__rlimits) __THROW __nonnull ((2));
55 struct rlimit *__rlimits), getrlimit64)
71 const struct rlimit *__rlimits) __THROW __nonnull ((2));
75 const struct rlimit *__rlimits),
/glibc-2.36/sysdeps/mach/hurd/
Dbrk.c70 long int rlimit; in weak_alias() local
92 rlimit = _hurd_rlimits[RLIMIT_DATA].rlim_cur; in weak_alias()
95 if (addr - brk_start > rlimit) in weak_alias()
Dgetrlimit.c26 __getrlimit (enum __rlimit_resource resource, struct rlimit *rlimits) in __getrlimit()
28 struct rlimit lim; in __getrlimit()
Dsetrlimit.c28 __setrlimit (enum __rlimit_resource resource, const struct rlimit *rlimits) in __setrlimit()
30 struct rlimit lim; in __setrlimit()
/glibc-2.36/math/
Dtest-fenv.c258 struct rlimit core_limit; in feenv_nomask_test()
310 struct rlimit core_limit; in feenv_mask_test()
368 struct rlimit core_limit; in feexcp_nomask_test()
422 struct rlimit core_limit; in feexcp_mask_test()
/glibc-2.36/include/sys/
Dresource.h129 struct rlimit *__rlimits) __nonnull ((2));
135 const struct rlimit *__rlimits) __nonnull ((2));
/glibc-2.36/sysdeps/posix/
Dgetdtsz.c27 struct rlimit ru; in __getdtablesize()
/glibc-2.36/sysdeps/unix/
Dget_child_max.c28 struct rlimit limit; in __get_child_max()
/glibc-2.36/resource/
Dgetrlimit.c25 __getrlimit (enum __rlimit_resource resource, struct rlimit *rlimits) in __getrlimit()
Dsetrlimit.c27 __setrlimit (enum __rlimit_resource resource, const struct rlimit *rlimits) in __setrlimit()
Dvlimit.c37 struct rlimit lims; in vlimit()
Dsetrlimit64.c28 struct rlimit rlimits32; in setrlimit64()
/glibc-2.36/hurd/hurd/
Dresource.h29 extern struct rlimit _hurd_rlimits[RLIM_NLIMITS];
/glibc-2.36/sysdeps/unix/sysv/linux/powerpc/powerpc64/
DVersions8 # New rlimit interface

1234