Deleted
Added
nxt_port_memory.h (197:ae8f843e1fd4) | nxt_port_memory.h (206:86a529b2ea9b) |
---|---|
1 2/* 3 * Copyright (C) Max Romanov 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#ifndef _NXT_PORT_MEMORY_H_INCLUDED_ 8#define _NXT_PORT_MEMORY_H_INCLUDED_ --- 14 unchanged lines hidden (view full) --- 23 * acquire several successive buckets if possible. 24 * 25 * This function assumes that current thread operates the 'port' exclusively. 26 */ 27nxt_buf_t * 28nxt_port_mmap_get_buf(nxt_task_t *task, nxt_port_t *port, size_t size); 29 30nxt_int_t nxt_port_mmap_increase_buf(nxt_task_t *task, nxt_buf_t *b, | 1 2/* 3 * Copyright (C) Max Romanov 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#ifndef _NXT_PORT_MEMORY_H_INCLUDED_ 8#define _NXT_PORT_MEMORY_H_INCLUDED_ --- 14 unchanged lines hidden (view full) --- 23 * acquire several successive buckets if possible. 24 * 25 * This function assumes that current thread operates the 'port' exclusively. 26 */ 27nxt_buf_t * 28nxt_port_mmap_get_buf(nxt_task_t *task, nxt_port_t *port, size_t size); 29 30nxt_int_t nxt_port_mmap_increase_buf(nxt_task_t *task, nxt_buf_t *b, |
31 size_t size); | 31 size_t size, size_t min_size); |
32 33nxt_port_mmap_header_t * 34nxt_port_incoming_port_mmap(nxt_task_t *task, nxt_process_t *process, 35 nxt_fd_t fd); 36 37void 38nxt_port_mmap_write(nxt_task_t *task, nxt_port_t *port, 39 nxt_port_send_msg_t *msg, nxt_sendbuf_coalesce_t *sb); --- 18 unchanged lines hidden --- | 32 33nxt_port_mmap_header_t * 34nxt_port_incoming_port_mmap(nxt_task_t *task, nxt_process_t *process, 35 nxt_fd_t fd); 36 37void 38nxt_port_mmap_write(nxt_task_t *task, nxt_port_t *port, 39 nxt_port_send_msg_t *msg, nxt_sendbuf_coalesce_t *sb); --- 18 unchanged lines hidden --- |