Home | History | Annotate | Download | only in amdgpu

Lines Matching full:numbits

51 static int primeForNumBits(int numBits)
53 return (1 << numBits) + prime_deltas[numBits];
61 int numBits = 0;
66 numBits++;
69 if (numBits >= (int)sizeof(prime_deltas)) {
70 numBits = sizeof(prime_deltas) - 1;
71 } else if (primeForNumBits(numBits) < hint) {
72 ++numBits;
74 return numBits;
89 short numBits;
142 if (hash->numBits != hint) {
148 hash->numBits = (short)hint;
181 util_data_rehash(hash, hash->numBits + 1);
187 hash->numBits > hash->userNumBits) {
188 int max = MAX(hash->numBits-2, hash->userNumBits);
258 hash->data.d->numBits = 0;