Home
last modified time | relevance | path

Searched refs:get_ldev (Results 1 – 9 of 9) sorted by relevance

/drivers/block/drbd/
Ddrbd_req.c704 get_ldev(mdev); /* always succeeds in this call path */ in __req_mod()
1010 if (get_ldev(mdev)) { in drbd_submit_req_private_bio()
1054 if (!get_ldev(mdev)) { in drbd_request_prepare()
1308 if (bio_size && get_ldev(mdev)) { in drbd_merge_bvec()
1346 if (get_ldev(mdev)) { /* implicit state.disk >= D_INCONSISTENT */ in request_timer_fn()
Ddrbd_state.c519 if (get_ldev(mdev)) { in is_valid_state()
741 if (get_ldev(mdev)) { in sanitize_state()
1071 if (get_ldev(mdev)) { in __drbd_set_state()
1280 mdev->tconn->agreed_pro_version >= 96 && get_ldev(mdev)) { in after_state_ch()
1314 if (get_ldev(mdev)) { in after_state_ch()
1328 if (ns.pdsk < D_INCONSISTENT && get_ldev(mdev)) { in after_state_ch()
1348 mdev->state.conn <= C_CONNECTED && get_ldev(mdev)) { in after_state_ch()
1501 if (os.conn > C_CONNECTED && ns.conn <= C_CONNECTED && get_ldev(mdev)) { in after_state_ch()
Ddrbd_actlog.c492 if (!get_ldev(mdev)) { in _al_write_transaction()
668 if (!get_ldev(mdev)) { in w_update_odbm()
829 if (!get_ldev(mdev)) in __drbd_set_in_sync()
903 if (!get_ldev(mdev)) in __drbd_set_out_of_sync()
1303 if (get_ldev(mdev)) { in drbd_rs_failed_io()
Ddrbd_worker.c385 if (!get_ldev(mdev)) in read_for_csum()
583 if (!get_ldev(mdev)) { in w_make_resync_request()
851 if (!get_ldev(mdev)) in drbd_resync_finished()
1087 if (get_ldev(mdev)) { in w_e_end_csum_rs_req()
1211 if (get_ldev(mdev)) { in w_e_end_ov_reply()
Ddrbd_nl.c619 if (get_ldev(mdev)) { in drbd_set_role()
631 if (get_ldev(mdev)) { in drbd_set_role()
1190 if (!get_ldev(mdev)) { in drbd_adm_disk_opts()
1863 if (get_ldev(mdev)) { in _check_net_options()
2340 if (!get_ldev(mdev)) { in drbd_adm_resize()
2680 got_ldev = get_ldev(mdev); in nla_put_status_info()
3062 if (!get_ldev(mdev)) { in drbd_adm_new_c_uuid()
Ddrbd_receiver.c1153 if (!get_ldev(mdev)) in drbd_flush()
1770 if (get_ldev(mdev)) { in receive_RSDataReply()
2170 if (!get_ldev(mdev)) { in receive_Data()
3374 if (get_ldev(mdev)) { in receive_SyncParam()
3564 if (get_ldev(mdev)) { in receive_sizes()
3619 if (get_ldev(mdev)) { in receive_sizes()
3633 if (get_ldev(mdev)) { in receive_sizes()
3698 if (get_ldev(mdev)) { in receive_uuids()
4944 if (get_ldev(mdev)) { in got_IsInSync()
5155 if (!get_ldev(mdev)) in got_OVResult()
Ddrbd_main.c745 if (get_ldev(mdev)) { in drbd_send_sync_param()
1238 if (get_ldev(mdev)) { in _drbd_send_bitmap()
2360 if (get_ldev(mdev)) { in drbd_congested()
3358 if (get_ldev(mdev)) { in w_bitmap_io()
Ddrbd_bitmap.c681 if (get_ldev(mdev)) { in drbd_bm_resize()
Ddrbd_int.h2041 #define get_ldev(M) __cond_lock(local, _get_ldev_if_state(M,D_INCONSISTENT)) macro