/freebsd-current/usr.bin/procstat/ |
H A D | procstat_rlimit.c | 94 struct rlimit rlimit; local 104 if (procstat_getrlimit(prstat, kipp, i, &rlimit) == -1) 111 if (rlimit.rlim_cur == RLIM_INFINITY) 114 xo_emit("{e:soft_limit/%U}", rlimit.rlim_cur); 116 if (rlimit.rlim_max == RLIM_INFINITY) 119 xo_emit("{e:hard_limit/%U}", rlimit.rlim_max); 123 humanize_rlimit(i, rlimit.rlim_cur)); 125 humanize_rlimit(i, rlimit.rlim_max));
|
/freebsd-current/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_setrlimit.c | 61 static const int rlimit[] = { variable 83 struct rlimit res; 87 buf = calloc(__arraycount(rlimit), sizeof(int)); 92 for (i = lim = 0; i < __arraycount(rlimit); i++) { 94 (void)memset(&res, 0, sizeof(struct rlimit)); 96 if (getrlimit(rlimit[i], &res) != 0) 108 if (setrlimit(rlimit[i], &res) != 0) { 109 lim = rlimit[i]; 115 for (i = 0; i < __arraycount(rlimit); i++) { 117 (void)memset(&res, 0, sizeof(struct rlimit)); [all...] |
H A D | t_dup.c | 172 struct rlimit res; 174 (void)memset(&res, 0, sizeof(struct rlimit)); 252 struct rlimit res; 254 (void)memset(&res, 0, sizeof(struct rlimit)); 299 struct rlimit res; 316 (void)memset(&res, 0, sizeof(struct rlimit));
|
H A D | t_revoke.c | 56 struct rlimit res; 64 (void)memset(&res, 0, sizeof(struct rlimit));
|
/freebsd-current/tools/regression/priv/ |
H A D | priv_proc_setrlimit.c | 51 static struct rlimit rl_base; 52 static struct rlimit rl_lowered; 86 struct rlimit rl; 114 struct rlimit rl; 141 struct rlimit rl;
|
/freebsd-current/usr.sbin/bsdinstall/runconsoles/ |
H A D | common.c | 42 struct rlimit rl;
|
/freebsd-current/sys/sys/ |
H A D | resource.h | 148 struct rlimit { struct 184 int getrlimit(int, struct rlimit *); 187 int setrlimit(int, const struct rlimit *);
|
H A D | resourcevar.h | 78 struct rlimit pl_rlimit[RLIM_NLIMITS]; 146 struct rlimit *limp); 174 void lim_rlimit(struct thread *td, int which, struct rlimit *rlp); 175 void lim_rlimit_proc(struct proc *p, int which, struct rlimit *rlp);
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/libzfs/ |
H A D | many_fds.c | 39 struct rlimit limit = {
|
/freebsd-current/sys/compat/ia32/ |
H A D | ia32_util.h | 55 void ia32_fixlimit(struct rlimit *rl, int which);
|
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | getdtablesize.c | 72 struct rlimit res;
|
/freebsd-current/lib/libc/gen/ |
H A D | ulimit.c | 41 struct rlimit limit;
|
/freebsd-current/contrib/tcpdump/lbl/ |
H A D | os-sunos4.h | 97 struct rlimit; 99 int getrlimit(int, struct rlimit *); 148 int setrlimit(int, struct rlimit *);
|
/freebsd-current/contrib/libpcap/lbl/ |
H A D | os-sunos4.h | 96 struct rlimit; 98 int getrlimit(int, struct rlimit *); 147 int setrlimit(int, struct rlimit *);
|
/freebsd-current/contrib/netbsd-tests/lib/libpthread/dlopen/ |
H A D | t_dso_pthread_create.c | 69 struct rlimit rl;
|
/freebsd-current/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_siglongjmp.c | 77 struct rlimit rlim;
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | execve.sh | 112 struct rlimit rl;
|
H A D | setrlimit2.sh | 69 struct rlimit rlim;
|
/freebsd-current/crypto/openssh/ |
H A D | sandbox-rlimit.c | 1 /* $OpenBSD: sandbox-rlimit.c,v 1.5 2020/10/18 11:32:01 djm Exp $ */ 52 debug3_f("preparing rlimit sandbox"); 62 struct rlimit rl_zero;
|
H A D | sandbox-darwin.c | 63 struct rlimit rl_zero; 72 * we must disable these using rlimit.
|
/freebsd-current/lib/libutil/tests/ |
H A D | forkpty_test.c | 25 struct rlimit orl, nrl;
|
/freebsd-current/sys/contrib/alpine-hal/ |
H A D | al_hal_udma_debug.c | 147 rlimit.cfg_1s); 149 rlimit.cfg_cycle); 151 rlimit.cfg_token_size_1); 153 rlimit.cfg_token_size_2); 155 rlimit.mask); 228 AL_UDMA_PRINT_REG(udma, " ", "\n", m2s, m2s_q[qid], rlimit.cfg_1s); 229 AL_UDMA_PRINT_REG(udma, " ", "\n", m2s, m2s_q[qid], rlimit.cfg_cycle); 231 rlimit.cfg_token_size_1); 233 rlimit.cfg_token_size_2); 234 AL_UDMA_PRINT_REG(udma, " ", "\n", m2s, m2s_q[qid], rlimit [all...] |
/freebsd-current/sys/kern/ |
H A D | kern_resource.c | 546 struct rlimit lim; 567 struct rlimit rl; 593 struct rlimit *rlp; 599 struct rlimit alim; 602 if ((error = copyin(uap->rlp, &alim, sizeof(struct rlimit)))) 611 struct rlimit rlim; 644 kern_setrlimit(struct thread *td, u_int which, struct rlimit *limp) 652 struct rlimit *limp) 655 struct rlimit *alimp; 656 struct rlimit oldssi [all...] |
/freebsd-current/sbin/fsck_ffs/ |
H A D | main.c | 70 struct rlimit rlimit; local 191 if (getrlimit(RLIMIT_DATA, &rlimit) == 0) { 192 rlimit.rlim_cur = rlimit.rlim_max; 193 (void)setrlimit(RLIMIT_DATA, &rlimit);
|
/freebsd-current/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_assert.c | 49 struct rlimit limits;
|