Lines Matching refs:uip
211 struct uidinfo *uip; in swap_reserve_by_cred_rlimit() local
214 uip = cred->cr_ruidinfo; in swap_reserve_by_cred_rlimit()
216 prev = atomic_fetchadd_long(&uip->ui_vmsize, pincr); in swap_reserve_by_cred_rlimit()
220 prev = atomic_fetchadd_long(&uip->ui_vmsize, -pincr); in swap_reserve_by_cred_rlimit()
222 ("negative vmsize for uid %d\n", uip->ui_uid)); in swap_reserve_by_cred_rlimit()
231 struct uidinfo *uip; in swap_release_by_cred_rlimit() local
236 uip = cred->cr_ruidinfo; in swap_release_by_cred_rlimit()
239 prev = atomic_fetchadd_long(&uip->ui_vmsize, -pdecr); in swap_release_by_cred_rlimit()
241 ("negative vmsize for uid %d\n", uip->ui_uid)); in swap_release_by_cred_rlimit()
243 atomic_subtract_long(&uip->ui_vmsize, pdecr); in swap_release_by_cred_rlimit()
250 struct uidinfo *uip; in swap_reserve_force_rlimit() local
252 uip = cred->cr_ruidinfo; in swap_reserve_force_rlimit()
253 atomic_add_long(&uip->ui_vmsize, pincr); in swap_reserve_force_rlimit()