Lines Matching refs:xfrm_state_lock

35 	rcu_dereference_protected((table), lockdep_is_held(&(net)->xfrm.xfrm_state_lock))
141 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_hash_resize()
159 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_hash_resize()
663 spin_lock(&net->xfrm.xfrm_state_lock); in __xfrm_state_delete()
670 spin_unlock(&net->xfrm.xfrm_state_lock); in __xfrm_state_delete()
762 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_flush()
775 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_flush()
787 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_flush()
793 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_flush()
805 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_dev_state_flush()
820 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_dev_state_flush()
829 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_dev_state_flush()
838 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_dev_state_flush()
845 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_sad_getinfo()
849 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_sad_getinfo()
1141 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_find()
1157 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_find()
1197 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_stateonly_find()
1216 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_stateonly_find()
1229 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byspi()
1237 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byspi()
1240 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byspi()
1302 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_insert()
1305 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_insert()
1404 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_add()
1433 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_add()
1575 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_migrate_state_find()
1615 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_migrate_state_find()
1666 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_update()
1686 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_update()
1723 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_update()
1732 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_update()
1791 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byaddr()
1793 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byaddr()
1805 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_find_acq()
1807 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_find_acq()
1964 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_find_acq_byseq()
1966 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_find_acq_byseq()
2049 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_alloc_spi()
2053 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_alloc_spi()
2093 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_walk()
2119 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_walk()
2142 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_walk_done()
2144 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_walk_done()
2678 spin_lock_init(&net->xfrm.xfrm_state_lock); in xfrm_state_init()