Lines Matching refs:ddestroy
159 BUG_ON(!list_empty(&bo->ddestroy)); in ttm_bo_release_list()
525 list_add_tail(&bo->ddestroy, &bdev->ddestroy); in ttm_bo_cleanup_refs_or_queue()
553 if (unlikely(list_empty(&bo->ddestroy))) in ttm_bo_cleanup_refs()
595 if (ret || unlikely(list_empty(&bo->ddestroy))) { in ttm_bo_cleanup_refs()
603 list_del_init(&bo->ddestroy); in ttm_bo_cleanup_refs()
628 while (!list_empty(&bdev->ddestroy)) { in ttm_bo_delayed_delete()
631 bo = list_first_entry(&bdev->ddestroy, struct ttm_buffer_object, in ttm_bo_delayed_delete()
632 ddestroy); in ttm_bo_delayed_delete()
634 list_move_tail(&bo->ddestroy, &removed); in ttm_bo_delayed_delete()
652 list_splice_tail(&removed, &bdev->ddestroy); in ttm_bo_delayed_delete()
653 empty = list_empty(&bdev->ddestroy); in ttm_bo_delayed_delete()
788 || !list_empty(&bo->ddestroy)) in ttm_bo_evict_swapout_allowable()
892 if (!list_empty(&bo->ddestroy)) { in ttm_mem_evict_first()
1320 INIT_LIST_HEAD(&bo->ddestroy); in ttm_bo_init_reserved()
1748 INIT_LIST_HEAD(&bdev->ddestroy); in ttm_bo_device_init()
1886 if (!list_empty(&bo->ddestroy)) { in ttm_bo_swapout()