Home
last modified time | relevance | path

Searched refs:mmap (Results 1 – 19 of 19) sorted by relevance

/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/src/
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_mem_map.c16 p = mmap(addr, len, protection, flags, fd, offset); in nxt_mem_mmap()
H A Dnxt_buf_pool.h32 uint8_t mmap; /* 1 bit */ member
H A Dnxt_buf_filter.h101 uint8_t mmap; /* 1 bit */ member
H A Dnxt_port.h30 nxt_port_handler_t mmap; member
91 _NXT_PORT_MSG_MMAP = nxt_port_handler_idx(mmap),
170 uint8_t mmap; /* 1 bit */ member
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_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_buf.h100 nxt_mem_map_file_ctx_t (mmap)
H A Dnxt_unit.c508 mem = mmap(NULL, sizeof(nxt_port_queue_t), in nxt_unit_init()
943 msg.mmap = 0; in nxt_unit_ready()
1007 recv_msg.mmap = port_msg->mmap; in nxt_unit_process_msg()
1027 if (port_msg->mmap) { in nxt_unit_process_msg()
1640 if (recv_msg->mmap) { in nxt_unit_process_websocket()
2650 if (m.msg.mmap) { in nxt_unit_mmap_buf_send()
3294 msg.mmap = 0; in nxt_unit_request_done()
3616 msg.mmap = 0; in nxt_unit_send_oosm()
3900 msg.mmap = 0; in nxt_unit_send_mmap()
4384 msg.mmap = 0; in nxt_unit_send_shm_ack()
[all …]
H A Dnxt_job_file.c241 p = nxt_mem_map(NULL, &jbf->buffer->mmap, size, NXT_MEM_MAP_READ, in nxt_job_file_mmap()
H A Dnxt_buf_filter.c281 if (f->mmap) { in nxt_buf_filter_file_read()
H A Dnxt_port_rpc.c512 msg.port_msg.mmap = 0; in nxt_port_rpc_close()
H A Dnxt_port_memory.c760 msg->port_msg.mmap = 1; in nxt_port_mmap_write()
H A Dnxt_application.c84 .mmap = nxt_port_mmap_handler,
H A Dnxt_router.c294 .mmap = nxt_port_mmap_handler,
3355 .mmap = nxt_port_mmap_handler,
5426 msg.pm.mmap = 1; in nxt_router_app_prepare_request()
H A Dnxt_controller.c135 .mmap = nxt_port_mmap_handler,
/unit/
H A Dconfigure121 . auto/mmap
/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()