Lines Matching refs:flag
352 #define MPC_FLAG(method, flag) \ in mac_policy_getlabeled() argument
354 labeled |= (flag); \ in mac_policy_getlabeled()
417 bool *flag; member
422 { .offset = FPO(priv_check), .flag = &mac_priv_check_fp_flag },
423 { .offset = FPO(priv_grant), .flag = &mac_priv_grant_fp_flag },
425 .flag = &mac_vnode_check_lookup_fp_flag },
427 .flag = &mac_vnode_check_readlink_fp_flag },
429 .flag = &mac_vnode_check_open_fp_flag },
431 .flag = &mac_vnode_check_stat_fp_flag },
433 .flag = &mac_vnode_check_read_fp_flag },
435 .flag = &mac_vnode_check_write_fp_flag },
437 .flag = &mac_vnode_check_mmap_fp_flag },
439 .flag = &mac_vnode_check_poll_fp_flag },
441 .flag = &mac_vnode_check_rename_from_fp_flag },
443 .flag = &mac_vnode_check_access_fp_flag },
445 .flag = &mac_pipe_check_stat_fp_flag },
447 .flag = &mac_pipe_check_poll_fp_flag },
449 .flag = &mac_pipe_check_read_fp_flag },
451 .flag = &mac_ifnet_create_mbuf_fp_flag },
453 .flag = &mac_ifnet_check_transmit_fp_flag },
463 MPASS(*mpfe->flag == false); in mac_policy_fastpath_enable()
464 *mpfe->flag = true; in mac_policy_fastpath_enable()
475 MPASS(*mpfe->flag == true); in mac_policy_fastpath_disable()
476 *mpfe->flag = false; in mac_policy_fastpath_disable()