Lines Matching refs:p
868 struct xfrm_policy *policy, *p; in xfrm_policy_inexact_list_reinsert() local
883 hlist_for_each_entry(p, &n->hhead, bydst) { in xfrm_policy_inexact_list_reinsert()
884 if (policy->priority > p->priority) in xfrm_policy_inexact_list_reinsert()
885 newpos = &p->bydst; in xfrm_policy_inexact_list_reinsert()
886 else if (policy->priority == p->priority && in xfrm_policy_inexact_list_reinsert()
887 policy->pos > p->pos) in xfrm_policy_inexact_list_reinsert()
888 newpos = &p->bydst; in xfrm_policy_inexact_list_reinsert()
932 struct rb_node **p, *parent; in xfrm_policy_inexact_node_reinsert() local
938 p = &new->rb_node; in xfrm_policy_inexact_node_reinsert()
939 while (*p) { in xfrm_policy_inexact_node_reinsert()
943 parent = *p; in xfrm_policy_inexact_node_reinsert()
944 node = rb_entry(*p, struct xfrm_pol_inexact_node, node); in xfrm_policy_inexact_node_reinsert()
951 p = &parent->rb_left; in xfrm_policy_inexact_node_reinsert()
953 p = &parent->rb_right; in xfrm_policy_inexact_node_reinsert()
972 rb_erase(*p, new); in xfrm_policy_inexact_node_reinsert()
979 rb_link_node_rcu(&n->node, parent, p); in xfrm_policy_inexact_node_reinsert()
1019 struct rb_node **p, *parent = NULL; in xfrm_policy_inexact_insert_node() local
1022 p = &root->rb_node; in xfrm_policy_inexact_insert_node()
1023 while (*p) { in xfrm_policy_inexact_insert_node()
1026 parent = *p; in xfrm_policy_inexact_insert_node()
1027 node = rb_entry(*p, struct xfrm_pol_inexact_node, node); in xfrm_policy_inexact_insert_node()
1038 p = &parent->rb_left; in xfrm_policy_inexact_insert_node()
1040 p = &parent->rb_right; in xfrm_policy_inexact_insert_node()
1071 p = &root->rb_node; in xfrm_policy_inexact_insert_node()
1083 rb_link_node_rcu(&node->node, parent, p); in xfrm_policy_inexact_insert_node()
1365 void *p = xfrm_policy_inexact_insert(policy, dir, 0); in xfrm_hash_rebuild() local
1367 WARN_ONCE(IS_ERR(p), "reinsert: %ld\n", PTR_ERR(p)); in xfrm_hash_rebuild()
1403 struct xfrm_policy *p; in xfrm_gen_index() local
1419 hlist_for_each_entry(p, list, byidx) { in xfrm_gen_index()
1420 if (p->index == idx) { in xfrm_gen_index()
2427 const struct xfrm_policy *p; in __xfrm_sk_clone_policy() local
2433 p = rcu_dereference(osk->sk_policy[i]); in __xfrm_sk_clone_policy()
2434 if (p) { in __xfrm_sk_clone_policy()
2435 np = clone_policy(p, i); in __xfrm_sk_clone_policy()