Home
last modified time | relevance | path

Searched refs:port_hash (Results 1 – 5 of 5) sorted by relevance

/unit/src/
H A Dnxt_port_hash.h14 nxt_int_t nxt_port_hash_add(nxt_lvlhsh_t *port_hash, nxt_port_t *port);
16 nxt_int_t nxt_port_hash_remove(nxt_lvlhsh_t *port_hash, nxt_port_t *port);
18 nxt_port_t *nxt_port_hash_find(nxt_lvlhsh_t *port_hash, nxt_pid_t pid,
21 nxt_port_t *nxt_port_hash_retrieve(nxt_lvlhsh_t *port_hash);
H A Dnxt_port_hash.c45 nxt_port_hash_retrieve(nxt_lvlhsh_t *port_hash) in nxt_port_hash_retrieve() argument
47 return nxt_lvlhsh_retrieve(port_hash, &lvlhsh_ports_proto, NULL); in nxt_port_hash_retrieve()
63 nxt_port_hash_add(nxt_lvlhsh_t *port_hash, nxt_port_t *port) in nxt_port_hash_add() argument
76 res = nxt_lvlhsh_insert(port_hash, &lhq); in nxt_port_hash_add()
94 nxt_port_hash_remove(nxt_lvlhsh_t *port_hash, nxt_port_t *port) in nxt_port_hash_remove() argument
105 res = nxt_lvlhsh_delete(port_hash, &lhq); in nxt_port_hash_remove()
123 nxt_port_hash_find(nxt_lvlhsh_t *port_hash, nxt_pid_t pid, in nxt_port_hash_find() argument
134 if (nxt_lvlhsh_find(port_hash, &lhq) == NXT_OK) { in nxt_port_hash_find()
H A Dnxt_router.h110 nxt_lvlhsh_t port_hash; /* of nxt_port_t */ member
H A Dnxt_router.c721 nxt_port_hash_add(&app->port_hash, port); in nxt_router_new_port_handler()
2975 nxt_port_hash_add(&app->port_hash, port); in nxt_router_app_prefork_ready()
4052 app_port = nxt_port_hash_find(&app->port_hash, msg->port_msg.pid, in nxt_router_req_headers_ack_handler()
4308 nxt_port_hash_add(&app->port_hash, port); in nxt_router_app_port_ready()
4413 nxt_port_hash_remove(&app->port_hash, port); in nxt_router_app_get_port_for_quit()
4604 nxt_port_hash_remove(&app->port_hash, port); in nxt_router_app_port_close()
4726 nxt_port_hash_remove(&app->port_hash, port); in nxt_router_adjust_idle_timer()
4810 port = nxt_port_hash_retrieve(&app->port_hash); in nxt_router_free_app()
H A Dnxt_unit.c189 static int nxt_unit_port_hash_add(nxt_lvlhsh_t *port_hash,
191 static nxt_unit_port_t *nxt_unit_port_hash_find(nxt_lvlhsh_t *port_hash,
6401 nxt_unit_port_hash_add(nxt_lvlhsh_t *port_hash, nxt_unit_port_t *port) in nxt_unit_port_hash_add() argument
6411 res = nxt_lvlhsh_insert(port_hash, &lhq); in nxt_unit_port_hash_add()
6425 nxt_unit_port_hash_find(nxt_lvlhsh_t *port_hash, nxt_unit_port_id_t *port_id, in nxt_unit_port_hash_find() argument
6435 res = nxt_lvlhsh_delete(port_hash, &lhq); in nxt_unit_port_hash_find()
6438 res = nxt_lvlhsh_find(port_hash, &lhq); in nxt_unit_port_hash_find()