Lines Matching refs:xfrm_state_lock
36 rcu_dereference_protected((table), lockdep_is_held(&(net)->xfrm.xfrm_state_lock))
160 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_hash_resize()
180 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_hash_resize()
686 spin_lock(&net->xfrm.xfrm_state_lock); in __xfrm_state_delete()
695 spin_unlock(&net->xfrm.xfrm_state_lock); in __xfrm_state_delete()
787 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_flush()
800 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_flush()
812 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_flush()
818 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_flush()
830 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_dev_state_flush()
845 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_dev_state_flush()
854 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_dev_state_flush()
863 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_dev_state_flush()
870 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_sad_getinfo()
874 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_sad_getinfo()
1166 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_find()
1186 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_find()
1226 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_stateonly_find()
1245 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_stateonly_find()
1258 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byspi()
1266 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byspi()
1269 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byspi()
1337 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_insert()
1340 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_insert()
1439 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_add()
1468 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_add()
1613 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_migrate_state_find()
1653 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_migrate_state_find()
1704 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_update()
1724 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_update()
1761 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_update()
1770 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_update()
1829 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byaddr()
1831 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byaddr()
1843 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_find_acq()
1845 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_find_acq()
2000 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_find_acq_byseq()
2002 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_find_acq_byseq()
2085 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_alloc_spi()
2089 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_alloc_spi()
2129 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_walk()
2155 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_walk()
2178 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_walk_done()
2180 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_walk_done()
2742 spin_lock_init(&net->xfrm.xfrm_state_lock); in xfrm_state_init()
2744 &net->xfrm.xfrm_state_lock); in xfrm_state_init()