/third_party/libcoap/src/ |
D | coap_cache.c | 187 coap_cache_entry_t *cache_entry = NULL; in coap_cache_get_by_key() local 191 HASH_FIND(hh, ctx->cache, cache_key, sizeof(coap_cache_key_t), cache_entry); in coap_cache_get_by_key() 193 if (cache_entry && cache_entry->idle_timeout > 0) { in coap_cache_get_by_key() 194 coap_ticks(&cache_entry->expire_ticks); in coap_cache_get_by_key() 195 cache_entry->expire_ticks += cache_entry->idle_timeout * COAP_TICKS_PER_SECOND; in coap_cache_get_by_key() 197 return cache_entry; in coap_cache_get_by_key() 205 coap_cache_entry_t *cache_entry; in coap_cache_get_by_pdu() local 210 cache_entry = coap_cache_get_by_key(session->context, cache_key); in coap_cache_get_by_pdu() 212 if (cache_entry && cache_entry->idle_timeout > 0) { in coap_cache_get_by_pdu() 213 coap_ticks(&cache_entry->expire_ticks); in coap_cache_get_by_pdu() [all …]
|
D | mem.c | 271 INIT_STORAGE(cache_entry, COAP_MAX_CACHE_ENTRIES); in coap_memory_init()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_pipeline_cache.c | 36 struct cache_entry struct 82 entry_size(struct cache_entry *entry) in entry_size() 92 static struct cache_entry * 104 struct cache_entry *entry = cache->hash_table[index]; in tu_pipeline_cache_search_unlocked() 117 static struct cache_entry * 121 struct cache_entry *entry; in tu_pipeline_cache_search() 134 struct cache_entry *entry) in tu_pipeline_cache_set_entry() 160 struct cache_entry **table; in tu_pipeline_cache_grow() 161 struct cache_entry **old_table = cache->hash_table; in tu_pipeline_cache_grow() 174 struct cache_entry *entry = old_table[i]; in tu_pipeline_cache_grow() [all …]
|
D | tu_private.h | 267 struct cache_entry; 279 struct cache_entry **hash_table;
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_pipeline_cache.c | 240 v3dv_pipeline_shared_data_write_to_blob(const struct v3dv_pipeline_shared_data *cache_entry, 269 struct v3dv_pipeline_shared_data *cache_entry = in v3dv_pipeline_cache_search_for_pipeline() local 271 assert(cache_entry); in v3dv_pipeline_cache_search_for_pipeline() 276 fprintf(stderr, "\tcache hit: %p\n", cache_entry); in v3dv_pipeline_cache_search_for_pipeline() 282 v3dv_pipeline_shared_data_ref(cache_entry); in v3dv_pipeline_cache_search_for_pipeline() 286 return cache_entry; in v3dv_pipeline_cache_search_for_pipeline() 665 struct v3dv_pipeline_shared_data *cache_entry = in pipeline_cache_load() local 667 if (!cache_entry) in pipeline_cache_load() 670 _mesa_hash_table_insert(cache->cache, cache_entry->sha1_key, cache_entry); in pipeline_cache_load() 731 struct v3dv_pipeline_shared_data *cache_entry = entry->data; in v3dv_pipeline_cache_finish() local [all …]
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_pipeline_cache.c | 34 struct cache_entry { struct 106 entry_size(struct cache_entry *entry) in entry_size() 113 ret = align(ret, alignof(struct cache_entry)); in entry_size() 181 static struct cache_entry * 192 struct cache_entry *entry = cache->hash_table[index]; in radv_pipeline_cache_search_unlocked() 205 static struct cache_entry * 208 struct cache_entry *entry; in radv_pipeline_cache_search() 220 radv_pipeline_cache_set_entry(struct radv_pipeline_cache *cache, struct cache_entry *entry) in radv_pipeline_cache_set_entry() 246 struct cache_entry **table; in radv_pipeline_cache_grow() 247 struct cache_entry **old_table = cache->hash_table; in radv_pipeline_cache_grow() [all …]
|
D | radv_private.h | 328 struct cache_entry; 339 struct cache_entry **hash_table;
|
/third_party/libcoap/include/coap3/ |
D | coap_cache.h | 164 coap_cache_entry_t *cache_entry); 203 const coap_pdu_t *coap_cache_get_pdu(const coap_cache_entry_t *cache_entry); 216 void coap_cache_set_app_data(coap_cache_entry_t *cache_entry, void *data, 228 void *coap_cache_get_app_data(const coap_cache_entry_t *cache_entry);
|
/third_party/libcoap/man/ |
D | coap_cache.txt.in | 252 coap_cache_entry_t *cache_entry = coap_cache_get_by_pdu(session, 257 if (!cache_entry) { 263 cache_entry = coap_new_cache_entry(session, request, 268 data_so_far = coap_cache_get_app_data(cache_entry); 273 coap_cache_set_app_data(cache_entry, NULL, NULL); 276 if (!cache_entry) { 290 data_so_far = coap_cache_get_app_data(cache_entry); 294 coap_cache_set_app_data(cache_entry, data_so_far, cache_free_app_data); 298 data_so_far = coap_cache_get_app_data(cache_entry); 299 coap_cache_set_app_data(cache_entry, NULL, NULL);
|
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
D | pb_bufmgr_cache.c | 56 struct pb_cache_entry cache_entry; member 119 pb_cache_add_buffer(&buf->cache_entry); in pb_cache_buffer_destroy() 245 pb_cache_init_entry(&mgr->cache, &buf->cache_entry, &buf->base, 0); in pb_cache_manager_create_buffer()
|
/third_party/libcoap/examples/ |
D | coap-server.c | 495 coap_cache_entry_t *cache_entry = coap_cache_get_by_pdu(session, in hnd_put_example_data() local 500 if (!cache_entry) { in hnd_put_example_data() 506 cache_entry = coap_new_cache_entry(session, request, in hnd_put_example_data() 511 data_so_far = coap_cache_get_app_data(cache_entry); in hnd_put_example_data() 516 coap_cache_set_app_data(cache_entry, NULL, NULL); in hnd_put_example_data() 519 if (!cache_entry) { in hnd_put_example_data() 533 data_so_far = coap_cache_get_app_data(cache_entry); in hnd_put_example_data() 537 coap_cache_set_app_data(cache_entry, data_so_far, cache_free_app_data); in hnd_put_example_data() 541 data_so_far = coap_cache_get_app_data(cache_entry); in hnd_put_example_data() 542 coap_cache_set_app_data(cache_entry, NULL, NULL); in hnd_put_example_data() [all …]
|
/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_bo.h | 39 struct pb_cache_entry cache_entry; member
|
D | radeon_drm_bo.c | 430 pb_cache_add_buffer(&bo->u.real.cache_entry); in radeon_bo_destroy_or_cache() 684 pb_cache_init_entry(&rws->bo_cache, &bo->u.real.cache_entry, &bo->base, in radeon_create_bo()
|
/third_party/mesa3d/src/gallium/winsys/virgl/drm/ |
D | virgl_drm_winsys.h | 46 struct virgl_resource_cache_entry cache_entry; member
|
D | virgl_drm_winsys.c | 60 (struct virgl_hw_res*)((char*)ptr - offsetof(struct virgl_hw_res, cache_entry)) 158 virgl_resource_cache_add(&qdws->cache, &old->cache_entry); in virgl_drm_resource_reference() 244 virgl_resource_cache_entry_init(&res->cache_entry, params); in virgl_drm_winsys_resource_create_blob() 319 virgl_resource_cache_entry_init(&res->cache_entry, params); in virgl_drm_winsys_resource_create()
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_bo.h | 110 struct pb_cache_entry cache_entry[]; member
|
D | amdgpu_bo.c | 235 pb_cache_add_buffer(bo->cache_entry); in amdgpu_bo_destroy_or_cache() 504 pb_cache_init_entry(&ws->bo_cache, bo->cache_entry, &bo->base, in amdgpu_create_bo()
|
/third_party/mesa3d/src/gallium/winsys/virgl/vtest/ |
D | virgl_vtest_winsys.h | 72 struct virgl_resource_cache_entry cache_entry; member
|
D | virgl_vtest_winsys.c | 37 (struct virgl_hw_res*)((char*)ptr - offsetof(struct virgl_hw_res, cache_entry)) 217 virgl_resource_cache_add(&vtws->cache, &old->cache_entry); in virgl_vtest_resource_reference() 305 virgl_resource_cache_entry_init(&res->cache_entry, params); in virgl_vtest_winsys_resource_create()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_bo.h | 100 struct pb_cache_entry cache_entry[]; member
|
D | zink_program.c | 720 struct gfx_pipeline_cache_entry *cache_entry = entry->data; in zink_get_gfx_pipeline() local 721 state->pipeline = cache_entry->pipeline; in zink_get_gfx_pipeline() 759 struct compute_pipeline_cache_entry *cache_entry = entry->data; in zink_get_compute_pipeline() local 760 state->pipeline = cache_entry->pipeline; in zink_get_compute_pipeline()
|
D | zink_bo.c | 218 pb_cache_add_buffer(bo->cache_entry); in bo_destroy_or_cache() 271 pb_cache_init_entry(&screen->pb.bo_cache, bo->cache_entry, &bo->base, heap); in bo_create_internal()
|
/third_party/mesa3d/docs/relnotes/ |
D | 21.0.0.rst | 2603 - amdgpu_bo: make cache_entry a extensible array
|
D | 21.1.0.rst | 5519 - radv: memset the alignment hole in cache_entry to 0
|