Home
last modified time | relevance | path

Searched refs:NXT_BUF_MEM_SIZE (Results 1 – 3 of 3) sorted by path

/unit/src/
H A Dnxt_buf.c35 b = nxt_mp_alloc(mp, NXT_BUF_MEM_SIZE + size); in nxt_buf_mem_alloc()
40 nxt_memzero(b, NXT_BUF_MEM_SIZE); in nxt_buf_mem_alloc()
46 b->mem.start = nxt_pointer_to(b, NXT_BUF_MEM_SIZE); in nxt_buf_mem_alloc()
62 b = nxt_mp_alloc(mp, NXT_BUF_MEM_SIZE + sizeof(nxt_buf_ts_t) + size); in nxt_buf_mem_ts_alloc()
69 nxt_memzero(b, NXT_BUF_MEM_SIZE + sizeof(nxt_buf_ts_t)); in nxt_buf_mem_ts_alloc()
76 b->mem.start = nxt_pointer_to(b, NXT_BUF_MEM_SIZE in nxt_buf_mem_ts_alloc()
83 ts = nxt_pointer_to(b, NXT_BUF_MEM_SIZE); in nxt_buf_mem_ts_alloc()
147 b = nxt_mp_zalloc(mp, NXT_BUF_MEM_SIZE); in nxt_buf_sync_alloc()
250 ts = nxt_pointer_to(b, NXT_BUF_MEM_SIZE); in nxt_buf_ts_handle()
H A Dnxt_buf.h105 #define NXT_BUF_MEM_SIZE offsetof(nxt_buf_t, file) macro
108 #define NXT_BUF_PORT_MMAP_SIZE NXT_BUF_MEM_SIZE
H A Dnxt_event_engine.c687 b = nxt_event_engine_mem_alloc(engine, &hint, NXT_BUF_MEM_SIZE + size); in nxt_event_engine_buf_mem_alloc()
692 nxt_memzero(b, NXT_BUF_MEM_SIZE); in nxt_event_engine_buf_mem_alloc()
699 b->mem.start = nxt_pointer_to(b, NXT_BUF_MEM_SIZE); in nxt_event_engine_buf_mem_alloc()
714 size = NXT_BUF_MEM_SIZE + nxt_buf_mem_size(&b->mem); in nxt_event_engine_buf_mem_free()