Lines Matching full:bucket
58 uchar_t ovu_index; /* bucket # */
62 uchar_t ovu_index; /* bucket # */
91 static int pagebucket; /* page size bucket */
99 int bucket; in malloc() local
128 bucket = 0; in malloc()
132 bucket++; in malloc()
134 pagebucket = bucket; in malloc()
142 amt = (1UL << EXP); /* size of first bucket */ in malloc()
143 bucket = 0; in malloc()
147 bucket = pagebucket; in malloc()
153 bucket++; in malloc()
156 * If nothing in hash bucket right now, in malloc()
159 if ((op = nextf[bucket]) == NULL) { in malloc()
160 morecore(bucket); in malloc()
161 if ((op = nextf[bucket]) == NULL) in malloc()
165 nextf[bucket] = op->ov_next; in malloc()
167 op->ov_index = (uchar_t)bucket; in malloc()
172 * Allocate more memory to the indicated bucket.
175 morecore(int bucket) in morecore() argument
182 sz = 1UL << (bucket + EXP); in morecore()
221 * free list for this hash bucket. in morecore()
223 nextf[bucket] = op; in morecore()
254 * to determine its bucket: 1st we make one pass thru the lists
326 * Return bucket number, or -1 if not found.