Lines Matching refs:ddestroy
157 BUG_ON(!list_empty(&bo->ddestroy));
538 if (!list_empty(&bo->ddestroy)) {
539 list_del_init(&bo->ddestroy);
552 if (list_empty(&bo->ddestroy)) {
557 list_add_tail(&bo->ddestroy, &bdev->ddestroy);
588 if (list_empty(&bdev->ddestroy))
591 entry = list_first_entry(&bdev->ddestroy,
592 struct ttm_buffer_object, ddestroy);
598 if (entry->ddestroy.next != &bdev->ddestroy) {
599 nentry = list_first_entry(&entry->ddestroy,
600 struct ttm_buffer_object, ddestroy);
613 if (list_empty(&entry->ddestroy))
1214 INIT_LIST_HEAD(&bo->ddestroy);
1544 if (list_empty(&bdev->ddestroy))
1588 INIT_LIST_HEAD(&bdev->ddestroy);