Searched refs:get_ldev_if_state (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/drivers/block/drbd/ |
D | drbd_debugfs.c | 693 if (get_ldev_if_state(device, D_FAILED)) { in device_resync_extents_show() 708 if (get_ldev_if_state(device, D_FAILED)) { in device_act_log_extents_show() 750 if (!get_ldev_if_state(device, D_FAILED)) in device_data_gen_id_show()
|
D | drbd_proc.c | 324 if (drbd_proc_details >= 1 && get_ldev_if_state(device, D_FAILED)) { in drbd_seq_show()
|
D | drbd_actlog.c | 166 else if (!get_ldev_if_state(device, D_ATTACHING)) { in _drbd_md_sync_page_io() 1188 if (get_ldev_if_state(device, D_FAILED)) { /* Makes sure ->resync is there. */ in drbd_rs_cancel_all() 1213 if (get_ldev_if_state(device, D_FAILED)) { in drbd_rs_del_all()
|
D | drbd_bitmap.c | 790 if (!get_ldev_if_state(device, D_NEGOTIATING)) in drbd_bm_total_weight() 1077 if (!get_ldev_if_state(device, D_ATTACHING)) { /* put is in drbd_bm_aio_ctx_destroy() */ in bm_rw()
|
D | drbd_main.c | 845 if (!get_ldev_if_state(device, D_NEGOTIATING)) in _drbd_send_uuids() 884 if (get_ldev_if_state(device, D_NEGOTIATING)) { in drbd_print_uuids() 971 if (get_ldev_if_state(device, D_NEGOTIATING)) { in drbd_send_sizes() 2436 if (!get_ldev_if_state(device, D_UP_TO_DATE)) in drbd_congested() 3146 if (!get_ldev_if_state(device, D_FAILED)) in drbd_md_sync()
|
D | drbd_req.c | 176 if (get_ldev_if_state(device, D_FAILED)) { in drbd_req_destroy() 1024 if (!get_ldev_if_state(device, D_UP_TO_DATE)) in maybe_pull_ahead()
|
D | drbd_int.h | 2128 #define get_ldev_if_state(_device, _min_state) \ macro 2131 #define get_ldev(_device) get_ldev_if_state(_device, D_INCONSISTENT)
|
D | drbd_worker.c | 1140 if (get_ldev_if_state(device, D_FAILED)) { in w_e_end_rsdata_req() 1810 || !get_ldev_if_state(device, D_NEGOTIATING)) { in drbd_start_resync()
|
D | drbd_receiver.c | 2740 if (!get_ldev_if_state(device, D_UP_TO_DATE)) { in receive_DataRequest() 4371 get_ldev_if_state(device, D_NEGOTIATING)) { in receive_state() 4482 if (get_ldev_if_state(device, D_NEGOTIATING)) { in receive_sync_uuid() 5674 if (get_ldev_if_state(device, D_FAILED)) { in got_NegRSDReply()
|
D | drbd_nl.c | 436 if (get_ldev_if_state(device, D_CONSISTENT)) { in highest_fencing_policy() 1927 if (!get_ldev_if_state(device, D_ATTACHING)) in drbd_adm_attach() 3154 if (get_ldev_if_state(device, D_ATTACHING)) { in drbd_adm_resume_io()
|
D | drbd_state.c | 1106 get_ldev_if_state(device, D_NEGOTIATING)) { in sanitize_state()
|