Searched refs:get_ldev_if_state (Results 1 - 11 of 11) sorted by relevance
/drivers/block/drbd/ |
H A D | drbd_proc.c | 335 if (proc_details >= 1 && get_ldev_if_state(device, D_FAILED)) {
|
H A D | drbd_actlog.c | 167 else if (!get_ldev_if_state(device, D_ATTACHING)) { 169 drbd_err(device, "ASSERT FAILED: get_ldev_if_state() == 1 in _drbd_md_sync_page_io()\n"); 1160 if (get_ldev_if_state(device, D_FAILED)) { /* Makes sure ->resync is there. */ 1185 if (get_ldev_if_state(device, D_FAILED)) {
|
H A D | drbd_debugfs.c | 712 if (get_ldev_if_state(device, D_FAILED)) { 727 if (get_ldev_if_state(device, D_FAILED)) { 769 if (!get_ldev_if_state(device, D_FAILED))
|
H A D | drbd_bitmap.c | 783 if (!get_ldev_if_state(device, D_NEGOTIATING)) 1078 if (!get_ldev_if_state(device, D_ATTACHING)) { /* put is in drbd_bm_aio_ctx_destroy() */ 1079 drbd_err(device, "ASSERT FAILED: get_ldev_if_state() == 1 in bm_rw()\n");
|
H A D | drbd_req.c | 183 if (get_ldev_if_state(device, D_FAILED)) { 1033 if (!get_ldev_if_state(device, D_UP_TO_DATE))
|
H A D | drbd_main.c | 841 if (!get_ldev_if_state(device, D_NEGOTIATING)) 880 if (get_ldev_if_state(device, D_NEGOTIATING)) { 931 if (get_ldev_if_state(device, D_NEGOTIATING)) { 2386 if (!get_ldev_if_state(device, D_UP_TO_DATE)) 3122 if (!get_ldev_if_state(device, D_FAILED))
|
H A D | drbd_int.h | 2106 #define get_ldev_if_state(_device, _min_state) \ macro 2109 #define get_ldev(_device) get_ldev_if_state(_device, D_INCONSISTENT)
|
H A D | drbd_worker.c | 609 get_ldev_if_state(device,D_FAILED) would be sufficient, but 1068 if (get_ldev_if_state(device, D_FAILED)) { 1714 || !get_ldev_if_state(device, D_NEGOTIATING)) { 1869 /* we cannot assert local_cnt == 0 here, as get_ldev_if_state will
|
H A D | drbd_receiver.c | 2544 if (!get_ldev_if_state(device, D_UP_TO_DATE)) { 4118 get_ldev_if_state(device, D_NEGOTIATING)) { 4229 if (get_ldev_if_state(device, D_NEGOTIATING)) { 5336 if (get_ldev_if_state(device, D_FAILED)) {
|
H A D | drbd_nl.c | 418 if (get_ldev_if_state(device, D_CONSISTENT)) { 1677 if (!get_ldev_if_state(device, D_ATTACHING))
|
H A D | drbd_state.c | 783 get_ldev_if_state(device, D_NEGOTIATING)) {
|
Completed in 75 milliseconds