Lines Matching refs:xfrm_state_lock
124 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_hash_resize()
141 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_hash_resize()
521 spin_lock(&net->xfrm.xfrm_state_lock); in __xfrm_state_delete()
528 spin_unlock(&net->xfrm.xfrm_state_lock); in __xfrm_state_delete()
586 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_flush()
599 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_flush()
608 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_flush()
617 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_flush()
624 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_sad_getinfo()
628 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_sad_getinfo()
782 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_find()
878 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_find()
892 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_stateonly_find()
910 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_stateonly_find()
923 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byspi()
931 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byspi()
934 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byspi()
994 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_insert()
997 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_insert()
1093 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_add()
1122 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_add()
1225 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_migrate_state_find()
1261 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_migrate_state_find()
1306 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_update()
1326 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_update()
1397 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup()
1399 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup()
1411 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byaddr()
1413 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_lookup_byaddr()
1425 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_find_acq()
1427 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_find_acq()
1443 spin_lock_bh(&net->xfrm.xfrm_state_lock); /*FIXME*/ in xfrm_tmpl_sort()
1446 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_tmpl_sort()
1463 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_sort()
1466 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_sort()
1498 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_find_acq_byseq()
1500 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_find_acq_byseq()
1582 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_alloc_spi()
1585 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_alloc_spi()
1625 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_walk()
1651 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_walk()
1674 spin_lock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_walk_done()
1676 spin_unlock_bh(&net->xfrm.xfrm_state_lock); in xfrm_state_walk_done()
2104 spin_lock_init(&net->xfrm.xfrm_state_lock); in xfrm_state_init()