Searched refs:protovsid (Results 1 – 2 of 2) sorted by relevance
734 #define vsid_scramble(protovsid, size) \735 ((((protovsid) * VSID_MULTIPLIER_##size) % VSID_MODULUS_##size))738 #define vsid_scramble(protovsid, size) \741 x = (protovsid) * VSID_MULTIPLIER_##size; \747 static inline unsigned long vsid_scramble(unsigned long protovsid, in vsid_scramble() argument755 vsid = protovsid * vsid_multiplier; in vsid_scramble()776 unsigned long protovsid; in get_vsid() local789 protovsid = (context << ESID_BITS) | in get_vsid()791 return vsid_scramble(protovsid, VSID_MULTIPLIER_256M, vsid_bits); in get_vsid()795 protovsid = (context << ESID_BITS_1T) | in get_vsid()[all …]
1937 unsigned long protovsid; in vsid_unscramble() local1973 protovsid = (((vsid * max_mod_inv) % vsid_modulus) * tmp_modinv) % vsid_modulus; in vsid_unscramble()1974 protovsid = (protovsid + vsid * modinv) % vsid_modulus; in vsid_unscramble()1976 return protovsid; in vsid_unscramble()1981 unsigned long protovsid; in reserve_vrma_context_id() local1990 protovsid = vsid_unscramble(VRMA_VSID, MMU_SEGSIZE_1T); in reserve_vrma_context_id()1991 hash__reserve_context_id(protovsid >> ESID_BITS_1T); in reserve_vrma_context_id()
Completed in 9 milliseconds