Lines Matching refs:xfrm_state_lock

35 	rcu_dereference_protected((table), lockdep_is_held(&(net)->xfrm.xfrm_state_lock))
142 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_hash_resize()
160 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_hash_resize()
664 spin_lock(&net->xfrm.xfrm_state_lock); in __xfrm_state_delete()
671 spin_unlock(&net->xfrm.xfrm_state_lock); in __xfrm_state_delete()
763 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_flush()
776 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_flush()
788 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_flush()
794 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_flush()
806 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_dev_state_flush()
821 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_dev_state_flush()
830 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_dev_state_flush()
839 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_dev_state_flush()
846 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_sad_getinfo()
850 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_sad_getinfo()
1140 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_find()
1156 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_find()
1196 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_stateonly_find()
1215 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_stateonly_find()
1228 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byspi()
1236 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byspi()
1239 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byspi()
1301 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_insert()
1304 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_insert()
1403 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_add()
1432 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()
1611 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_migrate_state_find()
1657 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_update()
1677 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_update()
1714 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_update()
1723 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_update()
1782 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byaddr()
1784 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byaddr()
1796 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_find_acq()
1798 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_find_acq()
1955 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_find_acq_byseq()
1957 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_find_acq_byseq()
2040 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_alloc_spi()
2044 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_alloc_spi()
2084 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_walk()
2110 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_walk()
2133 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_walk_done()
2135 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_walk_done()
2666 spin_lock_init(&net->xfrm.xfrm_state_lock); in xfrm_state_init()