Searched refs:modinv (Results 1 – 1 of 1) sorted by relevance
1954 unsigned long modinv, vsid_modulus; in vsid_unscramble() local1961 modinv = VSID_MULINV_256M; in vsid_unscramble()1964 modinv = VSID_MULINV_1T; in vsid_unscramble()1982 if (modinv < max_mod_inv) in vsid_unscramble()1983 return (vsid * modinv) % vsid_modulus; in vsid_unscramble()1985 tmp_modinv = modinv/max_mod_inv; in vsid_unscramble()1986 modinv %= max_mod_inv; in vsid_unscramble()1989 protovsid = (protovsid + vsid * modinv) % vsid_modulus; in vsid_unscramble()