Home
last modified time | relevance | path

Searched refs:D_FAILED (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/block/drbd/
Ddrbd_strings.c53 [D_FAILED] = "Failed",
Ddrbd_state.c474 (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()
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.c311 if (drbd_proc_details >= 1 && get_ldev_if_state(device, D_FAILED)) { in drbd_seq_show()
Ddrbd_actlog.c88 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()
Ddrbd_int.h1755 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()
Ddrbd_worker.c1123 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()
Ddrbd_req.c144 if (get_ldev_if_state(device, D_FAILED)) { in drbd_req_destroy()
Ddrbd_nl.c732 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()
Ddrbd_receiver.c4512 drbd_force_state(device, NS(disk, D_FAILED)); in receive_state()
5796 if (get_ldev_if_state(device, D_FAILED)) { in got_NegRSDReply()
Ddrbd_main.c3039 if (!get_ldev_if_state(device, D_FAILED)) in drbd_md_sync()
/linux-6.1.9/include/linux/
Ddrbd.h234 D_FAILED, /* Becomes D_DISKLESS as soon as we told it the peer */ enumerator