Searched refs:num_buckets (Results 1 - 8 of 8) sorted by relevance
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | bcache.c | 70 unsigned int num_buckets; member in struct:bcache 147 new_num_buckets = bcache->num_buckets * 2; 149 if (sizes[i] > bcache->num_buckets) 161 bcache->structure_size -= (bcache->num_buckets 167 for (i = 0; i < bcache->num_buckets; i++) 187 bcache->num_buckets = new_num_buckets; 210 if (bcache->unique_count >= bcache->num_buckets * CHAIN_LENGTH_THRESHOLD) 218 hash_index = full_hash % bcache->num_buckets; 332 int *chain_length = XCALLOC (c->num_buckets + 1, int); 338 for (b = 0; b < c->num_buckets; [all...] |
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-tim.c | 155 cvmx_tim.num_buckets = temp + 1; 158 if ((cvmx_tim.num_buckets < 3) || cvmx_tim.num_buckets > 1048576) 160 cvmx_dprintf("ERROR: cvmx_tim_setup: num_buckets out of range\n"); 165 cvmx_tim.bucket = cvmx_bootmem_alloc(CVMX_TIM_NUM_TIMERS * cvmx_tim.num_buckets 172 memset(cvmx_tim.bucket, 0, CVMX_TIM_NUM_TIMERS * cvmx_tim.num_buckets * sizeof(cvmx_tim_bucket_entry_t)); 180 cvmx_tim_bucket_entry_t *bucket = cvmx_tim.bucket + timer_id * cvmx_tim.num_buckets; 197 ring_ctl1.s.bsize = cvmx_tim.num_buckets - 1; 217 config_ring0.s.num_buckets = cvmx_tim.num_buckets [all...] |
H A D | cvmx-tim.h | 124 uint32_t num_buckets; /**< How many buckets per wheel */ member in struct:__anon8771 235 work_bucket_ptr = cvmx_tim.bucket + core_num * cvmx_tim.num_buckets + (work_bucket & (cvmx_tim.num_buckets - 1));
|
H A D | cvmx-tim-defs.h | 853 uint64_t num_buckets : 20; /**< Number of buckets - 1 */ member in struct:cvmx_tim_mem_ring0::cvmx_tim_mem_ring0_s 857 uint64_t num_buckets : 20;
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
H A D | AppleObjCRuntimeV1.h | 125 bool NeedsUpdate(uint32_t count, uint32_t num_buckets, argument 127 return m_count != count || m_num_buckets != num_buckets || 131 void UpdateSignature(uint32_t count, uint32_t num_buckets, argument 134 m_num_buckets = num_buckets;
|
H A D | AppleObjCRuntimeV1.cpp | 365 const uint32_t num_buckets = data.GetU32(&offset); local 367 if (m_hash_signature.NeedsUpdate(count, num_buckets, buckets_ptr)) { 368 m_hash_signature.UpdateSignature(count, num_buckets, buckets_ptr); 370 const uint32_t data_size = num_buckets * 2 * sizeof(uint32_t); 377 for (uint32_t bucket_idx = 0; bucket_idx < num_buckets;
|
/freebsd-11-stable/contrib/libucl/uthash/ |
H A D | uthash.h | 100 HASH_FCN(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt); \ 149 (head)->hh.tbl->num_buckets = HASH_INITIAL_NUM_BUCKETS; \ 191 HASH_FCN(keyptr,keylen_in, (head)->hh.tbl->num_buckets, \ 222 (head)->hh.tbl->num_buckets*sizeof(struct UT_hash_bucket) ); \ 244 HASH_TO_BKT( _hd_hh_del->hashv, (head)->hh.tbl->num_buckets, _hd_bkt); \ 287 for( _bkt_i = 0; _bkt_i < (head)->hh.tbl->num_buckets; _bkt_i++) { \ 445 2 * tbl->num_buckets * sizeof(struct UT_hash_bucket)); \ 448 2 * tbl->num_buckets * sizeof(struct UT_hash_bucket)); \ 451 ((tbl->num_items & ((tbl->num_buckets*2)-1)) ? 1 : 0); \ 453 for(_he_bkt_i = 0; _he_bkt_i < tbl->num_buckets; _he_bkt_ 678 unsigned num_buckets, log2_num_buckets; member in struct:UT_hash_table [all...] |
/freebsd-11-stable/contrib/elftoolchain/common/ |
H A D | uthash.h | 101 HASH_FCN(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt); \ 149 (head)->hh.tbl->num_buckets = HASH_INITIAL_NUM_BUCKETS; \ 181 HASH_FCN(keyptr,keylen_in, (head)->hh.tbl->num_buckets, \ 212 (head)->hh.tbl->num_buckets*sizeof(struct UT_hash_bucket) ); \ 234 HASH_TO_BKT( _hd_hh_del->hashv, (head)->hh.tbl->num_buckets, _hd_bkt); \ 271 for( _bkt_i = 0; _bkt_i < (head)->hh.tbl->num_buckets; _bkt_i++) { \ 658 2 * tbl->num_buckets * sizeof(struct UT_hash_bucket)); \ 661 2 * tbl->num_buckets * sizeof(struct UT_hash_bucket)); \ 664 ((tbl->num_items & ((tbl->num_buckets*2)-1)) ? 1 : 0); \ 666 for(_he_bkt_i = 0; _he_bkt_i < tbl->num_buckets; _he_bkt_ 877 unsigned num_buckets, log2_num_buckets; member in struct:UT_hash_table [all...] |
Completed in 202 milliseconds