Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/resourcevar.h
Show First 20 Lines • Show All 122 Lines • ▼ Show 20 Lines | |||||
void calccru(struct proc *p, struct timeval *up, struct timeval *sp); | void calccru(struct proc *p, struct timeval *up, struct timeval *sp); | ||||
void calcru(struct proc *p, struct timeval *up, struct timeval *sp); | void calcru(struct proc *p, struct timeval *up, struct timeval *sp); | ||||
int chgkqcnt(struct uidinfo *uip, int diff, rlim_t max); | int chgkqcnt(struct uidinfo *uip, int diff, rlim_t max); | ||||
int chgproccnt(struct uidinfo *uip, int diff, rlim_t maxval); | int chgproccnt(struct uidinfo *uip, int diff, rlim_t maxval); | ||||
int chgsbsize(struct uidinfo *uip, u_int *hiwat, u_int to, | int chgsbsize(struct uidinfo *uip, u_int *hiwat, u_int to, | ||||
rlim_t maxval); | rlim_t maxval); | ||||
int chgptscnt(struct uidinfo *uip, int diff, rlim_t maxval); | int chgptscnt(struct uidinfo *uip, int diff, rlim_t maxval); | ||||
int chgumtxcnt(struct uidinfo *uip, int diff, rlim_t maxval); | int chgumtxcnt(struct uidinfo *uip, int diff, rlim_t maxval); | ||||
int fuswintr(void *base); | |||||
int kern_proc_setrlimit(struct thread *td, struct proc *p, u_int which, | int kern_proc_setrlimit(struct thread *td, struct proc *p, u_int which, | ||||
struct rlimit *limp); | struct rlimit *limp); | ||||
struct plimit | struct plimit | ||||
*lim_alloc(void); | *lim_alloc(void); | ||||
void lim_copy(struct plimit *dst, struct plimit *src); | void lim_copy(struct plimit *dst, struct plimit *src); | ||||
rlim_t lim_cur(struct thread *td, int which); | rlim_t lim_cur(struct thread *td, int which); | ||||
rlim_t lim_cur_proc(struct proc *p, int which); | rlim_t lim_cur_proc(struct proc *p, int which); | ||||
void lim_fork(struct proc *p1, struct proc *p2); | void lim_fork(struct proc *p1, struct proc *p2); | ||||
void lim_free(struct plimit *limp); | void lim_free(struct plimit *limp); | ||||
struct plimit | struct plimit | ||||
*lim_hold(struct plimit *limp); | *lim_hold(struct plimit *limp); | ||||
rlim_t lim_max(struct thread *td, int which); | rlim_t lim_max(struct thread *td, int which); | ||||
rlim_t lim_max_proc(struct proc *p, int which); | rlim_t lim_max_proc(struct proc *p, int which); | ||||
void lim_rlimit(struct thread *td, int which, struct rlimit *rlp); | void lim_rlimit(struct thread *td, int which, struct rlimit *rlp); | ||||
void lim_rlimit_proc(struct proc *p, int which, struct rlimit *rlp); | void lim_rlimit_proc(struct proc *p, int which, struct rlimit *rlp); | ||||
void ruadd(struct rusage *ru, struct rusage_ext *rux, struct rusage *ru2, | void ruadd(struct rusage *ru, struct rusage_ext *rux, struct rusage *ru2, | ||||
struct rusage_ext *rux2); | struct rusage_ext *rux2); | ||||
void rucollect(struct rusage *ru, struct rusage *ru2); | void rucollect(struct rusage *ru, struct rusage *ru2); | ||||
void rufetch(struct proc *p, struct rusage *ru); | void rufetch(struct proc *p, struct rusage *ru); | ||||
void rufetchcalc(struct proc *p, struct rusage *ru, struct timeval *up, | void rufetchcalc(struct proc *p, struct rusage *ru, struct timeval *up, | ||||
struct timeval *sp); | struct timeval *sp); | ||||
void rufetchtd(struct thread *td, struct rusage *ru); | void rufetchtd(struct thread *td, struct rusage *ru); | ||||
void ruxagg(struct proc *p, struct thread *td); | void ruxagg(struct proc *p, struct thread *td); | ||||
int suswintr(void *base, int word); | |||||
struct uidinfo | struct uidinfo | ||||
*uifind(uid_t uid); | *uifind(uid_t uid); | ||||
void uifree(struct uidinfo *uip); | void uifree(struct uidinfo *uip); | ||||
void uihashinit(void); | void uihashinit(void); | ||||
void uihold(struct uidinfo *uip); | void uihold(struct uidinfo *uip); | ||||
#ifdef RACCT | #ifdef RACCT | ||||
void ui_racct_foreach(void (*callback)(struct racct *racct, | void ui_racct_foreach(void (*callback)(struct racct *racct, | ||||
void *arg2, void *arg3), void (*pre)(void), void (*post)(void), | void *arg2, void *arg3), void (*pre)(void), void (*post)(void), | ||||
void *arg2, void *arg3); | void *arg2, void *arg3); | ||||
#endif | #endif | ||||
#endif /* _KERNEL */ | #endif /* _KERNEL */ | ||||
#endif /* !_SYS_RESOURCEVAR_H_ */ | #endif /* !_SYS_RESOURCEVAR_H_ */ |