Home
last modified time | relevance | path

Searched refs:max_entries (Results 1 – 25 of 39) sorted by relevance

12

/third_party/weston/xwayland/
Dhash.c51 uint32_t max_entries; member
68 uint32_t max_entries, size, rehash; member
133 ht->max_entries = hash_sizes[ht->size_index].max_entries; in hash_table_create()
235 ht->max_entries = hash_sizes[ht->size_index].max_entries; in hash_table_rehash()
261 if (ht->entries >= ht->max_entries) { in hash_table_insert()
263 } else if (ht->deleted_entries + ht->entries >= ht->max_entries) { in hash_table_insert()
/third_party/mesa3d/src/intel/dev/
Dintel_device_info.c173 .max_entries = {
203 .max_entries = {
243 .max_entries = {
272 .max_entries = {
301 .max_entries = {
335 .max_entries = {
363 .max_entries = {
391 .max_entries = {
440 .max_entries = {
464 .max_entries = {
[all …]
Dintel_device_info.h284 unsigned max_entries[4]; member
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dgfx6_urb.c67 if (nr_vs_entries > devinfo->urb.max_entries[MESA_SHADER_VERTEX]) in gfx6_upload_urb()
68 nr_vs_entries = devinfo->urb.max_entries[MESA_SHADER_VERTEX]; in gfx6_upload_urb()
70 if (nr_gs_entries > devinfo->urb.max_entries[MESA_SHADER_GEOMETRY]) in gfx6_upload_urb()
71 nr_gs_entries = devinfo->urb.max_entries[MESA_SHADER_GEOMETRY]; in gfx6_upload_urb()
Dbrw_program.c471 const int max_entries = 2048; in brw_init_shader_time() local
474 max_entries * BRW_SHADER_TIME_STRIDE * 3, in brw_init_shader_time()
476 brw->shader_time.names = rzalloc_array(brw, const char *, max_entries); in brw_init_shader_time()
477 brw->shader_time.ids = rzalloc_array(brw, int, max_entries); in brw_init_shader_time()
479 max_entries); in brw_init_shader_time()
481 max_entries); in brw_init_shader_time()
482 brw->shader_time.max_entries = max_entries; in brw_init_shader_time()
696 assert(shader_time_index < brw->shader_time.max_entries); in brw_get_shader_time_index()
/third_party/mesa3d/src/util/
Dset.c55 uint32_t max_entries, size, rehash; member
58 #define ENTRY(max_entries, size, rehash) \ argument
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()
401 } else if (ht->deleted_entries + ht->entries >= ht->max_entries) { in set_search_or_add()
Dhash_table.c84 uint32_t max_entries, size, rehash; member
87 #define ENTRY(max_entries, size, rehash) \ argument
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()
729 if (size < ht->max_entries) in _mesa_hash_table_reserve()
732 if (hash_sizes[i].max_entries >= size) { in _mesa_hash_table_reserve()
[all …]
Dset.h52 uint32_t max_entries; member
Dhash_table.h56 uint32_t max_entries; member
/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_table.cc136 tbl->max_entries = grpc_chttp2_hptbl::entries_for_bytes(bytes); in grpc_chttp2_hptbl_set_current_table_size()
137 if (tbl->max_entries > tbl->cap_entries) { in grpc_chttp2_hptbl_set_current_table_size()
138 rebuild_ents(tbl, GPR_MAX(tbl->max_entries, 2 * tbl->cap_entries)); in grpc_chttp2_hptbl_set_current_table_size()
139 } else if (tbl->max_entries < tbl->cap_entries / 3) { in grpc_chttp2_hptbl_set_current_table_size()
140 uint32_t new_cap = GPR_MAX(tbl->max_entries, 16u); in grpc_chttp2_hptbl_set_current_table_size()
Dhpack_table.h80 uint32_t max_entries = kInitialCapacity; member
/third_party/mesa3d/src/gallium/auxiliary/util/
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/ltp/testcases/kernel/syscalls/bpf/
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()
Dbpf_common.h45 int bpf_map_array_create(const uint32_t max_entries)
Dbpf_map01.c50 attr->max_entries = 1; in run()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
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/
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/
Dssl_cache.c46 cache->max_entries = MBEDTLS_SSL_CACHE_DEFAULT_MAX_ENTRIES; in mbedtls_ssl_cache_init()
186 if( count < cache->max_entries ) in ssl_cache_pick_writing_slot()
333 cache->max_entries = max; in mbedtls_ssl_cache_set_max_entries()
/third_party/mesa3d/src/intel/common/
Dintel_urb_config.c166 DIV_ROUND_UP(devinfo->urb.max_entries[i] * entry_size_bytes[i], in intel_get_urb_config()
213 entries[i] = MIN2(entries[i], devinfo->urb.max_entries[i]); in intel_get_urb_config()
/third_party/e2fsprogs/lib/ext2fs/
Dextent.c45 int max_entries; member
137 ppp->max_entries, ppp->left, ppp->visit_num, ppp->flags, in dump_path()
284 handle->path[0].max_entries = ext2fs_le16_to_cpu(eh->eh_max); in ext2fs_extent_open2()
496 newpath->max_entries = ext2fs_le16_to_cpu(eh->eh_max); in ext2fs_extent_get()
963 handle->path[handle->level - 1].max_entries)) { in extent_node_split()
1089 path->left = path->max_entries - 1; in extent_node_split()
1184 if (path->entries >= path->max_entries) { in ext2fs_extent_insert()
1701 info->max_entries = path->max_entries; in ext2fs_extent_get_info()
1702 info->bytes_avail = (path->max_entries - path->entries) * in ext2fs_extent_get_info()
/third_party/mbedtls/include/mbedtls/
Dssl_cache.h84 int MBEDTLS_PRIVATE(max_entries); /*!< maximum entries */
/third_party/e2fsprogs/e2fsck/
Dextents.c534 etl->max_extents += info.max_entries; in e2fsck_check_rebuild_extents()
544 info.num_entries < info.max_entries) in e2fsck_check_rebuild_extents()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_asm.h251 int max_entries; member
/third_party/pulseaudio/src/modules/
Dmodule-rygel-media-server.c472 static bool get_mediacontainer2_list_args(DBusMessage *m, unsigned *offset, unsigned *max_entries, … in get_mediacontainer2_list_args() argument
479 pa_assert(max_entries); in get_mediacontainer2_list_args()
482 …if (!dbus_message_get_args(m, &error, DBUS_TYPE_UINT32, offset, DBUS_TYPE_UINT32, max_entries, DBU… in get_mediacontainer2_list_args()
/third_party/e2fsprogs/misc/
Dtune2fs.c548 int max_entries = (fs->blocksize - dcl_offset) / in rewrite_dir_block() local
550 if (ext2fs_le16_to_cpu(dcl->limit) != max_entries) { in rewrite_dir_block()
552 dcl->limit = ext2fs_cpu_to_le16(max_entries); in rewrite_dir_block()
565 int max_entries = (fs->blocksize - (dcl_offset + in rewrite_dir_block() local
568 if (ext2fs_le16_to_cpu(dcl->limit) != max_entries) in rewrite_dir_block()
569 dcl->limit = ext2fs_cpu_to_le16(max_entries); in rewrite_dir_block()

12