Lines Matching refs:which
126 int kern_proc_setrlimit(struct thread *td, struct proc *p, u_int which,
131 rlim_t lim_cur(struct thread *td, int which);
133 #define lim_cur(td, which) ({ \ argument
136 int _which = (which); \
137 if (__builtin_constant_p(which) && which != RLIMIT_DATA && \
138 which != RLIMIT_STACK && which != RLIMIT_VMEM) { \
139 _rlim = td->td_limit->pl_rlimit[which].rlim_cur; \
147 rlim_t lim_cur_proc(struct proc *p, int which);
153 rlim_t lim_max(struct thread *td, int which);
154 rlim_t lim_max_proc(struct proc *p, int which);
155 void lim_rlimit(struct thread *td, int which, struct rlimit *rlp);
156 void lim_rlimit_proc(struct proc *p, int which, struct rlimit *rlp);