Lines Matching refs:scm_modulus
5372 u_int32_t scm_modulus; /* current ring size */
5381 #define DRT_HASH(scm, addr) ((addr) % (scm)->scm_modulus)
5382 #define DRT_HASH_NEXT(scm, addr) (((addr) + 1) % (scm)->scm_modulus)
5454 for (i = 0; i < ocmap->scm_modulus; i++) {
5463 if (ocmap->scm_modulus == DRT_HASH_SMALL_MODULUS) {
5493 cmap->scm_modulus = nsize;
5497 for (i = 0; i < cmap->scm_modulus; i++) {
5508 for (i = 0; i < ocmap->scm_modulus; i++) {
5539 ocmap->scm_modulus,
5557 (cmap->scm_modulus == DRT_HASH_SMALL_MODULUS) ? DRT_SMALL_ALLOCATION : DRT_LARGE_ALLOCATION);
5575 for (i = 0; i < cmap->scm_modulus; i++) {
5628 for (i = 0; i < cmap->scm_modulus; i++) {
5833 for (offset = 0, j = 0; j < cmap->scm_modulus; offset += (DRT_BITVECTOR_PAGES * PAGE_SIZE), j++) {
5876 cmap->scm_modulus,
5902 cmap->scm_modulus,
5950 for (index = 0; index < cmap->scm_modulus; index++) {