Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/block/drbd/
A 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()
657 D_ASSERT(device, atomic_read(&device->local_cnt)); in update_rs_extent()
1074 D_ASSERT(device, bm_ext->lce.refcnt > 0); in drbd_try_rs_begin_io()
1100 D_ASSERT(device, bm_ext->lce.refcnt == 1); in drbd_try_rs_begin_io()
[all …]
A Ddrbd_req.c582 D_ASSERT(device, !(req->rq_state & RQ_NET_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()
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()
787 D_ASSERT(device, req->rq_state & RQ_NET_PENDING); in __req_mod()
871 D_ASSERT(device, req->rq_state & RQ_NET_PENDING); in __req_mod()
902 D_ASSERT(device, sector < nr_sectors); in drbd_may_do_local_read()
903 D_ASSERT(device, esector < nr_sectors); in drbd_may_do_local_read()
[all …]
A Ddrbd_receiver.c1711 D_ASSERT(device, data_size == 0); in drbd_submit_peer_request()
1712 D_ASSERT(device, page == NULL); in drbd_submit_peer_request()
2027 D_ASSERT(peer_device->device, data_size == 0); in recv_dless_read()
2163 D_ASSERT(device, p->block_id == ID_SYNCER); in receive_RSDataReply()
2603 D_ASSERT(peer_device, peer_req->i.size > 0); in receive_Data()
2611 D_ASSERT(peer_device, peer_req->i.size > 0); in receive_Data()
2618 D_ASSERT(device, peer_req->i.size == 0); in receive_Data()
2619 D_ASSERT(device, dp_flags & DP_FLUSH); in receive_Data()
3874 D_ASSERT(device, data_size == 0); in receive_SyncParam()
3878 D_ASSERT(device, data_size == 0); in receive_SyncParam()
[all …]
A 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()
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()
2051 D_ASSERT(device, list_empty(&device->resync_work.list)); in drbd_device_cleanup()
2190 D_ASSERT(device, device->open_cnt == 0); in drbd_destroy_device()
[all …]
A Ddrbd_polymorph_printk.h121 #define D_ASSERT(x, exp) \ macro
A 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()
A Ddrbd_int.h2024 D_ASSERT(device, i >= 0); in put_ldev()
2206 D_ASSERT(device, ap_bio >= 0); in dec_ap_bio()
A Ddrbd_nl.c664 D_ASSERT(device, device->state.pdsk == D_UNKNOWN); in drbd_set_role()
1968 D_ASSERT(device, device->ldev == NULL); in drbd_adm_attach()
3939 D_ASSERT(device, device->vnr == volume); in get_one_status()
3940 D_ASSERT(device, device->resource == resource); in get_one_status()
A 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()
A Ddrbd_bitmap.c689 D_ASSERT(device, b->bm_pages != NULL); in drbd_bm_resize()

Completed in 53 milliseconds