Home
last modified time | relevance | path

Searched refs:lvlhsh (Results 1 – 8 of 8) sorted by relevance

/unit/src/
H A Dnxt_fd_event.c33 nxt_fd_event_hash_add(nxt_lvlhsh_t *lvlhsh, nxt_fd_t fd, nxt_fd_event_t *ev) in nxt_fd_event_hash_add() argument
43 ret = nxt_lvlhsh_insert(lvlhsh, &lhq); in nxt_fd_event_hash_add()
56 nxt_fd_event_hash_get(nxt_task_t *task, nxt_lvlhsh_t *lvlhsh, nxt_fd_t fd) in nxt_fd_event_hash_get() argument
64 ret = nxt_lvlhsh_find(lvlhsh, &lhq); in nxt_fd_event_hash_get()
77 nxt_fd_event_hash_delete(nxt_task_t *task, nxt_lvlhsh_t *lvlhsh, nxt_fd_t fd, in nxt_fd_event_hash_delete() argument
86 ret = nxt_lvlhsh_delete(lvlhsh, &lhq); in nxt_fd_event_hash_delete()
97 nxt_fd_event_hash_destroy(nxt_lvlhsh_t *lvlhsh) in nxt_fd_event_hash_destroy() argument
102 ev = nxt_lvlhsh_retrieve(lvlhsh, &nxt_event_set_fd_hash_proto, NULL); in nxt_fd_event_hash_destroy()
H A Dnxt_hash.h12 nxt_lvlhsh_t lvlhsh; member
23 return nxt_lvlhsh_find(&h->lvlhsh, lhq); in nxt_hash_find()
33 return nxt_lvlhsh_insert(&h->lvlhsh, lhq); in nxt_hash_insert()
43 return nxt_lvlhsh_delete(&h->lvlhsh, lhq); in nxt_hash_delete()
H A Dnxt_file_cache.c44 cache->lvlhsh.shift[1] = 10; in nxt_file_cache_init()
46 cache->lvlhsh.ctx = &ctx; in nxt_file_cache_init()
120 ret = nxt_lvlhsh_insert(&cache->lvlhsh, hkey); in nxt_file_cache_query_locked()
416 if (nxt_lvlhsh_insert(&cache->lvlhsh, &hkey) != NXT_OK) {
486 nxt_lvlhsh_delete(&cache->lvlhsh, &hkey); in nxt_cache_node_release_locked()
H A Dnxt_event_engine.h345 nxt_int_t nxt_fd_event_hash_add(nxt_lvlhsh_t *lvlhsh, nxt_fd_t fd,
347 void *nxt_fd_event_hash_get(nxt_task_t *task, nxt_lvlhsh_t *lvlhsh,
349 void nxt_fd_event_hash_delete(nxt_task_t *task, nxt_lvlhsh_t *lvlhsh,
351 void nxt_fd_event_hash_destroy(nxt_lvlhsh_t *lvlhsh);
H A Dnxt_cache.h19 nxt_lvlhsh_t lvlhsh; member
H A Dnxt_cache.c175 ret = nxt_lvlhsh_find(&cache->lvlhsh, lhq); in nxt_cache_query_locked()
226 ret = nxt_lvlhsh_insert(&cache->lvlhsh, lhq); in nxt_cache_node_hold()
433 ret = nxt_lvlhsh_insert(&cache->lvlhsh, &lhq); in nxt_cache_update()
H A Dnxt_openssl.c85 nxt_lvlhsh_t *lvlhsh, nxt_tls_bundle_hash_item_t *item, nxt_mp_t * mp);
976 nxt_openssl_bundle_hash_insert(nxt_task_t *task, nxt_lvlhsh_t *lvlhsh, argument
1005 ret = nxt_lvlhsh_insert(lvlhsh, &lhq);
H A Dnxt_conf.c111 nxt_lvlhsh_t *lvlhsh, nxt_conf_object_member_t *member);
1650 nxt_conf_object_hash_add(nxt_mp_t *mp, nxt_lvlhsh_t *lvlhsh, in nxt_conf_object_hash_add() argument
1663 return nxt_lvlhsh_insert(lvlhsh, &lhq); in nxt_conf_object_hash_add()