Home
last modified time | relevance | path

Searched refs:VSID_NBPW (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/powerpc/aim/
H A Dmmu_oea.c214 #define VSID_NBPW (sizeof(u_int32_t) * 8) macro
215 static u_int moea_vsid_bitmap[NPMAPS / VSID_NBPW];
873 moea_vsid_bitmap[(KERNEL_VSIDBITS & (NPMAPS - 1)) / VSID_NBPW] in moea_bootstrap()
874 |= 1 << (KERNEL_VSIDBITS % VSID_NBPW); in moea_bootstrap()
1736 for (i = 0; i < NPMAPS; i += VSID_NBPW) { in moea_pinit()
1751 mask = 1 << (hash & (VSID_NBPW - 1)); in moea_pinit()
1761 hash &= rounddown2(0xfffff, VSID_NBPW); in moea_pinit()
1884 mask = 1 << (idx % VSID_NBPW); in moea_release()
1885 idx /= VSID_NBPW; in moea_release()
H A Dmmu_oea64.c235 #define VSID_NBPW (sizeof(u_int32_t) * 8) macro
243 static u_int moea64_vsid_bitmap[NVSIDS / VSID_NBPW];
1099 moea64_vsid_bitmap[(KERNEL_VSIDBITS & (NVSIDS - 1)) / VSID_NBPW] in moea64_mid_bootstrap()
1100 |= 1 << (KERNEL_VSIDBITS % VSID_NBPW); in moea64_mid_bootstrap()
2451 for (i = 0; i < NVSIDS; i += VSID_NBPW) { in moea64_get_unique_vsid()
2466 mask = 1 << (hash & (VSID_NBPW - 1)); in moea64_get_unique_vsid()
2476 hash &= rounddown2(VSID_HASHMASK, VSID_NBPW); in moea64_get_unique_vsid()
2666 mask = 1 << (idx % VSID_NBPW); in moea64_release_vsid()
2667 idx /= VSID_NBPW; in moea64_release_vsid()