Lines Matching refs:data

15 static nxt_int_t nxt_cache_lvlhsh_test(nxt_lvlhsh_query_t *lhq, void *data);
23 static void nxt_cache_wait_handler(nxt_thread_t *thr, void *obj, void *data);
24 static void nxt_cache_timeout_handler(nxt_thread_t *thr, void *obj, void *data);
25 static void nxt_cache_wake_handler(nxt_thread_t *thr, void *obj, void *data);
40 static void *nxt_cache_shm_alloc(void *data, size_t size, nxt_uint_t nalloc);
73 nxt_cache_shm_alloc(void *data, size_t size, nxt_uint_t nalloc) in nxt_cache_shm_alloc() argument
75 return nxt_mem_zone_align(data, size, size); in nxt_cache_shm_alloc()
97 nxt_cache_lvlhsh_test(nxt_lvlhsh_query_t *lhq, void *data) in nxt_cache_lvlhsh_test() argument
101 node = data; in nxt_cache_lvlhsh_test()
142 lhq.key.data = q->key_data; in nxt_cache_query()
343 nxt_cache_wait_handler(nxt_thread_t *thr, void *obj, void *data) in nxt_cache_wait_handler() argument
365 nxt_cache_timeout_handler(nxt_thread_t *thr, void *obj, void *data) in nxt_cache_timeout_handler() argument
379 nxt_cache_wake_handler(nxt_thread_t *thr, void *obj, void *data) in nxt_cache_wake_handler() argument
426 lhq.key.data = node->key_data; in nxt_cache_update()
464 u_char *p, *data; in nxt_cache_release() local
489 data = nxt_malloc(size); in nxt_cache_release()
491 if (data == NULL) { in nxt_cache_release()
497 p = data; in nxt_cache_release()
501 if (p != data) { in nxt_cache_release()
502 nxt_memcpy(data, p, size); in nxt_cache_release()
506 cache->delete_handler, data, NULL, thr->log); in nxt_cache_release()
576 node = cache->alloc(cache->data, sizeof(nxt_cache_node_t)); in nxt_cache_node_alloc()
595 cache->free(cache->data, node); in nxt_cache_node_free()
618 qw = cache->alloc(cache->data, sizeof(nxt_cache_query_wait_t)); in nxt_cache_query_wait_alloc()
639 cache->free(cache->data, qw); in nxt_cache_query_wait_free()