Searched refs:limp (Results 1 - 4 of 4) sorted by relevance

/freebsd-11.0-release/sys/fs/procfs/
H A Dprocfs_rlimit.c66 struct plimit *limp; local
74 limp = lim_hold(p->p_limit);
93 if (limp->pl_rlimit[i].rlim_cur == RLIM_INFINITY) {
97 (unsigned long long)limp->pl_rlimit[i].rlim_cur);
104 if (limp->pl_rlimit[i].rlim_max == RLIM_INFINITY) {
108 (unsigned long long)limp->pl_rlimit[i].rlim_max);
112 lim_free(limp);
/freebsd-11.0-release/sys/kern/
H A Dkern_resource.c637 kern_setrlimit(struct thread *td, u_int which, struct rlimit *limp) argument
640 return (kern_proc_setrlimit(td, td->td_proc, which, limp));
645 struct rlimit *limp)
658 if (limp->rlim_cur < 0)
659 limp->rlim_cur = RLIM_INFINITY;
660 if (limp->rlim_max < 0)
661 limp->rlim_max = RLIM_INFINITY;
668 if (limp->rlim_cur > alimp->rlim_max ||
669 limp->rlim_max > alimp->rlim_max)
675 if (limp
644 kern_proc_setrlimit(struct thread *td, struct proc *p, u_int which, struct rlimit *limp) argument
1095 struct plimit *limp; local
1103 lim_hold(struct plimit *limp) argument
1125 lim_free(struct plimit *limp) argument
[all...]
/freebsd-11.0-release/sys/sys/
H A Dresourcevar.h131 struct rlimit *limp);
138 void lim_free(struct plimit *limp);
140 *lim_hold(struct plimit *limp);
/freebsd-11.0-release/sys/compat/linprocfs/
H A Dlinprocfs.c1399 struct plimit *limp; local
1407 limp = lim_hold(p->p_limit);
1444 rl = limp->pl_rlimit[li->rlim_id];
1456 lim_free(limp);

Completed in 91 milliseconds