Home
last modified time | relevance | path

Searched refs:mpfe (Results 1 – 1 of 1) sorted by relevance

/src/sys/security/mac/
H A Dmac_framework.c464 mac_policy_fastpath_enable(struct mac_policy_fastpath_elem *mpfe) in mac_policy_fastpath_enable() argument
467 MPASS(mpfe->count >= 0); in mac_policy_fastpath_enable()
468 mpfe->count++; in mac_policy_fastpath_enable()
469 if (mpfe->count == 1) { in mac_policy_fastpath_enable()
470 MPASS(*mpfe->flag == false); in mac_policy_fastpath_enable()
471 *mpfe->flag = true; in mac_policy_fastpath_enable()
476 mac_policy_fastpath_disable(struct mac_policy_fastpath_elem *mpfe) in mac_policy_fastpath_disable() argument
479 MPASS(mpfe->count >= 1); in mac_policy_fastpath_disable()
480 mpfe->count--; in mac_policy_fastpath_disable()
481 if (mpfe->count == 0) { in mac_policy_fastpath_disable()
[all …]