Lines Matching defs:rlp
541 struct orlimit *rlp;
551 if ((error = copyin(uap->rlp, &olim, sizeof(struct orlimit))))
562 struct orlimit *rlp;
587 error = copyout(&olim, uap->rlp, sizeof(olim));
595 struct rlimit *rlp;
604 if ((error = copyin(uap->rlp, &alim, sizeof(struct rlimit))))
792 struct rlimit *rlp;
805 error = copyout(&rlim, uap->rlp, sizeof(struct rlimit));
1469 * specified by 'which' in the rlimit structure pointed to by 'rlp'.
1472 lim_rlimit(struct thread *td, int which, struct rlimit *rlp)
1479 *rlp = td->td_limit->pl_rlimit[which];
1481 p->p_sysent->sv_fixlimit(rlp, which);
1485 lim_rlimit_proc(struct proc *p, int which, struct rlimit *rlp)
1491 *rlp = p->p_limit->pl_rlimit[which];
1493 p->p_sysent->sv_fixlimit(rlp, which);