Searched refs:bitnr (Results 1 – 1 of 1) sorted by relevance
216 unsigned int bitnr, nr; in xfrm_replay_check_bmp() local239 bitnr = (pos - diff) % replay_esn->replay_window; in xfrm_replay_check_bmp()241 bitnr = replay_esn->replay_window - (diff - pos); in xfrm_replay_check_bmp()243 nr = bitnr >> 5; in xfrm_replay_check_bmp()244 bitnr = bitnr & 0x1F; in xfrm_replay_check_bmp()245 if (replay_esn->bmp[nr] & (1U << bitnr)) in xfrm_replay_check_bmp()259 unsigned int bitnr, nr, i; in xfrm_replay_advance_bmp() local275 bitnr = (pos + i) % replay_esn->replay_window; in xfrm_replay_advance_bmp()276 nr = bitnr >> 5; in xfrm_replay_advance_bmp()277 bitnr = bitnr & 0x1F; in xfrm_replay_advance_bmp()[all …]