Home
last modified time | relevance | path

Searched refs:n2 (Results 1 – 16 of 16) sorted by relevance

/net/dccp/ccids/lib/
Dpacket_history.c163 static void __one_after_loss(struct tfrc_rx_hist *h, struct sk_buff *skb, u32 n2) in __one_after_loss() argument
171 tfrc_rx_hist_entry_from_skb(tfrc_rx_hist_entry(h, 2), skb, n2); in __one_after_loss()
177 if (dccp_loss_free(s0, s2, n2)) { in __one_after_loss()
186 tfrc_rx_hist_entry_from_skb(tfrc_rx_hist_loss_prev(h), skb, n2); in __one_after_loss()
194 tfrc_rx_hist_entry_from_skb(tfrc_rx_hist_entry(h, 1), skb, n2); in __one_after_loss()
232 u64 n2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_ndp; in __two_after_loss() local
234 if (dccp_loss_free(s1, s2, n2)) { in __two_after_loss()
274 u64 n2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_ndp, in __three_after_loss() local
277 if (dccp_loss_free(s1, s2, n2)) { in __three_after_loss()
/net/lapb/
Dlapb_timer.c113 lapb->n2count != lapb->n2) { in lapb_t1timer_expiry()
126 if (lapb->n2count == lapb->n2) { in lapb_t1timer_expiry()
151 if (lapb->n2count == lapb->n2) { in lapb_t1timer_expiry()
169 if (lapb->n2count == lapb->n2) { in lapb_t1timer_expiry()
188 if (lapb->n2count == lapb->n2) { in lapb_t1timer_expiry()
Dlapb_iface.c128 lapb->n2 = LAPB_DEFAULT_N2; in lapb_create_cb()
222 parms->n2 = lapb->n2; in lapb_getparms()
257 if (parms->t1 < 1 || parms->t2 < 1 || parms->n2 < 1) in lapb_setparms()
274 lapb->n2 = parms->n2; in lapb_setparms()
/net/ax25/
Dax25_std_timer.c124 if (ax25->n2count == ax25->n2) { in ax25_std_t1timer_expiry()
144 if (ax25->n2count == ax25->n2) { in ax25_std_t1timer_expiry()
162 if (ax25->n2count == ax25->n2) { in ax25_std_t1timer_expiry()
Dax25_ds_timer.c192 if (ax25->n2count == ax25->n2) { in ax25_ds_t1_timeout()
212 if (ax25->n2count == ax25->n2) { in ax25_ds_t1_timeout()
223 if (ax25->n2count == ax25->n2) { in ax25_ds_t1_timeout()
Daf_ax25.c434 ax25->n2 = ax25_ctl.arg; in ax25_ctl_ioctl()
476 ax25->n2 = ax25_dev->values[AX25_VALUES_N2]; in ax25_fillin_cb_from_dev()
510 ax25->n2 = AX25_DEF_N2; in ax25_fillin_cb()
615 ax25->n2 = opt; in ax25_setsockopt()
746 val = ax25->n2; in ax25_getsockopt()
959 ax25->n2 = oax25->n2; in ax25_make_new()
1847 ax25_info.n2 = ax25->n2; in ax25_ioctl()
1976 ax25->n2count, ax25->n2, in ax25_info_show()
/net/netrom/
Dnr_timer.c214 if (nr->n2count == nr->n2) { in nr_t1timer_expiry()
224 if (nr->n2count == nr->n2) { in nr_t1timer_expiry()
234 if (nr->n2count == nr->n2) { in nr_t1timer_expiry()
Daf_netrom.c328 nr->n2 = opt; in nr_setsockopt()
375 val = nr->n2; in nr_getsockopt()
459 nr->n2 = in nr_create()
507 nr->n2 = onr->n2; in nr_make_new()
1328 nr->n2, in nr_info_show()
/net/bluetooth/
Dsmp.c232 const u8 n1[16], const u8 n2[16], const u8 a1[7], in smp_f5()
249 SMP_DBG("n1 %16phN n2 %16phN", n1, n2); in smp_f5()
261 memcpy(m + 16, n2, 16); in smp_f5()
285 const u8 n1[16], const u8 n2[16], const u8 r[16], in smp_f6()
293 SMP_DBG("n1 %16phN n2 %16phN", n1, n2); in smp_f6()
300 memcpy(m + 33, n2, 16); in smp_f6()
3610 const u8 n2[16] = { in test_f5() local
3624 err = smp_f5(tfm_cmac, w, n1, n2, a1, a2, mackey, ltk); in test_f5()
3645 const u8 n2[16] = { in test_f6() local
3660 err = smp_f6(tfm_cmac, w, n1, n2, r, io_cap, a1, a2, res); in test_f6()
/net/ceph/
Dosdmap.c2974 struct rb_node *n2 = rb_first(locs2); in ceph_compare_crush_locs() local
2977 for ( ; n1 && n2; n1 = rb_next(n1), n2 = rb_next(n2)) { in ceph_compare_crush_locs()
2981 rb_entry(n2, struct crush_loc_node, cl_node); in ceph_compare_crush_locs()
2988 if (!n1 && n2) in ceph_compare_crush_locs()
2990 if (n1 && !n2) in ceph_compare_crush_locs()
/net/llc/
Dllc_c_ev.c665 return !(llc_sk(sk)->retry_count < llc_sk(sk)->n2); in llc_conn_ev_qlfy_retry_cnt_lt_n2()
670 return !(llc_sk(sk)->retry_count >= llc_sk(sk)->n2); in llc_conn_ev_qlfy_retry_cnt_gte_n2()
Daf_llc.c1110 llc->n2 = opt; in llc_ui_setsockopt()
1191 val = llc->n2; break; in llc_ui_getsockopt()
Dllc_conn.c899 llc->n2 = 2; /* max retransmit */ in llc_sk_init()
Dllc_c_ac.c154 if (llc->retry_count > llc->n2) { in llc_conn_ac_rst_ind()
/net/core/
Dneighbour.c1443 struct neighbour *n2, *n1 = neigh; in __neigh_update() local
1455 n2 = NULL; in __neigh_update()
1457 n2 = dst_neigh_lookup_skb(dst, skb); in __neigh_update()
1458 if (n2) in __neigh_update()
1459 n1 = n2; in __neigh_update()
1462 if (n2) in __neigh_update()
1463 neigh_release(n2); in __neigh_update()
/net/mac80211/
Dtx.c4790 int i, have_bits = 0, n1, n2; in __ieee80211_beacon_add_tim() local
4829 n2 = n1; in __ieee80211_beacon_add_tim()
4832 n2 = i; in __ieee80211_beacon_add_tim()
4840 skb_put(skb, n2 - n1); in __ieee80211_beacon_add_tim()
4841 memcpy(pos, ps->tim + n1, n2 - n1 + 1); in __ieee80211_beacon_add_tim()
4843 tim[1] = n2 - n1 + 4; in __ieee80211_beacon_add_tim()