Lines Matching refs:D_ASSERT
877 D_ASSERT(device, device->state.disk == D_UP_TO_DATE); in drbd_gen_and_send_sync_uuid()
1914 D_ASSERT(device, device->state.role == R_PRIMARY); in drbd_queue_unplug()
2028 D_ASSERT(device, first_peer_device(device)->connection->net_conf == NULL); in drbd_device_cleanup()
2042 D_ASSERT(device, list_empty(&device->active_ee)); in drbd_device_cleanup()
2043 D_ASSERT(device, list_empty(&device->sync_ee)); in drbd_device_cleanup()
2044 D_ASSERT(device, list_empty(&device->done_ee)); in drbd_device_cleanup()
2045 D_ASSERT(device, list_empty(&device->read_ee)); in drbd_device_cleanup()
2046 D_ASSERT(device, list_empty(&device->net_ee)); in drbd_device_cleanup()
2047 D_ASSERT(device, list_empty(&device->resync_reads)); in drbd_device_cleanup()
2048 D_ASSERT(device, list_empty(&first_peer_device(device)->connection->sender_work.q)); in drbd_device_cleanup()
2049 D_ASSERT(device, list_empty(&device->resync_work.list)); in drbd_device_cleanup()
2050 D_ASSERT(device, list_empty(&device->unplug_work.list)); in drbd_device_cleanup()
2188 D_ASSERT(device, device->open_cnt == 0); in drbd_destroy_device()
3015 D_ASSERT(device, drbd_md_ss(device->ldev) == device->ldev->md.md_offset); in drbd_md_write()
3510 D_ASSERT(device, current == peer_device->connection->worker.task); in drbd_queue_bitmap_io()
3512 D_ASSERT(device, !test_bit(BITMAP_IO_QUEUED, &device->flags)); in drbd_queue_bitmap_io()
3513 D_ASSERT(device, !test_bit(BITMAP_IO, &device->flags)); in drbd_queue_bitmap_io()
3514 D_ASSERT(device, list_empty(&device->bm_io_work.w.list)); in drbd_queue_bitmap_io()
3557 D_ASSERT(device, current != first_peer_device(device)->connection->worker.task); in drbd_bitmap_io()