Lines Matching refs:xfrm_policy_lock
493 lockdep_is_held(&net->xfrm.xfrm_policy_lock)) + hash; in policy_hash_bysel()
510 lockdep_is_held(&net->xfrm.xfrm_policy_lock)) + hash; in policy_hash_direct()
582 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_bydst_resize()
586 lockdep_is_held(&net->xfrm.xfrm_policy_lock)); in xfrm_bydst_resize()
595 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_bydst_resize()
614 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_byidx_resize()
622 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_byidx_resize()
701 lockdep_assert_held(&net->xfrm.xfrm_policy_lock); in xfrm_policy_inexact_alloc_bin()
1094 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_inexact_prune_bin()
1096 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_inexact_prune_bin()
1103 lockdep_assert_held(&net->xfrm.xfrm_policy_lock); in __xfrm_policy_inexact_flush()
1117 lockdep_assert_held(&net->xfrm.xfrm_policy_lock); in xfrm_policy_inexact_alloc_chain()
1182 lockdep_assert_held(&net->xfrm.xfrm_policy_lock); in xfrm_policy_inexact_insert()
1232 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_hash_rebuild()
1343 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_hash_rebuild()
1571 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_insert()
1579 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_insert()
1601 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_insert()
1646 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_bysel_ctx()
1655 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_bysel_ctx()
1662 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_bysel_ctx()
1689 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_bysel_ctx()
1696 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_bysel_ctx()
1718 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_byid()
1730 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_byid()
1739 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_byid()
1781 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_flush()
1796 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_flush()
1800 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_flush()
1808 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_flush()
1828 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_walk()
1856 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_walk()
1875 spin_lock_bh(&net->xfrm.xfrm_policy_lock); /*FIXME where is net? */ in xfrm_policy_walk_done()
1877 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_walk_done()
2001 lockdep_assert_held(&net->xfrm.xfrm_policy_lock); in xfrm_policy_inexact_lookup()
2243 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_delete()
2245 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_delete()
2264 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_sk_policy_insert()
2266 lockdep_is_held(&net->xfrm.xfrm_policy_lock)); in xfrm_sk_policy_insert()
2282 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_sk_policy_insert()
2314 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in clone_policy()
2316 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in clone_policy()
4100 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_fini()
4103 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_fini()
4112 spin_lock_init(&net->xfrm.xfrm_policy_lock); in xfrm_net_init()
4258 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_migrate_policy_find()
4282 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_migrate_policy_find()