Home
last modified time | relevance | path

Searched refs:max_size (Results 1 – 10 of 10) sorted by relevance

/unit/src/test/
H A Dnxt_mem_zone_test.c13 size_t max_size) in nxt_mem_zone_test() argument
24 "mem zone test started, max:%uz", max_size); in nxt_mem_zone_test()
26 zone_size = (max_size + 1) * nblocks; in nxt_mem_zone_test()
52 total += size & max_size; in nxt_mem_zone_test()
53 blocks[n] = nxt_mem_zone_alloc(zone, size & max_size); in nxt_mem_zone_test()
H A Dnxt_mp_test.c13 size_t max_size) in nxt_mp_test() argument
29 "mem pool test started, max:%uz", max_size); in nxt_mp_test()
56 size = value & max_size; in nxt_mp_test()
H A Dnxt_tests.h55 size_t max_size);
57 nxt_uint_t nblocks, size_t max_size);
/unit/src/java/
H A Dnxt_jni_Response.c308 uint32_t max_size; in nxt_java_get_response_info() local
322 max_size = nxt_unit_buf_max(); in nxt_java_get_response_info()
323 max_size = max_size < data->header_size ? max_size : data->header_size; in nxt_java_get_response_info()
325 rc = nxt_unit_response_init(req, 200, 16, max_size); in nxt_java_get_response_info()
339 max_size = 2 * (buf->end - p); in nxt_java_get_response_info()
340 if (max_size > nxt_unit_buf_max()) { in nxt_java_get_response_info()
342 max_size); in nxt_java_get_response_info()
347 max_size); in nxt_java_get_response_info()
350 2 * req->response_max_fields, max_size); in nxt_java_get_response_info()
/unit/src/
H A Dnxt_port_socket.c42 nxt_port_socket_init(nxt_task_t *task, nxt_port_t *port, size_t max_size) in nxt_port_socket_init() argument
70 if (max_size == 0) { in nxt_port_socket_init()
71 max_size = 16 * 1024; in nxt_port_socket_init()
74 if ((size_t) sndbuf < max_size) { in nxt_port_socket_init()
83 max_size); in nxt_port_socket_init()
103 port->max_size = nxt_min(max_size, (size_t) sndbuf); in nxt_port_socket_init()
413 sb.limit = port->max_size; in nxt_port_write_handler()
423 port->max_size / PORT_MMAP_MIN_SIZE); in nxt_port_write_handler()
756 iov[1].iov_len = port->max_size; in nxt_port_read_handler()
908 iov[1].iov_len = port->max_size; in nxt_port_queue_read_handler()
[all …]
H A Dnxt_port.h244 uint32_t max_size; member
283 size_t max_size; member
320 size_t max_size);
H A Dnxt_port.c249 msg->max_size = port->max_size; in nxt_port_send_port()
298 port->max_size = new_port_msg->max_size; in nxt_port_new_port_handler()
H A Dnxt_unit.h317 size_t max_size);
H A Dnxt_main_process.c660 port->max_size = 16 * 1024; in nxt_main_process_whoami_handler()
H A Dnxt_unit.c3087 nxt_unit_request_readline_size(nxt_unit_request_info_t *req, size_t max_size) in nxt_unit_request_readline_size() argument
3114 if (max_size <= l_size) { in nxt_unit_request_readline_size()
3134 return nxt_min(max_size, l_size); in nxt_unit_request_readline_size()
5352 m.new_port.max_size = 16 * 1024; in nxt_unit_send_port()