Lines Matching refs:hashmask
456 Hashval hashmask, h, hh; in repo_add_solv() local
677 hashmask = mkmask(spool->nstrings + numid); in repo_add_solv()
680 …POOL_DEBUG(SOLV_DEBUG_STATS, "string hash buckets: %d, old %d\n", hashmask + 1, spool->stringhashm… in repo_add_solv()
682 if (hashmask > spool->stringhashmask) in repo_add_solv()
685 spool->stringhashmask = hashmask; in repo_add_solv()
686 spool->stringhashtbl = hashtbl = solv_calloc(hashmask + 1, sizeof(Id)); in repo_add_solv()
689 h = strhash(spool->stringspace + spool->strings[i]) & hashmask; in repo_add_solv()
692 h = HASHCHAIN_NEXT(h, hh, hashmask); in repo_add_solv()
699 hashmask = spool->stringhashmask; in repo_add_solv()
725 h = strhash(sp) & hashmask; in repo_add_solv()
734 h = HASHCHAIN_NEXT(h, hh, hashmask); in repo_add_solv()
751 if (hashmask > mkmask(spool->nstrings + 8192)) in repo_add_solv()
774 hashmask = mkmask(pool->nrels + numrel); in repo_add_solv()
777 …POOL_DEBUG(SOLV_DEBUG_STATS, "rel hash buckets: %d, old %d\n", hashmask + 1, pool->relhashmask + 1… in repo_add_solv()
779 if (hashmask > pool->relhashmask) in repo_add_solv()
782 pool->relhashmask = hashmask; in repo_add_solv()
783 pool->relhashtbl = hashtbl = solv_calloc(hashmask + 1, sizeof(Id)); in repo_add_solv()
786 h = relhash(ran[i].name, ran[i].evr, ran[i].flags) & hashmask; in repo_add_solv()
789 h = HASHCHAIN_NEXT(h, hh, hashmask); in repo_add_solv()
796 hashmask = pool->relhashmask; in repo_add_solv()
809 h = relhash(name, evr, relflags) & hashmask; in repo_add_solv()
818 h = HASHCHAIN_NEXT(h, hh, hashmask); in repo_add_solv()
830 if (hashmask > mkmask(pool->nrels + 4096)) in repo_add_solv()