Lines Matching refs:mem

335               nxt_buf_mem_used_size(&msg->buf->mem), msg->buf->mem.pos);  in nxt_main_data_handler()
342 void *mem; in nxt_main_new_port_handler() local
353 mem = nxt_mem_mmap(NULL, sizeof(nxt_port_queue_t), in nxt_main_new_port_handler()
355 if (nxt_fast_path(mem != MAP_FAILED)) { in nxt_main_new_port_handler()
356 port->queue = mem; in nxt_main_new_port_handler()
417 nxt_debug(task, "main start prototype: %*s", b->mem.free - b->mem.pos, in nxt_main_start_process_handler()
418 b->mem.pos); in nxt_main_start_process_handler()
428 start = b->mem.pos; in nxt_main_start_process_handler()
453 conf = nxt_conf_json_parse(process->mem_pool, start, b->mem.free, NULL); in nxt_main_start_process_handler()
632 nxt_memcpy(&ppid, msg->buf->mem.pos, sizeof(nxt_pid_t)); in nxt_main_process_whoami_handler()
683 buf->mem.free = nxt_cpymem(buf->mem.free, &pid, sizeof(nxt_pid_t)); in nxt_main_process_whoami_handler()
1051 sa = (nxt_sockaddr_t *) b->mem.pos; in nxt_main_port_socket_handler()
1081 *out->mem.free++ = (uint8_t) ls.error; in nxt_main_port_socket_handler()
1083 out->mem.free = nxt_cpymem(out->mem.free, ls.start, size); in nxt_main_port_socket_handler()
1328 b->mem.free - b->mem.pos, b->mem.pos); in nxt_main_port_modules_handler()
1330 conf = nxt_conf_json_parse(mp, b->mem.pos, b->mem.free, NULL); in nxt_main_port_modules_handler()
1482 if (nxt_buf_mem_used_size(&msg->buf->mem) != sizeof(size_t)) { in nxt_main_port_conf_store_handler()
1484 (int) nxt_buf_mem_used_size(&msg->buf->mem)); in nxt_main_port_conf_store_handler()
1488 nxt_memcpy(&size, msg->buf->mem.pos, sizeof(size_t)); in nxt_main_port_conf_store_handler()
1577 path = msg->buf->mem.pos; in nxt_main_port_access_log_handler()