Lines Matching refs:list_empty
237 BUG_ON(!list_empty(&root->ordered_root)); in __btrfs_add_ordered_extent()
466 while (!list_empty(logged_list)) { in btrfs_put_logged_extents()
492 while (!list_empty(&log->logged_list[index])) { in btrfs_wait_logged_extents()
543 while (!list_empty(&log->logged_list[index])) { in btrfs_free_logged_extents()
567 ASSERT(list_empty(&entry->log_list)); in btrfs_put_ordered_extent()
568 ASSERT(list_empty(&entry->trans_list)); in btrfs_put_ordered_extent()
569 ASSERT(list_empty(&entry->root_extent_list)); in btrfs_put_ordered_extent()
573 while (!list_empty(&entry->list)) { in btrfs_put_ordered_extent()
642 BUG_ON(list_empty(&root->ordered_root)); in btrfs_remove_ordered_extent()
675 while (!list_empty(&splice) && nr) { in btrfs_wait_ordered_extents()
721 while (!list_empty(&splice) && nr) { in btrfs_wait_ordered_roots()