Lines Matching refs:mp

31 nxt_buf_mem_alloc(nxt_mp_t *mp, size_t size, nxt_uint_t flags)  in nxt_buf_mem_alloc()  argument
35 b = nxt_mp_alloc(mp, NXT_BUF_MEM_SIZE + size); in nxt_buf_mem_alloc()
42 b->data = mp; in nxt_buf_mem_alloc()
57 nxt_buf_mem_ts_alloc(nxt_task_t *task, nxt_mp_t *mp, size_t size) in nxt_buf_mem_ts_alloc() argument
62 b = nxt_mp_alloc(mp, NXT_BUF_MEM_SIZE + sizeof(nxt_buf_ts_t) + size); in nxt_buf_mem_ts_alloc()
67 nxt_mp_retain(mp); in nxt_buf_mem_ts_alloc()
71 b->data = mp; in nxt_buf_mem_ts_alloc()
96 nxt_buf_file_alloc(nxt_mp_t *mp, size_t size, nxt_uint_t flags) in nxt_buf_file_alloc() argument
100 b = nxt_mp_alloc(mp, NXT_BUF_FILE_SIZE + size); in nxt_buf_file_alloc()
107 b->data = mp; in nxt_buf_file_alloc()
123 nxt_buf_mmap_alloc(nxt_mp_t *mp, size_t size) in nxt_buf_mmap_alloc() argument
127 b = nxt_mp_zalloc(mp, NXT_BUF_MMAP_SIZE); in nxt_buf_mmap_alloc()
130 b->data = mp; in nxt_buf_mmap_alloc()
143 nxt_buf_sync_alloc(nxt_mp_t *mp, nxt_uint_t flags) in nxt_buf_sync_alloc() argument
147 b = nxt_mp_zalloc(mp, NXT_BUF_MEM_SIZE); in nxt_buf_sync_alloc()
150 b->data = mp; in nxt_buf_sync_alloc()
200 nxt_mp_t *mp; in nxt_buf_completion() local
212 mp = b->data; in nxt_buf_completion()
214 nxt_mp_free(mp, b); in nxt_buf_completion()
273 nxt_mp_t *mp; in nxt_buf_ts_completion() local
289 mp = b->data; in nxt_buf_ts_completion()
291 nxt_mp_free(mp, b); in nxt_buf_ts_completion()
292 nxt_mp_release(mp); in nxt_buf_ts_completion()
302 nxt_buf_make_plain(nxt_mp_t *mp, nxt_buf_t *src, size_t size) in nxt_buf_make_plain() argument
312 b = nxt_buf_mem_alloc(mp, size, 0); in nxt_buf_make_plain()