Searched refs:new_wnd (Results 1 – 2 of 2) sorted by relevance
1342 size_t bits, iw, new_wnd; in wnd_extend() local1350 new_wnd = bytes_to_block(sb, bitmap_size(new_bits)); in wnd_extend()1355 if (new_wnd != wnd->nwnd) { in wnd_extend()1356 new_free = kmalloc_array(new_wnd, sizeof(u16), GFP_NOFS); in wnd_extend()1362 (new_wnd - wnd->nwnd) * sizeof(short)); in wnd_extend()1377 if (iw + 1 == new_wnd) in wnd_extend()1408 wnd->nwnd = new_wnd; in wnd_extend()
192 static void ccid2_update_used_window(struct ccid2_hc_tx_sock *hc, u32 new_wnd) in ccid2_update_used_window() argument194 hc->tx_expected_wnd = (3 * hc->tx_expected_wnd + new_wnd) / 4; in ccid2_update_used_window()