Home
last modified time | relevance | path

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

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