Home
last modified time | relevance | path

Searched refs:max_entries (Results 1 - 25 of 48) sorted by relevance

12

/third_party/mesa3d/src/util/
H A Dset.c55 uint32_t max_entries, size, rehash; member
58 #define ENTRY(max_entries, size, rehash) \
59 { max_entries, size, rehash, \
130 ht->max_entries = hash_sizes[ht->size_index].max_entries; in _mesa_set_init()
336 if (ht->size_index == new_size_index && ht->deleted_entries == ht->max_entries) { in set_rehash()
358 ht->max_entries = hash_sizes[ht->size_index].max_entries; in set_rehash()
379 while (hash_sizes[size_index].max_entries < entries) in _mesa_set_resize()
399 if (ht->entries >= ht->max_entries) { in set_search_or_add()
[all...]
H A Dhash_table.c84 uint32_t max_entries, size, rehash; member
87 #define ENTRY(max_entries, size, rehash) \
88 { max_entries, size, rehash, \
160 ht->max_entries = hash_sizes[ht->size_index].max_entries; in _mesa_hash_table_init()
394 if (ht->size_index == new_size_index && ht->deleted_entries == ht->max_entries) { in _mesa_hash_table_rehash()
416 ht->max_entries = hash_sizes[ht->size_index].max_entries; in _mesa_hash_table_rehash()
437 if (ht->entries >= ht->max_entries) { in hash_table_insert()
439 } else if (ht->deleted_entries + ht->entries >= ht->max_entries) { in hash_table_insert()
[all...]
H A Dset.h52 uint32_t max_entries; member
/third_party/mesa3d/src/intel/dev/
H A Dintel_device_info.c189 .max_entries = {
220 .max_entries = {
260 .max_entries = {
289 .max_entries = {
318 .max_entries = {
352 .max_entries = {
380 .max_entries = {
408 .max_entries = {
458 .max_entries = {
482 .max_entries
[all...]
/third_party/libbpf/src/
H A Dlibbpf_probes.c280 int key_size, value_size, max_entries; in probe_map_create() local
286 max_entries = 1; in probe_map_create()
301 max_entries = 0; in probe_map_create()
314 max_entries = 0; in probe_map_create()
324 max_entries = sysconf(_SC_PAGE_SIZE); in probe_map_create()
333 max_entries = 1; in probe_map_create()
375 fd = bpf_map_create(map_type, NULL, key_size, value_size, max_entries, &opts); in probe_map_create()
H A Dringbuf.c120 r->mask = info.max_entries - 1; in ring_buffer__add()
136 mmap_sz = rb->page_size + 2 * (__u64)info.max_entries; in ring_buffer__add()
139 pr_warn("ringbuf: ring buffer size (%u) is too big\n", info.max_entries); in ring_buffer__add()
434 rb->mask = info.max_entries - 1; in user_ringbuf_map()
451 mmap_sz = rb->page_size + 2 * (__u64)info.max_entries; in user_ringbuf_map()
453 pr_warn("user ringbuf: ring buf size (%u) is too big\n", info.max_entries); in user_ringbuf_map()
H A Dskel_internal.h41 __u32 max_entries; member
223 __u32 max_entries) in skel_map_create()
234 attr.max_entries = max_entries; in skel_map_create()
219 skel_map_create(enum bpf_map_type map_type, const char *map_name, __u32 key_size, __u32 value_size, __u32 max_entries) skel_map_create() argument
H A Dusdt.bpf.h65 __uint(max_entries, BPF_USDT_MAX_SPEC_CNT);
72 __uint(max_entries, BPF_USDT_MAX_IP_CNT);
H A Dbpf_gen_internal.h60 __u32 key_size, __u32 value_size, __u32 max_entries,
H A Dgen_loader.c244 * For example: when ctx->map.max_entries == 0, keep default max_entries from bpf.c in move_ctx2blob()
451 __u32 key_size, __u32 value_size, __u32 max_entries, in bpf_gen__map_create()
469 attr.max_entries = max_entries; in bpf_gen__map_create()
491 /* conditionally update max_entries */ in bpf_gen__map_create()
493 move_ctx2blob(gen, attr_field(map_create_attr, max_entries), 4, in bpf_gen__map_create()
496 offsetof(struct bpf_map_desc, max_entries), in bpf_gen__map_create()
497 true /* check that max_entries != 0 */); in bpf_gen__map_create()
448 bpf_gen__map_create(struct bpf_gen *gen, enum bpf_map_type map_type, const char *map_name, __u32 key_size, __u32 value_size, __u32 max_entries, struct bpf_map_create_opts *map_attr, int map_idx) bpf_gen__map_create() argument
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_log.c37 unsigned max_entries; member
163 if (page->num_entries >= page->max_entries) { in u_log_chunk()
166 page->max_entries * sizeof(*page->entries), in u_log_chunk()
172 page->max_entries = new_max_entries; in u_log_chunk()
/third_party/curl/lib/
H A Ddynhds.c91 void Curl_dynhds_init(struct dynhds *dynhds, size_t max_entries, in Curl_dynhds_init() argument
98 dynhds->max_entries = max_entries; in Curl_dynhds_init()
173 if(dynhds->max_entries && dynhds->hds_len >= dynhds->max_entries) in Curl_dynhds_add()
186 if(dynhds->max_entries && nallc > dynhds->max_entries) in Curl_dynhds_add()
187 nallc = dynhds->max_entries; in Curl_dynhds_add()
H A Ddynhds.h48 size_t max_entries; /* size limit number of entries */ member
59 * Allow `max_entries` headers to be added, 0 for unlimited.
62 void Curl_dynhds_init(struct dynhds *dynhds, size_t max_entries,
/third_party/ltp/testcases/kernel/syscalls/bpf/
H A Dbpf_common.c50 int bpf_map_array_create(const uint32_t max_entries) in bpf_map_array_create() argument
56 .max_entries = max_entries, in bpf_map_array_create()
H A Dbpf_common.h46 int bpf_map_array_create(const uint32_t max_entries)
H A Dbpf_prog06.c115 .max_entries = getpagesize() in run()
H A Dbpf_prog07.c123 .max_entries = getpagesize() in run()
H A Dbpf_map01.c50 attr->max_entries = 1; in run()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_callstack.cpp133 if (entries > stack.max_entries) in update_max_depth()
134 stack.max_entries = entries; in update_max_depth()
/third_party/mesa3d/src/gallium/auxiliary/cso_cache/
H A Dcso_cache.c91 int max_entries = (max_size > hash_size) ? max_size : hash_size; in sanitize_cb() local
92 int to_remove = (max_size < max_entries) * max_entries/4; in sanitize_cb()
/third_party/mbedtls/library/
H A Dssl_cache.c29 cache->max_entries = MBEDTLS_SSL_CACHE_DEFAULT_MAX_ENTRIES; in mbedtls_ssl_cache_init()
184 if (count < cache->max_entries) { in ssl_cache_pick_writing_slot()
208 * with max_entries == 0. */ in ssl_cache_pick_writing_slot()
387 cache->max_entries = max; in mbedtls_ssl_cache_set_max_entries()
/third_party/mesa3d/src/intel/common/
H A Dintel_urb_config.c169 DIV_ROUND_UP(devinfo->urb.max_entries[i] * entry_size_bytes[i], in intel_get_urb_config()
216 entries[i] = MIN2(entries[i], devinfo->urb.max_entries[i]); in intel_get_urb_config()
/third_party/mbedtls/include/mbedtls/
H A Dssl_cache.h70 int MBEDTLS_PRIVATE(max_entries); /*!< maximum entries */
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
H A Dlayout_large_align_field.h90 uint32_t max_entries; /**< max entries allowed. */ member
/third_party/node/deps/v8/src/objects/
H A Djs-collection.h99 int max_entries);

Completed in 14 milliseconds

12