Searched refs:D_ASSERT (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/drivers/block/drbd/ |
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() 1050 D_ASSERT(device, !test_bit(BME_LOCKED, &bm_ext->flags)); in drbd_try_rs_begin_io() [all …]
|
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 …]
|
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 …]
|
D | drbd_main.c | 891 D_ASSERT(device, device->state.disk == D_UP_TO_DATE); in drbd_gen_and_send_sync_uuid() 1928 D_ASSERT(device, device->state.role == R_PRIMARY); in drbd_queue_unplug() 2042 D_ASSERT(device, first_peer_device(device)->connection->net_conf == NULL); in drbd_device_cleanup() 2056 D_ASSERT(device, list_empty(&device->active_ee)); in drbd_device_cleanup() 2057 D_ASSERT(device, list_empty(&device->sync_ee)); in drbd_device_cleanup() 2058 D_ASSERT(device, list_empty(&device->done_ee)); in drbd_device_cleanup() 2059 D_ASSERT(device, list_empty(&device->read_ee)); in drbd_device_cleanup() 2060 D_ASSERT(device, list_empty(&device->net_ee)); in drbd_device_cleanup() 2061 D_ASSERT(device, list_empty(&device->resync_reads)); in drbd_device_cleanup() 2062 D_ASSERT(device, list_empty(&first_peer_device(device)->connection->sender_work.q)); in drbd_device_cleanup() [all …]
|
D | drbd_polymorph_printk.h | 121 #define D_ASSERT(x, exp) \ macro
|
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()
|
D | drbd_int.h | 2032 D_ASSERT(device, i >= 0); in put_ldev() 2214 D_ASSERT(device, ap_bio >= 0); in dec_ap_bio()
|
D | drbd_nl.c | 664 D_ASSERT(device, device->state.pdsk == D_UNKNOWN); in drbd_set_role() 1972 D_ASSERT(device, device->ldev == NULL); in drbd_adm_attach() 3949 D_ASSERT(device, device->vnr == volume); in get_one_status() 3950 D_ASSERT(device, device->resource == resource); in get_one_status()
|
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()
|
D | drbd_bitmap.c | 689 D_ASSERT(device, b->bm_pages != NULL); in drbd_bm_resize()
|