/src/sys/dev/wscons/ |
wsdisplay_glyphcache.c | 118 int cache_lines, buckets, i, usedcells = 0, idx; local in function:glyphcache_reconfig 144 /* now allocate buckets */ 145 buckets = (gc->gc_numcells / 223); 146 if ((buckets * 223) < gc->gc_numcells) 147 buckets++; 153 if (buckets < 1) 156 buckets = uimin(buckets, gc->gc_nbuckets); 157 gc->gc_numbuckets = buckets; 159 DPRINTF("%s: using %d buckets\n", __func__, buckets) [all...] |
/src/usr.bin/make/ |
hash.h | 91 HashEntry **buckets; member in struct:HashTable
|
hash.c | 80 * The ratio of # entries to # buckets at which we rebuild the table to 124 for (he = t->buckets[h & t->bucketsMask]; he != NULL; he = he->next) { 139 HashEntry **buckets = bmake_malloc(sizeof *buckets * n); local in function:HashTable_Init 141 buckets[i] = NULL; 143 t->buckets = buckets; 156 HashEntry **buckets = t->buckets; local in function:HashTable_Done 160 HashEntry *he = buckets[i] 315 HashEntry **buckets = t->buckets; local in function:HashIter_Next [all...] |
/src/lib/librumpuser/ |
rumpuser_dl.c | 235 Elf32_Word *gnuhash, *buckets, *ptr; local in function:getsymbols 249 maskwords *= 2; /* sizeof(*buckets) == 4 */ 250 buckets = gnuhash + 4 + maskwords; 252 if (buckets[bi] != 0) { 253 maxchain = buckets[bi]; 265 ptr = buckets + nbuck + (maxchain - symndx);
|
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_cs.c | 80 /* Connect the sorted buckets in the output list. */ 89 struct radeon_cs_buckets buckets; local in function:radeon_cs_parser_relocs 107 radeon_cs_buckets_init(&buckets); 194 radeon_cs_buckets_add(&buckets, &p->relocs[i].tv.head, 198 radeon_cs_buckets_get_list(&buckets, &p->validated);
|
/src/sys/external/bsd/drm2/dist/drm/i915/gem/ |
i915_gem_execbuffer.c | 285 struct hlist_head *buckets; /** ht for relocation handles */ member in struct:i915_execbuffer 326 eb->buckets = kzalloc(sizeof(struct hlist_head) << size, 328 if (eb->buckets) 501 &eb->buckets[hash_32(entry->handle, 836 head = &eb->buckets[hash_32(handle, eb->lut_size)]; 873 memset(eb->buckets, 0, 882 kfree(eb->buckets);
|
/src/sys/uvm/ |
uvm_pdpolicy_clockpro.c | 360 static struct bucket *buckets = &static_bucket; variable in typeref:struct:bucket * 371 size_t allocsz = sizeof(*buckets) * n; 388 size_t allocsz = round_page(sizeof(*buckets) * n); 396 size_t allocsz = round_page(sizeof(*buckets) * n); 429 oldbuckets = buckets; 431 buckets = newbuckets; 445 return &buckets[hash % hashsize];
|
/src/libexec/ld.elf_so/ |
rtld.h | 188 const Elf_Symindx *buckets; /* Hash table buckets array */ member in struct:Struct_Obj_Entry 249 uint32_t nbuckets; /* Number of buckets */ 255 const uint32_t *buckets_gnu; /* Hash table buckets array */ 256 uint32_t nbuckets_gnu; /* Number of GNU hash buckets */
|