Lines Matching refs:nxt_mp_block_t

99 } nxt_mp_block_t;  typedef
152 static nxt_mp_block_t *nxt_mp_alloc_cluster(nxt_mp_t *mp);
158 static nxt_mp_block_t *nxt_mp_find_block(nxt_rbtree_t *tree, const u_char *p);
159 static const char *nxt_mp_chunk_free(nxt_mp_t *mp, nxt_mp_block_t *cluster,
313 nxt_mp_block_t *block; in nxt_mp_destroy()
334 block = (nxt_mp_block_t *) node; in nxt_mp_destroy()
508 nxt_mp_block_t *block; in nxt_mp_page_addr()
511 + offsetof(nxt_mp_block_t, pages); in nxt_mp_page_addr()
513 block = (nxt_mp_block_t *) ((u_char *) page - page_offset); in nxt_mp_page_addr()
648 nxt_mp_block_t *cluster; in nxt_mp_alloc_page()
667 static nxt_mp_block_t *
671 nxt_mp_block_t *cluster; in nxt_mp_alloc_cluster()
675 cluster = nxt_zalloc(sizeof(nxt_mp_block_t) + n * sizeof(nxt_mp_page_t)); in nxt_mp_alloc_cluster()
717 nxt_mp_block_t *block; in nxt_mp_alloc_large()
727 block = nxt_malloc(sizeof(nxt_mp_block_t)); in nxt_mp_alloc_large()
743 p = nxt_memalign(alignment, aligned_size + sizeof(nxt_mp_block_t)); in nxt_mp_alloc_large()
748 block = (nxt_mp_block_t *) (p + aligned_size); in nxt_mp_alloc_large()
766 nxt_mp_block_t *block1, *block2; in nxt_mp_rbtree_compare()
768 block1 = (nxt_mp_block_t *) node1; in nxt_mp_rbtree_compare()
769 block2 = (nxt_mp_block_t *) node2; in nxt_mp_rbtree_compare()
787 nxt_mp_block_t *block; in nxt_mp_free()
832 static nxt_mp_block_t *
835 nxt_mp_block_t *block; in nxt_mp_find_block()
843 block = (nxt_mp_block_t *) node; in nxt_mp_find_block()
861 nxt_mp_chunk_free(nxt_mp_t *mp, nxt_mp_block_t *cluster, u_char *p) in nxt_mp_chunk_free()