Searched refs:pincr (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/vm/ |
H A D | swap_pager.c | 209 swap_reserve_by_cred_rlimit(u_long pincr, struct ucred *cred, int oc) in swap_reserve_by_cred_rlimit() argument 216 prev = atomic_fetchadd_long(&uip->ui_vmsize, pincr); in swap_reserve_by_cred_rlimit() 218 prev + pincr > lim_cur(curthread, RLIMIT_SWAP) && in swap_reserve_by_cred_rlimit() 220 prev = atomic_fetchadd_long(&uip->ui_vmsize, -pincr); in swap_reserve_by_cred_rlimit() 221 KASSERT(prev >= pincr, in swap_reserve_by_cred_rlimit() 248 swap_reserve_force_rlimit(u_long pincr, struct ucred *cred) in swap_reserve_force_rlimit() argument 253 atomic_add_long(&uip->ui_vmsize, pincr); in swap_reserve_force_rlimit() 266 u_long r, s, prev, pincr; in swap_reserve_by_cred() local 287 pincr = atop(incr); in swap_reserve_by_cred() 288 prev = atomic_fetchadd_long(&swap_reserved, pincr); in swap_reserve_by_cred() [all …]
|