Home
last modified time | relevance | path

Searched refs:port_hash (Results 1 – 5 of 5) sorted by last modified time

/unit/src/
H A Dnxt_router.c743 nxt_port_hash_add(&app->port_hash, port); in nxt_router_new_port_handler()
3147 nxt_port_hash_add(&app->port_hash, port); in nxt_router_app_prefork_ready()
4261 app_port = nxt_port_hash_find(&app->port_hash, msg->port_msg.pid, in nxt_router_req_headers_ack_handler()
4517 nxt_port_hash_add(&app->port_hash, port); in nxt_router_app_port_ready()
4622 nxt_port_hash_remove(&app->port_hash, port); in nxt_router_app_get_port_for_quit()
4813 nxt_port_hash_remove(&app->port_hash, port); in nxt_router_app_port_close()
4935 nxt_port_hash_remove(&app->port_hash, port); in nxt_router_adjust_idle_timer()
5019 port = nxt_port_hash_retrieve(&app->port_hash); in nxt_router_free_app()
H A Dnxt_router.h116 nxt_lvlhsh_t port_hash; /* of nxt_port_t */ member
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,
6420 nxt_unit_port_hash_add(nxt_lvlhsh_t *port_hash, nxt_unit_port_t *port) in nxt_unit_port_hash_add() argument
6430 res = nxt_lvlhsh_insert(port_hash, &lhq); in nxt_unit_port_hash_add()
6444 nxt_unit_port_hash_find(nxt_lvlhsh_t *port_hash, nxt_unit_port_id_t *port_id, in nxt_unit_port_hash_find() argument
6454 res = nxt_lvlhsh_delete(port_hash, &lhq); in nxt_unit_port_hash_find()
6457 res = nxt_lvlhsh_find(port_hash, &lhq); in nxt_unit_port_hash_find()
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_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);