Lines Matching refs:xfrm_state_lock
35 rcu_dereference_protected((table), lockdep_is_held(&(net)->xfrm.xfrm_state_lock))
159 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_hash_resize()
179 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_hash_resize()
685 spin_lock(&net->xfrm.xfrm_state_lock); in __xfrm_state_delete()
694 spin_unlock(&net->xfrm.xfrm_state_lock); in __xfrm_state_delete()
786 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_flush()
799 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_flush()
811 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_flush()
817 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_flush()
829 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_dev_state_flush()
844 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_dev_state_flush()
853 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_dev_state_flush()
862 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_dev_state_flush()
869 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_sad_getinfo()
873 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_sad_getinfo()
1165 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_find()
1185 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_find()
1225 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_stateonly_find()
1244 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_stateonly_find()
1257 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byspi()
1265 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byspi()
1268 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byspi()
1336 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_insert()
1339 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_insert()
1438 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_add()
1467 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_add()
1610 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_migrate_state_find()
1646 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_migrate_state_find()
1692 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_update()
1712 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_update()
1749 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_update()
1758 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_update()
1817 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byaddr()
1819 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byaddr()
1831 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_find_acq()
1833 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_find_acq()
1988 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_find_acq_byseq()
1990 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_find_acq_byseq()
2073 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_alloc_spi()
2077 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_alloc_spi()
2117 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_walk()
2143 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_walk()
2166 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_walk_done()
2168 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_walk_done()
2712 spin_lock_init(&net->xfrm.xfrm_state_lock); in xfrm_state_init()
2714 &net->xfrm.xfrm_state_lock); in xfrm_state_init()