Home
last modified time | relevance | path

Searched refs:pool (Results 1 – 25 of 27) sorted by path

12

/unit/
H A DCHANGES655 *) Bugfix: "freed pointer is out of pool" alerts might have appeared in
/unit/src/
H A Dnxt_application.c1157 lhq.pool = rt->mem_pool; in nxt_proto_process_add()
1186 lhq.pool = rt->mem_pool; in nxt_proto_process_remove()
H A Dnxt_cache.c39 nxt_int_t nxt_cache_shm_create(nxt_mem_zone_t *pool);
64 cache->pool = mz; in nxt_cache_shm_create()
144 lhq.pool = cache->pool; in nxt_cache_query()
429 lhq.pool = cache->pool; in nxt_cache_update()
H A Dnxt_cache.h21 void *pool; member
H A Dnxt_conf.c1661 lhq.pool = mp; in nxt_conf_object_hash_add()
H A Dnxt_conf.h72 nxt_mp_t *pool; member
H A Dnxt_conf_validation.c1338 p = nxt_mp_nget(vldt->pool, size); in nxt_conf_vldt_error()
1377 nxt_mp_t *pool; member
1391 if (nxt_slow_path(ctx.pool == NULL)) { in nxt_conf_vldt_mtypes()
1404 nxt_mp_destroy(ctx.pool); in nxt_conf_vldt_mtypes()
1485 sa = nxt_sockaddr_parse(vldt->pool, name); in nxt_conf_vldt_listener()
2053 p = nxt_mp_nget(vldt->pool, name->length); in nxt_conf_vldt_match_encoded_patterns_set_member()
2112 p = nxt_mp_nget(vldt->pool, pattern.length); in nxt_conf_vldt_match_encoded_pattern()
2615 ret = nxt_conf_map_object(vldt->pool, value, in nxt_conf_vldt_processes()
2864 ret = nxt_conf_map_object(vldt->pool, value, in nxt_conf_vldt_clone_procmap()
3078 sa = nxt_sockaddr_parse(vldt->pool, name); in nxt_conf_vldt_server()
[all …]
H A Dnxt_controller.c17 nxt_mp_t *pool; member
339 if (nxt_slow_path(vldt.pool == NULL)) { in nxt_controller_start()
356 nxt_mp_destroy(vldt.pool); in nxt_controller_start()
367 nxt_mp_destroy(vldt.pool); in nxt_controller_start()
370 nxt_controller_conf.pool = mp; in nxt_controller_start()
497 nxt_controller_conf.pool = mp; in nxt_controller_conf_default()
1277 vldt.pool = c->mem_pool; in nxt_controller_process_config()
1306 req->conf.pool = mp; in nxt_controller_process_config()
1360 vldt.pool = c->mem_pool; in nxt_controller_process_config()
1389 req->conf.pool = mp; in nxt_controller_process_config()
[all …]
H A Dnxt_hash.h14 void *pool; member
31 lhq->pool = h->pool; in nxt_hash_insert()
41 lhq->pool = h->pool; in nxt_hash_delete()
H A Dnxt_http_static.c1048 lhq.pool = mp; in nxt_http_static_mtypes_hash_add()
H A Dnxt_lvlhsh.c148 void *pool; member
465 lvl = proto->alloc(lhq->pool, size * (sizeof(void *))); in nxt_lvlhsh_convert_bucket_to_level()
491 q.pool = lhq->pool; in nxt_lvlhsh_convert_bucket_to_level()
505 proto->free(lhq->pool, bucket); in nxt_lvlhsh_convert_bucket_to_level()
621 proto->free(lhq->pool, level); in nxt_lvlhsh_free_level()
673 lhq->proto->free(lhq->pool, lvl); in nxt_lvlhsh_level_delete()
710 proto->free(lhq->pool, bucket); in nxt_lvlhsh_bucket_delete()
922 peek->proto->free(peek->pool, level); in nxt_lvlhsh_level_peek()
959 proto->free(peek->pool, bucket); in nxt_lvlhsh_bucket_peek()
973 void *pool) in nxt_lvlhsh_retrieve() argument
[all …]
H A Dnxt_lvlhsh.h95 void *pool; member
193 const nxt_lvlhsh_proto_t *proto, void *pool);
H A Dnxt_main.h84 typedef void *(*nxt_mem_proto_alloc_t)(void *pool, size_t size);
85 typedef void (*nxt_mem_proto_free_t)(void *pool, void *p);
H A Dnxt_mp.c1065 nxt_mp_lvlhsh_alloc(void *pool, size_t size) in nxt_mp_lvlhsh_alloc() argument
1067 return nxt_mp_align(pool, size, size); in nxt_mp_lvlhsh_alloc()
1072 nxt_mp_lvlhsh_free(void *pool, void *p) in nxt_mp_lvlhsh_free() argument
1074 nxt_mp_free(pool, p); in nxt_mp_lvlhsh_free()
H A Dnxt_mp.h116 NXT_EXPORT void *nxt_mp_lvlhsh_alloc(void *pool, size_t size);
117 NXT_EXPORT void nxt_mp_lvlhsh_free(void *pool, void *p);
H A Dnxt_openssl.c998 lhq.pool = mp;
H A Dnxt_port_hash.c58 lhq->pool = NULL; in nxt_port_hash_lhq()
H A Dnxt_port_rpc.c150 lhq.pool = port->mem_pool; in nxt_port_rpc_register_handler_ex()
219 lhq.pool = port->mem_pool; in nxt_port_rpc_ex_set_peer()
266 lhq.pool = port->mem_pool; in nxt_port_rpc_remove_from_peers()
323 lhq.pool = port->mem_pool; in nxt_port_rpc_handler()
379 lhq.pool = port->mem_pool; in nxt_port_rpc_remove_peer()
441 lhq.pool = port->mem_pool; in nxt_port_rpc_remove_peer()
467 lhq.pool = port->mem_pool; in nxt_port_rpc_cancel()
H A Dnxt_port_socket.c1103 lhq.pool = port->mem_pool; in nxt_port_frag_start()
1151 lhq.pool = port->mem_pool; in nxt_port_frag_find()
H A Dnxt_router.c2319 lhq.pool = rtcf->mem_pool; in nxt_router_apps_hash_add()
H A Dnxt_runtime.c1518 lhq.pool = rt->mem_pool; in nxt_runtime_process_get()
1560 lhq.pool = rt->mem_pool; in nxt_runtime_process_add()
1607 lhq.pool = rt->mem_pool; in nxt_runtime_process_remove()
H A Dnxt_unit.c6400 lhq->pool = NULL; in nxt_unit_port_hash_lhq()
6496 lhq.pool = NULL; in nxt_unit_request_hash_add()
6532 lhq.pool = NULL; in nxt_unit_request_hash_find()
H A Dnxt_upstream_source.c36 lhq.pool = mp; in nxt_upstream_header_hash_add()
H A Dnxt_var.c30 nxt_mp_t *pool; member
245 value = nxt_mp_zget(query->pool, sizeof(nxt_str_t)); in nxt_var_cache_value()
259 lhq.pool = query->pool; in nxt_var_cache_value()
557 query->pool = mp; in nxt_var_query_init()
588 nxt_array_init(&parts, query->pool, sizeof(nxt_str_t *)); in nxt_var_query()
617 p = nxt_mp_nget(query->pool, length + strz); in nxt_var_query()
H A Dnxt_vector.c12 const nxt_mem_proto_t *proto, void *pool) in nxt_vector_create() argument
32 const nxt_mem_proto_t *proto, void *pool) in nxt_vector_init() argument
34 vector->start = proto->alloc(pool, items * item_size); in nxt_vector_init()
49 void *pool) in nxt_vector_destroy() argument
54 proto->free(pool, vector->start); in nxt_vector_destroy()
63 proto->free(pool, vector->start); in nxt_vector_destroy()
68 proto->free(pool, vector); in nxt_vector_destroy()
96 start = proto->alloc(pool, size); in nxt_vector_add()
111 proto->free(pool, old); in nxt_vector_add()
125 void *pool) in nxt_vector_zero_add() argument
[all …]

12