Lines Matching refs:ddestroy
151 BUG_ON(!list_empty(&bo->ddestroy)); in ttm_bo_release_list()
431 list_add_tail(&bo->ddestroy, &bdev->ddestroy); in ttm_bo_cleanup_refs_or_queue()
459 if (unlikely(list_empty(&bo->ddestroy))) in ttm_bo_cleanup_refs()
501 if (ret || unlikely(list_empty(&bo->ddestroy))) { in ttm_bo_cleanup_refs()
509 list_del_init(&bo->ddestroy); in ttm_bo_cleanup_refs()
534 while (!list_empty(&bdev->ddestroy)) { in ttm_bo_delayed_delete()
537 bo = list_first_entry(&bdev->ddestroy, struct ttm_buffer_object, in ttm_bo_delayed_delete()
538 ddestroy); in ttm_bo_delayed_delete()
540 list_move_tail(&bo->ddestroy, &removed); in ttm_bo_delayed_delete()
558 list_splice_tail(&removed, &bdev->ddestroy); in ttm_bo_delayed_delete()
559 empty = list_empty(&bdev->ddestroy); in ttm_bo_delayed_delete()
701 || !list_empty(&bo->ddestroy)) in ttm_bo_evict_swapout_allowable()
752 if (!list_empty(&bo->ddestroy)) { in ttm_mem_evict_first()
1155 INIT_LIST_HEAD(&bo->ddestroy); in ttm_bo_init_reserved()
1561 INIT_LIST_HEAD(&bdev->ddestroy); in ttm_bo_device_init()
1697 if (!list_empty(&bo->ddestroy)) { in ttm_bo_swapout()