Home
last modified time | relevance | path

Searched refs:free_list (Results 1 – 7 of 7) sorted by relevance

/haiku/src/add-ons/accelerants/radeon/
H A DCP.c115 oldest_buffer->next = cp->buffers.free_list; in Radeon_FreeIndirectBuffers()
116 cp->buffers.free_list = cp->buffers.oldest; in Radeon_FreeIndirectBuffers()
139 if( cp->buffers.free_list >= 0 ) in Radeon_WaitForFreeIndirectBuffers()
178 if( cp->buffers.free_list == -1 ) in Radeon_AllocIndirectBuffer()
181 buffer_idx = cp->buffers.free_list; in Radeon_AllocIndirectBuffer()
182 cp->buffers.free_list = cp->buffers.buffers[buffer_idx].next; in Radeon_AllocIndirectBuffer()
215 cp->buffers.buffers[buffer_idx].next = cp->buffers.free_list; in Radeon_FreeIndirectBuffer()
216 cp->buffers.free_list = buffer_idx; in Radeon_FreeIndirectBuffer()
/haiku/src/system/kernel/
H A Dguarded_heap.cpp60 struct list free_list; member
206 list_remove_item(&area.free_list, &page); in guarded_heap_page_allocate()
247 list_add_item(&area.free_list, &page); in guarded_heap_free_page()
284 = (guarded_heap_page*)list_get_first_item(&area.free_list); in guarded_heap_area_allocate()
287 page = (guarded_heap_page*)list_get_next_item(&area.free_list, page)) { in guarded_heap_area_allocate()
355 list_init_etc(&area->free_list, in guarded_heap_area_init()
703 void* item = list_get_first_item(&area->free_list); in dump_guarded_heap_area()
712 item = list_get_next_item(&area->free_list, item); in dump_guarded_heap_area()
715 kprintf("free_list: %p (%" B_PRIuSIZE " free)\n", &area->free_list, in dump_guarded_heap_area()
H A Dheap.cpp95 addr_t * free_list; member
312 for (addr_t *temp = page->free_list; temp != NULL; temp = (addr_t *)*temp) in dump_page()
317 page->free_count, page->empty_index, page->free_list, count, in dump_page()
476 for (addr_t *temp = page->free_list; temp != NULL; in dump_allocations()
584 for (addr_t *temp = page->free_list; temp != NULL; in dump_allocations()
719 for (addr_t *temp = page->free_list; temp != NULL; in analyze_allocation_callers()
981 addr_t *element = page->free_list; in heap_validate_heap()
1385 page->free_list = NULL; in heap_allocate_contiguous_pages()
1471 page->free_list = NULL; in heap_allocate_from_bin()
1478 if (page->free_list) { in heap_allocate_from_bin()
[all …]
/haiku/src/system/libroot/posix/malloc/debug/
H A Dguarded_heap.cpp184 struct list free_list; member
348 list_remove_item(&area.free_list, &page); in guarded_heap_page_allocate()
374 list_add_item(&area.free_list, &page); in guarded_heap_free_page()
398 = (guarded_heap_page*)list_get_next_item(&area.free_list, NULL); in guarded_heap_area_allocate()
401 page = (guarded_heap_page*)list_get_next_item(&area.free_list, page)) { in guarded_heap_area_allocate()
461 list_init_etc(&area->free_list, in guarded_heap_area_init()
912 void* item = list_get_next_item(&area.free_list, NULL); in dump_guarded_heap_area()
921 item = list_get_next_item(&area.free_list, item); in dump_guarded_heap_area()
924 printf("free_list: %p (%" B_PRIuSIZE " free)\n", &area.free_list, in dump_guarded_heap_area()
H A Dheap.cpp120 addr_t * free_list; member
215 for (addr_t *temp = page->free_list; temp != NULL; temp = (addr_t *)*temp) in dump_page()
220 page->free_count, page->empty_index, page->free_list, count, in dump_page()
305 for (addr_t *temp = page->free_list; temp != NULL; in dump_allocations()
400 for (addr_t *temp = page->free_list; temp != NULL; in heap_validate_walls()
617 addr_t *element = page->free_list; in heap_validate_heap()
995 page->free_list = NULL; in heap_allocate_contiguous_pages()
1081 page->free_list = NULL; in heap_allocate_from_bin()
1088 if (page->free_list) { in heap_allocate_from_bin()
1090 address = page->free_list; in heap_allocate_from_bin()
[all …]
/haiku/src/add-ons/kernel/drivers/graphics/radeon/
H A DCP_setup.c470 cp->buffers.free_list = 0; in initIndirectBuffers()
629 oldest_buffer->next = cp->buffers.free_list; in Radeon_DiscardAllIndirectBuffers()
630 cp->buffers.free_list = cp->buffers.oldest; in Radeon_DiscardAllIndirectBuffers()
/haiku/headers/private/graphics/radeon/
H A Dradeon_interface.h481 int free_list; // index of first empty buffer member