Searched refs:D_FAILED (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/drivers/block/drbd/ |
D | drbd_strings.c | 53 [D_FAILED] = "Failed",
|
D | drbd_state.c | 474 (os.disk != D_FAILED && ns.disk == D_FAILED))) || in cl_wide_st_chg() 675 return drbd_req_state(device, NS(disk, D_FAILED), in request_detach() 689 device->state.disk != D_FAILED); in drbd_request_detach_interruptible() 1021 if (ns.disk == D_FAILED && os.disk == D_DISKLESS) in is_valid_transition() 1083 if (ns.conn > C_CONNECTED && (ns.disk <= D_FAILED || ns.pdsk <= D_FAILED)) { in sanitize_state() 1318 if ((os.disk != D_FAILED && ns.disk == D_FAILED) || in _drbd_set_state() 1687 && (ns == D_DISKLESS || ns == D_FAILED || ns == D_OUTDATED)) in lost_contact_to_peer_data() 1895 if (os.disk != D_FAILED && ns.disk == D_FAILED) { in after_state_ch() 1935 if (device->state.disk != D_FAILED) in after_state_ch()
|
D | drbd_debugfs.c | 667 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()
|
D | drbd_proc.c | 311 if (drbd_proc_details >= 1 && get_ldev_if_state(device, D_FAILED)) { in drbd_seq_show()
|
D | drbd_actlog.c | 88 device->state.disk <= D_FAILED); in drbd_md_get_buffer() 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()
|
D | drbd_int.h | 1755 if (device->state.disk > D_FAILED) { in __drbd_chk_io_error_() 1756 _drbd_set_state(_NS(device, disk, D_FAILED), CS_HARD, NULL); in __drbd_chk_io_error_() 2098 if (disk_state == D_FAILED) in put_ldev() 2195 case D_FAILED: in drbd_state_is_stable()
|
D | drbd_worker.c | 1123 if (get_ldev_if_state(device, D_FAILED)) { in w_e_end_rsdata_req() 1948 D_ASSERT(device, device->state.disk == D_FAILED); in go_diskless()
|
D | drbd_req.c | 144 if (get_ldev_if_state(device, D_FAILED)) { in drbd_req_destroy()
|
D | drbd_nl.c | 732 device->state.pdsk <= D_FAILED) in drbd_set_role() 2131 drbd_force_state(device, NS(disk, D_FAILED)); in adm_detach() 3154 if (device->state.disk == D_DISKLESS || device->state.disk == D_FAILED) in drbd_adm_resume_io()
|
D | drbd_receiver.c | 4512 drbd_force_state(device, NS(disk, D_FAILED)); in receive_state() 5796 if (get_ldev_if_state(device, D_FAILED)) { in got_NegRSDReply()
|
D | drbd_main.c | 3039 if (!get_ldev_if_state(device, D_FAILED)) in drbd_md_sync()
|
/linux-6.1.9/include/linux/ |
D | drbd.h | 234 D_FAILED, /* Becomes D_DISKLESS as soon as we told it the peer */ enumerator
|