Home
last modified time | relevance | path

Searched refs:p2 (Results 1 – 5 of 5) sorted by relevance

/net/caif/
Dcfctrl.c75 const struct cfctrl_link_param *p2) 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()
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()
99 p2->u.utility.fifosize_bufs in param_eq()
[all …]
/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/wireless/
Dmlme.c271 u8 *p1, *p2; in cfg80211_oper_and_ht_capa() local
278 p2 = (u8*)(ht_capa_mask); in cfg80211_oper_and_ht_capa()
280 p1[i] &= p2[i]; in cfg80211_oper_and_ht_capa()
288 u8 *p1, *p2; in cfg80211_oper_and_vht_capa() local
295 p2 = (u8*)(vht_capa_mask); in cfg80211_oper_and_vht_capa()
297 p1[i] &= p2[i]; in cfg80211_oper_and_vht_capa()
/net/bluetooth/
Dsmp.c414 u8 p1[16], p2[16]; in smp_c1() local
442 memcpy(p2, ra, 6); in smp_c1()
443 memcpy(p2 + 6, ia, 6); in smp_c1()
444 memset(p2 + 12, 0, 4); in smp_c1()
446 SMP_DBG("p2 %16phN", p2); in smp_c1()
449 u128_xor((u128 *) res, (u128 *) res, (u128 *) p2); in smp_c1()
/net/xfrm/
Dxfrm_policy.c1410 u32 *p2 = (u32 *) s2; in selector_cmp() local
1415 if (p1[i] != p2[i]) in selector_cmp()