Searched refs:D_ASSERT (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/block/drbd/ |
H A D | drbd_actlog.c | 181 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() 1054 D_ASSERT(device, !test_bit(BME_LOCKED, &bm_ext->flags)); in drbd_try_rs_begin_io() [all …]
|
H A D | drbd_req.c | 295 D_ASSERT(device, m || (req->rq_state & RQ_POSTPONED)); in drbd_req_put_completion_ref() 471 D_ASSERT(device, req->rq_state & RQ_LOCAL_PENDING); in mod_rq_state() 586 D_ASSERT(device, !(req->rq_state & RQ_NET_MASK)); in __req_mod() 599 D_ASSERT(device, !(req->rq_state & RQ_LOCAL_MASK)); in __req_mod() 651 D_ASSERT(device, drbd_interval_empty(&req->i)); in __req_mod() 656 D_ASSERT(device, req->rq_state & RQ_NET_PENDING); in __req_mod() 657 D_ASSERT(device, (req->rq_state & RQ_LOCAL_MASK) == 0); in __req_mod() 670 D_ASSERT(device, drbd_interval_empty(&req->i)); in __req_mod() 693 D_ASSERT(device, req->rq_state & RQ_NET_PENDING); in __req_mod() 759 D_ASSERT(device, req->rq_state & RQ_NET_PENDING); in __req_mod() [all …]
|
H A D | drbd_receiver.c | 413 D_ASSERT(device, atomic_read(&peer_req->pending_bios) == 0); in __drbd_free_peer_req() 414 D_ASSERT(device, drbd_interval_empty(&peer_req->i)); in __drbd_free_peer_req() 1710 D_ASSERT(device, data_size == 0); in drbd_submit_peer_request() 1711 D_ASSERT(device, page == NULL); in drbd_submit_peer_request() 2006 D_ASSERT(peer_device->device, sector == bio->bi_iter.bi_sector); in recv_dless_read() 2026 D_ASSERT(peer_device->device, data_size == 0); in recv_dless_read() 2043 D_ASSERT(device, drbd_interval_empty(&peer_req->i)); in e_end_resync_block() 2162 D_ASSERT(device, p->block_id == ID_SYNCER); in receive_RSDataReply() 2235 D_ASSERT(device, !drbd_interval_empty(&peer_req->i)); in e_end_block() 2241 D_ASSERT(device, drbd_interval_empty(&peer_req->i)); in e_end_block() [all …]
|
H A D | drbd_main.c | 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() [all …]
|
H A D | drbd_polymorph_printk.h | 121 #define D_ASSERT(x, exp) \ macro
|
H A D | drbd_worker.c | 926 D_ASSERT(device, (n_oos - device->rs_failed) == 0); in drbd_resync_finished() 1196 D_ASSERT(device, digest_size == di->digest_size); in w_e_end_csum_rs_req() 1323 D_ASSERT(device, digest_size == di->digest_size); in w_e_end_ov_reply() 1956 D_ASSERT(device, device->state.disk == D_FAILED); in go_diskless() 2231 D_ASSERT(device, device->state.disk == D_DISKLESS && device->state.conn == C_STANDALONE); in drbd_worker()
|
H A D | drbd_int.h | 2022 D_ASSERT(device, i >= 0); in put_ldev() 2204 D_ASSERT(device, ap_bio >= 0); in dec_ap_bio()
|
H A D | drbd_nl.c | 664 D_ASSERT(device, device->state.pdsk == D_UNKNOWN); in drbd_set_role() 1965 D_ASSERT(device, device->ldev == NULL); in drbd_adm_attach() 3940 D_ASSERT(device, device->vnr == volume); in get_one_status() 3941 D_ASSERT(device, device->resource == resource); in get_one_status()
|
H A D | drbd_state.c | 625 D_ASSERT(device, current != first_peer_device(device)->connection->worker.task); in drbd_req_state() 1529 D_ASSERT(device, current == first_peer_device(device)->connection->worker.task); in drbd_bitmap_io_from_worker()
|
H A D | drbd_bitmap.c | 689 D_ASSERT(device, b->bm_pages != NULL); in drbd_bm_resize()
|