Lines Matching defs:window
1199 * from window implementation
1257 * Check the variable replay window.
1272 uint32_t window;
1294 window = replay->wsize << 3; /* Size of window */
1295 tl = (uint32_t)replay->last; /* Top of window, lower part */
1296 th = (uint32_t)(replay->last >> 32); /* Top of window, high part */
1297 bl = tl - window + 1; /* Bottom of window, lower part */
1301 * 1) the seq is within [bl, 0xffffffff] and the whole window is
1303 * 2) the seq is within [0, bl) and window spans two subspaces.
1305 if ((tl >= window - 1 && seq >= bl) ||
1306 (tl < window - 1 && seq < bl)) {
1309 /* Sequence number inside window - check against replay */
1317 /* Sequence number above top of window or not found in bitmap */
1345 * [0xffffffff-window, 0xffffffff]. This means we got a seq
1346 * which is within our replay window, but in the previous
1349 if (tl < window - 1 && seq >= bl) {
1363 * Seq is within [0, bl) but the whole window is within one subspace.
1401 uint32_t window;
1422 window = replay->wsize << 3; /* Size of window */
1423 tl = (uint32_t)replay->last; /* Top of window, lower part */
1424 th = (uint32_t)(replay->last >> 32); /* Top of window, high part */
1425 bl = tl - window + 1; /* Bottom of window, lower part */
1429 * 1) the seq is within [bl, 0xffffffff] and the whole window is
1431 * 2) the seq is within [0, bl) and window spans two subspaces.
1433 if ((tl >= window - 1 && seq >= bl) ||
1434 (tl < window - 1 && seq < bl)) {
1437 /* Sequence number inside window - check against replay */
1449 /* Sequence number above top of window or not found in bitmap */
1462 * [0xffffffff-window, 0xffffffff]. This means we got a seq
1463 * which is within our replay window, but in the previous
1466 if (tl < window - 1 && seq >= bl) {
1483 * Seq is within [0, bl) but the whole window is within one subspace.