Lines Matching refs:proc

47 struct proc;
177 int racct_add(struct proc *p, int resource, uint64_t amount);
179 void racct_add_force(struct proc *p, int resource, uint64_t amount);
180 void racct_add_buf(struct proc *p, const struct buf *bufp, int is_write);
181 int racct_set(struct proc *p, int resource, uint64_t amount);
182 int racct_set_unlocked(struct proc *p, int resource, uint64_t amount);
183 void racct_set_force(struct proc *p, int resource, uint64_t amount);
184 void racct_sub(struct proc *p, int resource, uint64_t amount);
186 uint64_t racct_get_limit(struct proc *p, int resource);
187 uint64_t racct_get_available(struct proc *p, int resource);
192 int racct_proc_fork(struct proc *parent, struct proc *child);
193 void racct_proc_fork_done(struct proc *child);
194 void racct_proc_exit(struct proc *p);
196 void racct_proc_ucred_changed(struct proc *p, struct ucred *oldcred,
199 void racct_proc_throttled(struct proc *p);
200 void racct_proc_throttle(struct proc *p, int timeout);
208 racct_add(struct proc *p, int resource, uint64_t amount) in racct_add()
220 racct_add_force(struct proc *p, int resource, uint64_t amount) in racct_add_force()
225 racct_set(struct proc *p, int resource, uint64_t amount) in racct_set()
232 racct_set_force(struct proc *p, int resource, uint64_t amount) in racct_set_force()
237 racct_sub(struct proc *p, int resource, uint64_t amount) in racct_sub()
247 racct_get_limit(struct proc *p, int resource) in racct_get_limit()
254 racct_get_available(struct proc *p, int resource) in racct_get_available()
264 racct_proc_fork(struct proc *parent, struct proc *child) in racct_proc_fork()
271 racct_proc_fork_done(struct proc *child) in racct_proc_fork_done()
276 racct_proc_exit(struct proc *p) in racct_proc_exit()