HomeSort by: relevance | last modified time | path
    Searched refs:max_nr_buckets (Results 1 - 6 of 6) sorted by relevancy

  /src/external/lgpl2/userspace-rcu/dist/src/
rculfhash-mm-mmap.c 119 if (ht->min_nr_alloc_buckets == ht->max_nr_buckets) {
122 ht->max_nr_buckets, sizeof(*ht->tbl_mmap));
127 ht->tbl_mmap = memory_map(ht->max_nr_buckets
135 urcu_posix_assert(ht->min_nr_alloc_buckets < ht->max_nr_buckets);
151 if (ht->min_nr_alloc_buckets == ht->max_nr_buckets) {
158 ht->max_nr_buckets * sizeof(*ht->tbl_mmap));
163 urcu_posix_assert(ht->min_nr_alloc_buckets < ht->max_nr_buckets);
177 unsigned long max_nr_buckets, const struct cds_lfht_alloc *alloc)
182 if (max_nr_buckets <= page_bucket_size) {
184 min_nr_alloc_buckets = max_nr_buckets;
    [all...]
rculfhash-internal.h 60 unsigned long max_nr_buckets; member in struct:cds_lfht
160 unsigned long max_nr_buckets)
173 ht->max_nr_buckets = max_nr_buckets;
rculfhash-mm-chunk.c 63 unsigned long max_nr_buckets, const struct cds_lfht_alloc *alloc)
68 max_nr_buckets / MAX_CHUNK_TABLE);
69 nr_chunks = max_nr_buckets / min_nr_alloc_buckets;
76 min_nr_alloc_buckets, max_nr_buckets);
rculfhash-mm-order.c 65 unsigned long max_nr_buckets, const struct cds_lfht_alloc *alloc)
69 min_nr_alloc_buckets, max_nr_buckets);
rculfhash.c 1619 const struct cds_lfht_mm_type *get_mm_type(unsigned long max_nr_buckets)
1621 if (max_nr_buckets && max_nr_buckets <= (1ULL << 32))
1632 unsigned long max_nr_buckets __attribute__((unused)))
1646 unsigned long max_nr_buckets,
1668 mm = get_mm_type(max_nr_buckets);
1670 /* max_nr_buckets == 0 for order based mm means infinite */
1671 if (mm == &cds_lfht_mm_order && !max_nr_buckets)
1672 max_nr_buckets = 1UL << (MAX_TABLE_ORDER - 1);
1674 /* max_nr_buckets must be power of two *
    [all...]
  /src/external/lgpl2/userspace-rcu/dist/include/urcu/
rculfhash.h 130 unsigned long max_nr_buckets, const struct cds_lfht_alloc *alloc);
147 unsigned long max_nr_buckets,
159 unsigned long max_nr_buckets,
171 * @max_nr_buckets: the maximum number of hash table buckets allowed.
199 unsigned long max_nr_buckets,
204 return _cds_lfht_new(init_size, min_nr_alloc_buckets, max_nr_buckets,
213 * @max_nr_buckets: the maximum number of hash table buckets allowed.
244 unsigned long max_nr_buckets,
250 return _cds_lfht_new_with_alloc(init_size, min_nr_alloc_buckets, max_nr_buckets,
261 * @max_nr_buckets: the maximum number of hash table buckets allowed
    [all...]

Completed in 18 milliseconds