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.c804 struct __ip6_tnl_parm p1; in vti6_siocdevprivate() local
809 memset(&p1, 0, sizeof(p1)); in vti6_siocdevprivate()
818 vti6_parm_from_user(&p1, &p); in vti6_siocdevprivate()
819 t = vti6_locate(net, &p1, 0); in vti6_siocdevprivate()
840 vti6_parm_from_user(&p1, &p); in vti6_siocdevprivate()
841 t = vti6_locate(net, &p1, cmd == SIOCADDTUNNEL); in vti6_siocdevprivate()
851 err = vti6_update(t, &p1, false); in vti6_siocdevprivate()
872 vti6_parm_from_user(&p1, &p); in vti6_siocdevprivate()
873 t = vti6_locate(net, &p1, 0); in vti6_siocdevprivate()
Dip6_tunnel.c1633 struct __ip6_tnl_parm p1; in ip6_tnl_siocdevprivate() local
1638 memset(&p1, 0, sizeof(p1)); in ip6_tnl_siocdevprivate()
1647 ip6_tnl_parm_from_user(&p1, &p); in ip6_tnl_siocdevprivate()
1648 t = ip6_tnl_locate(net, &p1, 0); in ip6_tnl_siocdevprivate()
1670 ip6_tnl_parm_from_user(&p1, &p); in ip6_tnl_siocdevprivate()
1671 t = ip6_tnl_locate(net, &p1, cmd == SIOCADDTUNNEL); in ip6_tnl_siocdevprivate()
1681 ip6_tnl0_update(t, &p1); in ip6_tnl_siocdevprivate()
1683 ip6_tnl_update(t, &p1); in ip6_tnl_siocdevprivate()
1705 ip6_tnl_parm_from_user(&p1, &p); in ip6_tnl_siocdevprivate()
1706 t = ip6_tnl_locate(net, &p1, 0); in ip6_tnl_siocdevprivate()
Dip6_gre.c1273 struct __ip6_tnl_parm p1; in ip6gre_tunnel_siocdevprivate() local
1278 memset(&p1, 0, sizeof(p1)); in ip6gre_tunnel_siocdevprivate()
1287 ip6gre_tnl_parm_from_user(&p1, &p); in ip6gre_tunnel_siocdevprivate()
1288 t = ip6gre_tunnel_locate(net, &p1, 0); in ip6gre_tunnel_siocdevprivate()
1317 ip6gre_tnl_parm_from_user(&p1, &p); in ip6gre_tunnel_siocdevprivate()
1318 t = ip6gre_tunnel_locate(net, &p1, cmd == SIOCADDTUNNEL); in ip6gre_tunnel_siocdevprivate()
1331 ip6gre_tnl_change(t, &p1, 1); in ip6gre_tunnel_siocdevprivate()
1358 ip6gre_tnl_parm_from_user(&p1, &p); in ip6gre_tunnel_siocdevprivate()
1359 t = ip6gre_tunnel_locate(net, &p1, 0); in ip6gre_tunnel_siocdevprivate()
/net/sched/
Dsch_sfb.c111 static u32 prob_plus(u32 p1, u32 p2) in prob_plus() argument
113 u32 res = p1 + p2; in prob_plus()
118 static u32 prob_minus(u32 p1, u32 p2) in prob_minus() argument
120 return p1 > p2 ? p1 - p2 : 0; in prob_minus()
/net/packet/
Daf_packet.c662 static void prb_init_ft_ops(struct tpacket_kbdq_core *p1, in prb_init_ft_ops() argument
665 p1->feature_req_word = req_u->req3.tp_feature_req_word; in prb_init_ft_ops()
673 struct tpacket_kbdq_core *p1 = GET_PBDQC_FROM_RB(rb); in init_prb_bdqc() local
676 memset(p1, 0x0, sizeof(*p1)); in init_prb_bdqc()
678 p1->knxt_seq_num = 1; in init_prb_bdqc()
679 p1->pkbdq = pg_vec; in init_prb_bdqc()
681 p1->pkblk_start = pg_vec[0].buffer; in init_prb_bdqc()
682 p1->kblk_size = req_u->req3.tp_block_size; in init_prb_bdqc()
683 p1->knum_blocks = req_u->req3.tp_block_nr; in init_prb_bdqc()
684 p1->hdrlen = po->tp_hdrlen; in init_prb_bdqc()
[all …]
/net/wireless/
Dmlme.c299 u8 *p1, *p2; in cfg80211_oper_and_ht_capa() local
305 p1 = (u8*)(ht_capa); in cfg80211_oper_and_ht_capa()
308 p1[i] &= p2[i]; in cfg80211_oper_and_ht_capa()
316 u8 *p1, *p2; in cfg80211_oper_and_vht_capa() local
322 p1 = (u8*)(vht_capa); in cfg80211_oper_and_vht_capa()
325 p1[i] &= p2[i]; in cfg80211_oper_and_vht_capa()
/net/bluetooth/
Dsmp.c411 u8 p1[16], p2[16]; in smp_c1() local
418 memset(p1, 0, 16); in smp_c1()
421 p1[0] = _iat; in smp_c1()
422 p1[1] = _rat; in smp_c1()
423 memcpy(p1 + 2, preq, 7); in smp_c1()
424 memcpy(p1 + 9, pres, 7); in smp_c1()
426 SMP_DBG("p1 %16phN", p1); in smp_c1()
429 crypto_xor_cpy(res, r, p1, sizeof(p1)); in smp_c1()
/net/xfrm/
Dxfrm_policy.c1411 u32 *p1 = (u32 *) s1; in selector_cmp() local
1417 if (p1[i] != p2[i]) in selector_cmp()