Lines Matching defs:knext
1186 unsigned int i, knext, nkeys;
1204 knext = adb->old_key_next;
1222 * knext.
1224 for (i = nkeys - 1; i > knext; i--) {
1227 memset(&adb->old_keys[knext], 0, sizeof(osa_pw_hist_ent));
1241 * tmp[0] .. tmp[N-1] = old[(knext-N)%M] .. old[(knext-1)%M]
1255 j = (i + nkeys + knext - (nhist - 1)) % nkeys;
1260 j = (i + nkeys + knext) % nkeys;
1270 knext = adb->old_key_next = 0;
1275 * is less than the previous nhist, it is possible for knext to
1279 if (knext + 1 > nkeys)
1280 knext = adb->old_key_next = 0;
1282 histp = &adb->old_keys[knext];
1288 adb->old_keys[knext] = *pw;