Lines Matching refs:pr_mtx
160 mtx_lock(&pr->pr_mtx); in mac_do_rule_find()
168 mtx_unlock(&pr->pr_mtx); in mac_do_rule_find()
185 mtx_unlock(&pr->pr_mtx); in sysctl_rules()
191 mtx_lock(&pr->pr_mtx); in sysctl_rules()
193 mtx_unlock(&pr->pr_mtx); in sysctl_rules()
206 mtx_lock(&pr->pr_mtx); in sysctl_rules()
210 mtx_unlock(&pr->pr_mtx); in sysctl_rules()
241 mtx_unlock(&ppr->pr_mtx); in mac_do_alloc_prison()
250 mtx_lock(&pr->pr_mtx); in mac_do_alloc_prison()
256 mtx_unlock(&pr->pr_mtx); in mac_do_alloc_prison()
257 mtx_unlock(&ppr->pr_mtx); in mac_do_alloc_prison()
288 mtx_lock(&pr->pr_mtx); in mac_do_prison_set()
290 mtx_unlock(&pr->pr_mtx); in mac_do_prison_set()
303 mtx_lock(&pr->pr_mtx); in mac_do_prison_set()
307 mtx_unlock(&pr->pr_mtx); in mac_do_prison_set()
333 mtx_unlock(&ppr->pr_mtx); in mac_do_prison_get()
354 mtx_lock(&pr->pr_mtx); in mac_do_prison_remove()
356 mtx_unlock(&pr->pr_mtx); in mac_do_prison_remove()
435 mtx_unlock(&pr->pr_mtx); in priv_grant()
442 mtx_unlock(&pr->pr_mtx); in priv_grant()
471 mtx_unlock(&pr->pr_mtx); in check_setgroups()
475 mtx_unlock(&pr->pr_mtx); in check_setgroups()
531 mtx_unlock(&pr->pr_mtx); in check_setuid()