Searched refs:port_hash (Results 1 – 5 of 5) sorted by last modified time
/unit/src/ |
H A D | nxt_router.c | 742 nxt_port_hash_add(&app->port_hash, port); in nxt_router_new_port_handler() 3151 nxt_port_hash_add(&app->port_hash, port); in nxt_router_app_prefork_ready() 4265 app_port = nxt_port_hash_find(&app->port_hash, msg->port_msg.pid, in nxt_router_req_headers_ack_handler() 4521 nxt_port_hash_add(&app->port_hash, port); in nxt_router_app_port_ready() 4626 nxt_port_hash_remove(&app->port_hash, port); in nxt_router_app_get_port_for_quit() 4817 nxt_port_hash_remove(&app->port_hash, port); in nxt_router_app_port_close() 4939 nxt_port_hash_remove(&app->port_hash, port); in nxt_router_adjust_idle_timer() 5023 port = nxt_port_hash_retrieve(&app->port_hash); in nxt_router_free_app()
|
H A D | nxt_router.h | 114 nxt_lvlhsh_t port_hash; /* of nxt_port_t */ member
|
H A D | nxt_unit.c | 189 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, 6419 nxt_unit_port_hash_add(nxt_lvlhsh_t *port_hash, nxt_unit_port_t *port) in nxt_unit_port_hash_add() argument 6429 res = nxt_lvlhsh_insert(port_hash, &lhq); in nxt_unit_port_hash_add() 6443 nxt_unit_port_hash_find(nxt_lvlhsh_t *port_hash, nxt_unit_port_id_t *port_id, in nxt_unit_port_hash_find() argument 6453 res = nxt_lvlhsh_delete(port_hash, &lhq); in nxt_unit_port_hash_find() 6456 res = nxt_lvlhsh_find(port_hash, &lhq); in nxt_unit_port_hash_find()
|
H A D | nxt_port_hash.c | 45 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 D | nxt_port_hash.h | 14 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);
|