Home
last modified time | relevance | path

Searched refs:PORT_MMAP_DATA_SIZE (Results 1 – 4 of 4) sorted by relevance

/unit/src/
H A Dnxt_port_memory_int.h19 #define PORT_MMAP_DATA_SIZE 1024 macro
25 #define PORT_MMAP_DATA_SIZE (1024 * 1024 * 10) macro
30 #define PORT_MMAP_SIZE (PORT_MMAP_HEADER_SIZE + PORT_MMAP_DATA_SIZE)
31 #define PORT_MMAP_CHUNK_COUNT (PORT_MMAP_DATA_SIZE / PORT_MMAP_CHUNK_SIZE)
H A Dnxt_http_websocket.c68 buf_free_size = nxt_min(frame_size, PORT_MMAP_DATA_SIZE); in nxt_http_websocket_client()
H A Dnxt_unit.c477 lib->shm_mmap_limit = (shm_limit + PORT_MMAP_DATA_SIZE - 1) in nxt_unit_init()
478 / PORT_MMAP_DATA_SIZE; in nxt_unit_init()
611 lib->shm_mmap_limit = (init->shm_limit + PORT_MMAP_DATA_SIZE - 1) in nxt_unit_create()
612 / PORT_MMAP_DATA_SIZE; in nxt_unit_create()
2394 if (nxt_slow_path(size > PORT_MMAP_DATA_SIZE)) { in nxt_unit_response_buf_alloc()
2847 return PORT_MMAP_DATA_SIZE; in nxt_unit_buf_max()
2918 part_size = nxt_min(size, PORT_MMAP_DATA_SIZE); in nxt_unit_response_write_nb()
3019 buf_size = nxt_min(read_info->buf_size, PORT_MMAP_DATA_SIZE); in nxt_unit_response_write_cb()
3335 alloc_size = nxt_min(buf_size, PORT_MMAP_DATA_SIZE); in nxt_unit_websocket_sendv()
3378 alloc_size = nxt_min(buf_size, PORT_MMAP_DATA_SIZE); in nxt_unit_websocket_sendv()
H A Dnxt_router.c5552 if (nxt_slow_path(req_size > PORT_MMAP_DATA_SIZE)) { in nxt_router_prepare_msg()
5560 nxt_min(req_size + content_length, PORT_MMAP_DATA_SIZE)); in nxt_router_prepare_msg()
5743 free_size = nxt_min(size, PORT_MMAP_DATA_SIZE); in nxt_router_prepare_msg()