Home
last modified time | relevance | path

Searched refs:mmap (Results 1 – 16 of 16) sorted by path

/unit/auto/
H A Dmmap17 if (mmap(NULL, 4096, PROT_READ | PROT_WRITE,
39 if (mmap(NULL, 4096, PROT_READ | PROT_WRITE,
60 if (mmap(NULL, 4096, PROT_READ | PROT_WRITE,
80 if (mmap(NULL, 4096, PROT_READ | PROT_WRITE,
/unit/
H A Dconfigure119 . auto/mmap
/unit/src/
H A Dnxt_application.c91 .mmap = nxt_port_mmap_handler,
H A Dnxt_buf.h100 nxt_mem_map_file_ctx_t (mmap)
H A Dnxt_buf_pool.c121 bp->mmap = 1; in nxt_buf_pool_mmap_alloc()
140 if (bp->mmap) { in nxt_buf_pool_free()
141 nxt_mem_unmap(b->mem.start, &b->mmap, size); in nxt_buf_pool_free()
155 if (bp->mmap) { in nxt_buf_pool_free()
H A Dnxt_buf_pool.h32 uint8_t mmap; /* 1 bit */ member
H A Dnxt_controller.c153 .mmap = nxt_port_mmap_handler,
H A Dnxt_fiber.c131 s = mmap(NULL, size, PROT_READ | PROT_WRITE, in nxt_fiber_create_stack()
166 s = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); in nxt_fiber_create_stack()
H A Dnxt_mem_map.c16 p = mmap(addr, len, protection, flags, fd, offset); in nxt_mem_mmap()
H A Dnxt_port.h33 nxt_port_handler_t mmap; member
100 _NXT_PORT_MSG_MMAP = nxt_port_handler_idx(mmap),
184 uint8_t mmap; /* 1 bit */ member
H A Dnxt_port_memory.c760 msg->port_msg.mmap = 1; in nxt_port_mmap_write()
H A Dnxt_port_rpc.c512 msg.port_msg.mmap = 0; in nxt_port_rpc_close()
H A Dnxt_port_socket.c188 msg.port_msg.mmap = 0; in nxt_port_socket_write2()
210 if (qmsg.pm.mmap) { in nxt_port_socket_write2()
293 pm->mmap = 1; in nxt_port_enqueue_buf()
1204 if (msg->port_msg.mmap) { in nxt_port_read_msg_process()
1228 if (!msg->port_msg.mmap && msg->buf == b) { in nxt_port_read_msg_process()
1240 if (msg->port_msg.mmap && msg->cancelled == 0) { in nxt_port_read_msg_process()
1266 if (msg->port_msg.mmap) { in nxt_port_read_msg_process()
1278 if (msg->port_msg.mmap && orig_b != b) { in nxt_port_read_msg_process()
H A Dnxt_router.c293 .mmap = nxt_port_mmap_handler,
3565 .mmap = nxt_port_mmap_handler,
5295 msg.pm.mmap = 1; in nxt_router_app_prepare_request()
H A Dnxt_unit.c508 mem = mmap(NULL, sizeof(nxt_port_queue_t), in nxt_unit_init()
957 msg.mmap = 0; in nxt_unit_ready()
1021 recv_msg.mmap = port_msg->mmap; in nxt_unit_process_msg()
1041 if (port_msg->mmap) { in nxt_unit_process_msg()
1654 if (recv_msg->mmap) { in nxt_unit_process_websocket()
2665 if (m.msg.mmap) { in nxt_unit_mmap_buf_send()
3309 msg.mmap = 0; in nxt_unit_request_done()
3631 msg.mmap = 0; in nxt_unit_send_oosm()
3915 msg.mmap = 0; in nxt_unit_send_mmap()
4399 msg.mmap = 0; in nxt_unit_send_shm_ack()
[all …]
/unit/src/test/
H A Dnxt_cq_test.c430 pgq = mmap(NULL, sizeof(nxt_cq_t), PROT_READ | PROT_WRITE, in main()
448 wi = mmap(NULL, nprocs * sizeof(nxt_worker_info_t), PROT_READ | PROT_WRITE, in main()