Searched refs:bydst (Results 1 – 2 of 2) sorted by relevance
| /linux/net/xfrm/ |
| H A D | xfrm_state.c | 127 hlist_for_each_entry_safe(x, tmp, list, bydst) { in xfrm_hash_transfer() 133 XFRM_STATE_INSERT(bydst, &x->bydst, ndsttable + h, x->xso.type); in xfrm_hash_transfer() 743 INIT_HLIST_NODE(&x->bydst); in xfrm_state_alloc() 821 hlist_del_init_rcu(&x->bydst); in __xfrm_state_delete() 873 hlist_for_each_entry(x, xfrm_state_deref_prot(net->xfrm.state_bydst, net) + i, bydst) { in xfrm_state_flush_secctx_check() 894 hlist_for_each_entry(x, xfrm_state_deref_prot(net->xfrm.state_bydst, net) + i, bydst) { in xfrm_dev_state_flush_secctx_check() 934 hlist_for_each_entry(x, xfrm_state_deref_prot(net->xfrm.state_bydst, net) + i, bydst) { in xfrm_state_flush() 976 hlist_for_each_entry(x, xfrm_state_deref_prot(net->xfrm.state_bydst, net) + i, bydst) { in xfrm_dev_state_flush() 1111 const struct hlist_head *bydst; member 1124 ptrs->bydst = xfrm_state_deref_check(net->xfrm.state_bydst, net); in xfrm_hash_ptrs_get() [all …]
|
| H A D | xfrm_policy.c | 438 INIT_HLIST_NODE(&policy->bydst); in xfrm_policy_alloc() 585 hlist_for_each_entry_safe(pol, tmp, list, bydst) { in xfrm_dst_hash_transfer() 592 hlist_del_rcu(&pol->bydst); in xfrm_dst_hash_transfer() 593 hlist_add_head_rcu(&pol->bydst, ndsttable + h); in xfrm_dst_hash_transfer() 598 hlist_del_rcu(&pol->bydst); in xfrm_dst_hash_transfer() 599 hlist_add_behind_rcu(&pol->bydst, entry0); in xfrm_dst_hash_transfer() 601 entry0 = &pol->bydst; in xfrm_dst_hash_transfer() 912 hlist_for_each_entry(p, &n->hhead, bydst) { in xfrm_policy_inexact_list_reinsert() 914 newpos = &p->bydst; in xfrm_policy_inexact_list_reinsert() 917 newpos = &p->bydst; in xfrm_policy_inexact_list_reinsert() [all …]
|