Home
last modified time | relevance | path

Searched refs:get_ldev_if_state (Results 1 – 11 of 11) sorted by relevance

/drivers/block/drbd/
Ddrbd_debugfs.c667 if (get_ldev_if_state(device, D_FAILED)) { in device_resync_extents_show()
682 if (get_ldev_if_state(device, D_FAILED)) { in device_act_log_extents_show()
724 if (!get_ldev_if_state(device, D_FAILED)) in device_data_gen_id_show()
Ddrbd_proc.c312 if (drbd_proc_details >= 1 && get_ldev_if_state(device, D_FAILED)) { in drbd_seq_show()
Ddrbd_actlog.c154 else if (!get_ldev_if_state(device, D_ATTACHING)) { in _drbd_md_sync_page_io()
1176 if (get_ldev_if_state(device, D_FAILED)) { /* Makes sure ->resync is there. */ in drbd_rs_cancel_all()
1201 if (get_ldev_if_state(device, D_FAILED)) { in drbd_rs_del_all()
Ddrbd_main.c834 if (!get_ldev_if_state(device, D_NEGOTIATING)) in _drbd_send_uuids()
873 if (get_ldev_if_state(device, D_NEGOTIATING)) { in drbd_print_uuids()
960 if (get_ldev_if_state(device, D_NEGOTIATING)) { in drbd_send_sizes()
2445 if (!get_ldev_if_state(device, D_UP_TO_DATE)) in drbd_congested()
3154 if (!get_ldev_if_state(device, D_FAILED)) in drbd_md_sync()
Ddrbd_bitmap.c778 if (!get_ldev_if_state(device, D_NEGOTIATING)) in drbd_bm_total_weight()
1065 if (!get_ldev_if_state(device, D_ATTACHING)) { /* put is in drbd_bm_aio_ctx_destroy() */ in bm_rw()
Ddrbd_req.c164 if (get_ldev_if_state(device, D_FAILED)) { in drbd_req_destroy()
1012 if (!get_ldev_if_state(device, D_UP_TO_DATE)) in maybe_pull_ahead()
Ddrbd_int.h2113 #define get_ldev_if_state(_device, _min_state) \ macro
2116 #define get_ldev(_device) get_ldev_if_state(_device, D_INCONSISTENT)
Ddrbd_worker.c1127 if (get_ldev_if_state(device, D_FAILED)) { in w_e_end_rsdata_req()
1797 || !get_ldev_if_state(device, D_NEGOTIATING)) { in drbd_start_resync()
Ddrbd_receiver.c2867 if (!get_ldev_if_state(device, D_UP_TO_DATE)) { in receive_DataRequest()
4547 get_ldev_if_state(device, D_NEGOTIATING)) { in receive_state()
4658 if (get_ldev_if_state(device, D_NEGOTIATING)) { in receive_sync_uuid()
5861 if (get_ldev_if_state(device, D_FAILED)) { in got_NegRSDReply()
Ddrbd_nl.c453 if (get_ldev_if_state(device, D_CONSISTENT)) { in highest_fencing_policy()
1979 if (!get_ldev_if_state(device, D_ATTACHING)) in drbd_adm_attach()
3208 if (get_ldev_if_state(device, D_ATTACHING)) { in drbd_adm_resume_io()
Ddrbd_state.c1092 get_ldev_if_state(device, D_NEGOTIATING)) { in sanitize_state()