Home
last modified time | relevance | path

Searched refs:D_ASSERT (Results 1 – 9 of 9) sorted by relevance

/drivers/block/drbd/
Ddrbd_actlog.c181 D_ASSERT(device, atomic_read(&device->md_io.in_use) == 1); in drbd_md_sync_page_io()
248 D_ASSERT(device, first <= last); in drbd_al_begin_io_fastpath()
249 D_ASSERT(device, atomic_read(&device->local_cnt) > 0); in drbd_al_begin_io_fastpath()
267 D_ASSERT(device, first <= last); in drbd_al_begin_io_prepare()
268 D_ASSERT(device, atomic_read(&device->local_cnt) > 0); in drbd_al_begin_io_prepare()
495 D_ASSERT(device, first <= last); in drbd_al_begin_io_nonblock()
554 D_ASSERT(device, first <= last); in drbd_al_complete_io()
596 D_ASSERT(device, test_bit(__LC_LOCKED, &device->act_log->flags)); in drbd_al_shrink()
657 D_ASSERT(device, atomic_read(&device->local_cnt)); in update_rs_extent()
1047 D_ASSERT(device, !test_bit(BME_LOCKED, &bm_ext->flags)); in drbd_try_rs_begin_io()
[all …]
Ddrbd_req.c294 D_ASSERT(device, m || (req->rq_state & RQ_POSTPONED)); in drbd_req_put_completion_ref()
470 D_ASSERT(device, req->rq_state & RQ_LOCAL_PENDING); in mod_rq_state()
582 D_ASSERT(device, !(req->rq_state & RQ_NET_MASK)); in __req_mod()
595 D_ASSERT(device, !(req->rq_state & RQ_LOCAL_MASK)); in __req_mod()
647 D_ASSERT(device, drbd_interval_empty(&req->i)); in __req_mod()
652 D_ASSERT(device, req->rq_state & RQ_NET_PENDING); in __req_mod()
653 D_ASSERT(device, (req->rq_state & RQ_LOCAL_MASK) == 0); in __req_mod()
666 D_ASSERT(device, drbd_interval_empty(&req->i)); in __req_mod()
689 D_ASSERT(device, req->rq_state & RQ_NET_PENDING); in __req_mod()
755 D_ASSERT(device, req->rq_state & RQ_NET_PENDING); in __req_mod()
[all …]
Ddrbd_receiver.c414 D_ASSERT(device, atomic_read(&peer_req->pending_bios) == 0); in __drbd_free_peer_req()
415 D_ASSERT(device, drbd_interval_empty(&peer_req->i)); in __drbd_free_peer_req()
1688 D_ASSERT(device, data_size == 0); in drbd_submit_peer_request()
1689 D_ASSERT(device, page == NULL); in drbd_submit_peer_request()
1984 D_ASSERT(peer_device->device, sector == bio->bi_iter.bi_sector); in recv_dless_read()
2004 D_ASSERT(peer_device->device, data_size == 0); in recv_dless_read()
2021 D_ASSERT(device, drbd_interval_empty(&peer_req->i)); in e_end_resync_block()
2140 D_ASSERT(device, p->block_id == ID_SYNCER); in receive_RSDataReply()
2213 D_ASSERT(device, !drbd_interval_empty(&peer_req->i)); in e_end_block()
2219 D_ASSERT(device, drbd_interval_empty(&peer_req->i)); in e_end_block()
[all …]
Ddrbd_main.c887 D_ASSERT(device, device->state.disk == D_UP_TO_DATE); in drbd_gen_and_send_sync_uuid()
1916 D_ASSERT(device, device->state.role == R_PRIMARY); in drbd_queue_unplug()
2030 D_ASSERT(device, first_peer_device(device)->connection->net_conf == NULL); in drbd_device_cleanup()
2044 D_ASSERT(device, list_empty(&device->active_ee)); in drbd_device_cleanup()
2045 D_ASSERT(device, list_empty(&device->sync_ee)); in drbd_device_cleanup()
2046 D_ASSERT(device, list_empty(&device->done_ee)); in drbd_device_cleanup()
2047 D_ASSERT(device, list_empty(&device->read_ee)); in drbd_device_cleanup()
2048 D_ASSERT(device, list_empty(&device->net_ee)); in drbd_device_cleanup()
2049 D_ASSERT(device, list_empty(&device->resync_reads)); in drbd_device_cleanup()
2050 D_ASSERT(device, list_empty(&first_peer_device(device)->connection->sender_work.q)); in drbd_device_cleanup()
[all …]
Ddrbd_worker.c922 D_ASSERT(device, (n_oos - device->rs_failed) == 0); in drbd_resync_finished()
1192 D_ASSERT(device, digest_size == di->digest_size); in w_e_end_csum_rs_req()
1318 D_ASSERT(device, digest_size == di->digest_size); in w_e_end_ov_reply()
1948 D_ASSERT(device, device->state.disk == D_FAILED); in go_diskless()
2223 D_ASSERT(device, device->state.disk == D_DISKLESS && device->state.conn == C_STANDALONE); in drbd_worker()
Ddrbd_int.h125 #define D_ASSERT(device, exp) do { \ macro
2093 D_ASSERT(device, i >= 0); in put_ldev()
2275 D_ASSERT(device, ap_bio >= 0); in dec_ap_bio()
Ddrbd_nl.c664 D_ASSERT(device, device->state.pdsk == D_UNKNOWN); in drbd_set_role()
1955 D_ASSERT(device, device->ldev == NULL); in drbd_adm_attach()
3926 D_ASSERT(device, device->vnr == volume); in get_one_status()
3927 D_ASSERT(device, device->resource == resource); in get_one_status()
Ddrbd_state.c625 D_ASSERT(device, current != first_peer_device(device)->connection->worker.task); in drbd_req_state()
1526 D_ASSERT(device, current == first_peer_device(device)->connection->worker.task); in drbd_bitmap_io_from_worker()
Ddrbd_bitmap.c689 D_ASSERT(device, b->bm_pages != NULL); in drbd_bm_resize()