Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 9 of 9) sorted by relevance

/net/caif/
Dcfctrl.c74 static bool param_eq(const struct cfctrl_link_param *p1, in param_eq() argument
78 p1->linktype == p2->linktype && in param_eq()
79 p1->priority == p2->priority && in param_eq()
80 p1->phyid == p2->phyid && in param_eq()
81 p1->endpoint == p2->endpoint && p1->chtype == p2->chtype; in param_eq()
86 switch (p1->linktype) { in param_eq()
90 return p1->u.datagram.connid == p2->u.datagram.connid; in param_eq()
93 p1->u.rfm.connid == p2->u.rfm.connid && in param_eq()
94 strcmp(p1->u.rfm.volume, p2->u.rfm.volume) == 0; in param_eq()
97 p1->u.utility.fifosize_kb == p2->u.utility.fifosize_kb in param_eq()
[all …]
/net/ipv6/
Dip6_vti.c744 struct __ip6_tnl_parm p1; in vti6_ioctl() local
756 vti6_parm_from_user(&p1, &p); in vti6_ioctl()
757 t = vti6_locate(net, &p1, 0); in vti6_ioctl()
778 vti6_parm_from_user(&p1, &p); in vti6_ioctl()
779 t = vti6_locate(net, &p1, cmd == SIOCADDTUNNEL); in vti6_ioctl()
789 err = vti6_update(t, &p1); in vti6_ioctl()
810 vti6_parm_from_user(&p1, &p); in vti6_ioctl()
811 t = vti6_locate(net, &p1, 0); in vti6_ioctl()
Dip6_gre.c847 struct __ip6_tnl_parm p1; in ip6gre_tunnel_ioctl() local
852 memset(&p1, 0, sizeof(p1)); in ip6gre_tunnel_ioctl()
861 ip6gre_tnl_parm_from_user(&p1, &p); in ip6gre_tunnel_ioctl()
862 t = ip6gre_tunnel_locate(net, &p1, 0); in ip6gre_tunnel_ioctl()
891 ip6gre_tnl_parm_from_user(&p1, &p); in ip6gre_tunnel_ioctl()
892 t = ip6gre_tunnel_locate(net, &p1, cmd == SIOCADDTUNNEL); in ip6gre_tunnel_ioctl()
905 ip6gre_tnl_change(t, &p1, 1); in ip6gre_tunnel_ioctl()
932 ip6gre_tnl_parm_from_user(&p1, &p); in ip6gre_tunnel_ioctl()
933 t = ip6gre_tunnel_locate(net, &p1, 0); in ip6gre_tunnel_ioctl()
Dip6_tunnel.c1578 struct __ip6_tnl_parm p1; in ip6_tnl_ioctl() local
1583 memset(&p1, 0, sizeof(p1)); in ip6_tnl_ioctl()
1592 ip6_tnl_parm_from_user(&p1, &p); in ip6_tnl_ioctl()
1593 t = ip6_tnl_locate(net, &p1, 0); in ip6_tnl_ioctl()
1616 ip6_tnl_parm_from_user(&p1, &p); in ip6_tnl_ioctl()
1617 t = ip6_tnl_locate(net, &p1, cmd == SIOCADDTUNNEL); in ip6_tnl_ioctl()
1627 err = ip6_tnl0_update(t, &p1); in ip6_tnl_ioctl()
1629 err = ip6_tnl_update(t, &p1); in ip6_tnl_ioctl()
1651 ip6_tnl_parm_from_user(&p1, &p); in ip6_tnl_ioctl()
1652 t = ip6_tnl_locate(net, &p1, 0); in ip6_tnl_ioctl()
/net/wireless/
Dmlme.c261 u8 *p1, *p2; in cfg80211_oper_and_ht_capa() local
267 p1 = (u8*)(ht_capa); in cfg80211_oper_and_ht_capa()
270 p1[i] &= p2[i]; in cfg80211_oper_and_ht_capa()
278 u8 *p1, *p2; in cfg80211_oper_and_vht_capa() local
284 p1 = (u8*)(vht_capa); in cfg80211_oper_and_vht_capa()
287 p1[i] &= p2[i]; in cfg80211_oper_and_vht_capa()
/net/sched/
Dsch_sfb.c113 static u32 prob_plus(u32 p1, u32 p2) in prob_plus() argument
115 u32 res = p1 + p2; in prob_plus()
120 static u32 prob_minus(u32 p1, u32 p2) in prob_minus() argument
122 return p1 > p2 ? p1 - p2 : 0; in prob_minus()
/net/packet/
Daf_packet.c604 static void prb_init_ft_ops(struct tpacket_kbdq_core *p1, in prb_init_ft_ops() argument
607 p1->feature_req_word = req_u->req3.tp_feature_req_word; in prb_init_ft_ops()
615 struct tpacket_kbdq_core *p1 = GET_PBDQC_FROM_RB(rb); in init_prb_bdqc() local
618 memset(p1, 0x0, sizeof(*p1)); in init_prb_bdqc()
620 p1->knxt_seq_num = 1; in init_prb_bdqc()
621 p1->pkbdq = pg_vec; in init_prb_bdqc()
623 p1->pkblk_start = pg_vec[0].buffer; in init_prb_bdqc()
624 p1->kblk_size = req_u->req3.tp_block_size; in init_prb_bdqc()
625 p1->knum_blocks = req_u->req3.tp_block_nr; in init_prb_bdqc()
626 p1->hdrlen = po->tp_hdrlen; in init_prb_bdqc()
[all …]
/net/bluetooth/
Dsmp.c403 u8 p1[16], p2[16]; in smp_c1() local
410 memset(p1, 0, 16); in smp_c1()
413 p1[0] = _iat; in smp_c1()
414 p1[1] = _rat; in smp_c1()
415 memcpy(p1 + 2, preq, 7); in smp_c1()
416 memcpy(p1 + 9, pres, 7); in smp_c1()
418 SMP_DBG("p1 %16phN", p1); in smp_c1()
421 u128_xor((u128 *) res, (u128 *) r, (u128 *) p1); in smp_c1()
/net/xfrm/
Dxfrm_policy.c715 u32 *p1 = (u32 *) s1; in selector_cmp() local
721 if (p1[i] != p2[i]) in selector_cmp()