Home
last modified time | relevance | path

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

/freebsd/sys/net/
H A Dpfvar.h439 #define V_pf_rules_lock VNET(pf_rules_lock) macro
442 #define PF_RULES_RLOCK() rm_rlock(&V_pf_rules_lock, &_pf_rules_tracker)
443 #define PF_RULES_RUNLOCK() rm_runlock(&V_pf_rules_lock, &_pf_rules_tracker)
444 #define PF_RULES_WLOCK() rm_wlock(&V_pf_rules_lock)
445 #define PF_RULES_WUNLOCK() rm_wunlock(&V_pf_rules_lock)
446 #define PF_RULES_WOWNED() rm_wowned(&V_pf_rules_lock)
447 #define PF_RULES_ASSERT() rm_assert(&V_pf_rules_lock, RA_LOCKED)
448 #define PF_RULES_RASSERT() rm_assert(&V_pf_rules_lock, RA_RLOCKED)
449 #define PF_RULES_WASSERT() rm_assert(&V_pf_rules_lock, RA_WLOCKED)
/freebsd/sys/netpfil/pf/
H A Dpf_ioctl.c6686 rm_init_flags(&V_pf_rules_lock, "pf rulesets", RM_RECURSE); in pf_load_vnet()
6806 rm_destroy(&V_pf_rules_lock); in pf_unload_vnet()