Lines Matching refs:xfrm_policy_lock

497 		     lockdep_is_held(&net->xfrm.xfrm_policy_lock)) + hash;  in policy_hash_bysel()
514 lockdep_is_held(&net->xfrm.xfrm_policy_lock)) + hash; in policy_hash_direct()
586 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_bydst_resize()
590 lockdep_is_held(&net->xfrm.xfrm_policy_lock)); in xfrm_bydst_resize()
599 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_bydst_resize()
618 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_byidx_resize()
626 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_byidx_resize()
705 lockdep_assert_held(&net->xfrm.xfrm_policy_lock); in xfrm_policy_inexact_alloc_bin()
721 seqcount_spinlock_init(&bin->count, &net->xfrm.xfrm_policy_lock); in xfrm_policy_inexact_alloc_bin()
1108 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_inexact_prune_bin()
1110 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_inexact_prune_bin()
1117 lockdep_assert_held(&net->xfrm.xfrm_policy_lock); in __xfrm_policy_inexact_flush()
1131 lockdep_assert_held(&net->xfrm.xfrm_policy_lock); in xfrm_policy_inexact_alloc_chain()
1196 lockdep_assert_held(&net->xfrm.xfrm_policy_lock); in xfrm_policy_inexact_insert()
1246 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_hash_rebuild()
1357 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_hash_rebuild()
1576 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_insert()
1584 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_insert()
1606 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_insert()
1649 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_bysel_ctx()
1658 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_bysel_ctx()
1665 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_bysel_ctx()
1692 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_bysel_ctx()
1699 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_bysel_ctx()
1721 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_byid()
1732 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_byid()
1741 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_byid()
1783 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_flush()
1798 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_flush()
1802 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_flush()
1810 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_flush()
1830 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_walk()
1858 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_walk()
1877 spin_lock_bh(&net->xfrm.xfrm_policy_lock); /*FIXME where is net? */ in xfrm_policy_walk_done()
1879 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_walk_done()
2002 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()
4085 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_fini()
4088 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_policy_fini()
4097 spin_lock_init(&net->xfrm.xfrm_policy_lock); in xfrm_net_init()
4098 seqcount_spinlock_init(&net->xfrm.xfrm_policy_hash_generation, &net->xfrm.xfrm_policy_lock); in xfrm_net_init()
4244 spin_lock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_migrate_policy_find()
4268 spin_unlock_bh(&net->xfrm.xfrm_policy_lock); in xfrm_migrate_policy_find()