/third_party/mesa3d/src/util/ |
H A D | set.c | 55 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 D | hash_table.c | 84 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 D | set.h | 52 uint32_t max_entries; member
|
/third_party/mesa3d/src/intel/dev/ |
H A D | intel_device_info.c | 189 .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 D | libbpf_probes.c | 280 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 D | ringbuf.c | 120 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 D | skel_internal.h | 41 __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 D | usdt.bpf.h | 65 __uint(max_entries, BPF_USDT_MAX_SPEC_CNT); 72 __uint(max_entries, BPF_USDT_MAX_IP_CNT);
|
H A D | bpf_gen_internal.h | 60 __u32 key_size, __u32 value_size, __u32 max_entries,
|
H A D | gen_loader.c | 244 * 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 D | u_log.c | 37 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 D | dynhds.c | 91 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 D | dynhds.h | 48 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 D | bpf_common.c | 50 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 D | bpf_common.h | 46 int bpf_map_array_create(const uint32_t max_entries)
|
H A D | bpf_prog06.c | 115 .max_entries = getpagesize() in run()
|
H A D | bpf_prog07.c | 123 .max_entries = getpagesize() in run()
|
H A D | bpf_map01.c | 50 attr->max_entries = 1; in run()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_callstack.cpp | 133 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 D | cso_cache.c | 91 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 D | ssl_cache.c | 29 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 D | intel_urb_config.c | 169 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 D | ssl_cache.h | 70 int MBEDTLS_PRIVATE(max_entries); /*!< maximum entries */
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/ |
H A D | layout_large_align_field.h | 90 uint32_t max_entries; /**< max entries allowed. */ member
|
/third_party/node/deps/v8/src/objects/ |
H A D | js-collection.h | 99 int max_entries);
|