Lines Matching refs:ddestroy
148 BUG_ON(!list_empty(&bo->ddestroy)); in ttm_bo_release_list()
463 list_add_tail(&bo->ddestroy, &bdev->ddestroy); in ttm_bo_cleanup_refs_or_queue()
531 if (ret || unlikely(list_empty(&bo->ddestroy))) { in ttm_bo_cleanup_refs_and_unlock()
538 list_del_init(&bo->ddestroy); in ttm_bo_cleanup_refs_and_unlock()
561 if (list_empty(&bdev->ddestroy)) in ttm_bo_delayed_delete()
564 entry = list_first_entry(&bdev->ddestroy, in ttm_bo_delayed_delete()
565 struct ttm_buffer_object, ddestroy); in ttm_bo_delayed_delete()
571 if (entry->ddestroy.next != &bdev->ddestroy) { in ttm_bo_delayed_delete()
572 nentry = list_first_entry(&entry->ddestroy, in ttm_bo_delayed_delete()
573 struct ttm_buffer_object, ddestroy); in ttm_bo_delayed_delete()
598 if (list_empty(&entry->ddestroy)) in ttm_bo_delayed_delete()
748 if (!list_empty(&bo->ddestroy)) { in ttm_mem_evict_first()
1123 INIT_LIST_HEAD(&bo->ddestroy); in ttm_bo_init()
1444 if (list_empty(&bdev->ddestroy)) in ttm_bo_device_release()
1481 INIT_LIST_HEAD(&bdev->ddestroy); in ttm_bo_device_init()
1639 if (!list_empty(&bo->ddestroy)) { in ttm_bo_swapout()