Home
last modified time | relevance | path

Searched refs:free_pages (Results 1 – 2 of 2) sorted by relevance

/unit/src/
H A Dnxt_mem_zone.c76 nxt_rbtree_t free_pages; member
198 nxt_rbtree_init(&zone->free_pages, nxt_mem_zone_rbtree_compare); in nxt_mem_zone_init()
203 nxt_rbtree_insert(&zone->free_pages, &block->node); in nxt_mem_zone_init()
667 nxt_rbtree_delete(&zone->free_pages, &block->node); in nxt_mem_zone_alloc_pages()
679 nxt_rbtree_insert(&zone->free_pages, &block->node); in nxt_mem_zone_alloc_pages()
692 nxt_rbtree_insert(&zone->free_pages, &next_block->node); in nxt_mem_zone_alloc_pages()
733 if (node == nxt_rbtree_sentinel(&zone->free_pages)) { in nxt_mem_zone_find_free_block()
924 nxt_rbtree_delete(&zone->free_pages, &next_block->node); in nxt_mem_zone_free_pages()
937 nxt_rbtree_delete(&zone->free_pages, &prev_block->node); in nxt_mem_zone_free_pages()
940 nxt_rbtree_insert(&zone->free_pages, &prev_block->node); in nxt_mem_zone_free_pages()
[all …]
H A Dnxt_mp.c121 nxt_queue_t free_pages; member
272 nxt_queue_init(&mp->free_pages); in nxt_mp_create()
385 && nxt_queue_is_empty(&mp->free_pages)); in nxt_mp_is_empty()
651 if (nxt_queue_is_empty(&mp->free_pages)) { in nxt_mp_alloc_page()
658 link = nxt_queue_first(&mp->free_pages); in nxt_mp_alloc_page()
693 nxt_queue_insert_head(&mp->free_pages, &cluster->pages[n].link); in nxt_mp_alloc_cluster()
932 nxt_queue_insert_head(&mp->free_pages, &page->link); in nxt_mp_chunk_free()