Home
last modified time | relevance | path

Searched refs:op_state (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v5.15/fs/orangefs/
Dorangefs-kernel.h118 enum orangefs_vfs_op_states op_state; member
145 #define set_op_state_waiting(op) ((op)->op_state = OP_VFS_STATE_WAITING)
146 #define set_op_state_inprogress(op) ((op)->op_state = OP_VFS_STATE_INPROGR)
147 #define set_op_state_given_up(op) ((op)->op_state = OP_VFS_STATE_GIVEN_UP)
150 op->op_state = OP_VFS_STATE_SERVICED; in set_op_state_serviced()
154 #define op_state_waiting(op) ((op)->op_state & OP_VFS_STATE_WAITING)
155 #define op_state_in_progress(op) ((op)->op_state & OP_VFS_STATE_INPROGR)
156 #define op_state_serviced(op) ((op)->op_state & OP_VFS_STATE_SERVICED)
157 #define op_state_purged(op) ((op)->op_state & OP_VFS_STATE_PURGED)
158 #define op_state_given_up(op) ((op)->op_state & OP_VFS_STATE_GIVEN_UP)
[all …]
Dwaitqueue.c49 op->op_state, in purge_waiting_ops()
119 op->op_state, in service_operation()
234 op->op_state, in orangefs_cancel_op_in_progress()
264 op->op_state |= OP_VFS_STATE_GIVEN_UP; in orangefs_clean_up_interrupted_operation()
296 op->op_state); in orangefs_clean_up_interrupted_operation()
Dfile.c193 switch (new_op->op_state - OP_VFS_STATE_GIVEN_UP) { in wait_for_direct_io()
219 new_op->op_state); in wait_for_direct_io()
226 new_op->op_state, in wait_for_direct_io()
Ddevorangefs-req.c316 cur_op->op_state, in orangefs_devreq_read()
339 cur_op->op_state, in orangefs_devreq_read()
498 op->op_state, in orangefs_devreq_write_iter()
Dorangefs-cache.c130 new_op->op_state = OP_VFS_STATE_UNKNOWN; in op_alloc()
Dorangefs-mod.c223 op->op_state, in purge_inprogress_ops()
/Linux-v5.15/drivers/usb/dwc2/
Dcore_intr.c59 switch (hsotg->op_state) { in dwc2_op_state_str()
132 if (hsotg->op_state == OTG_STATE_B_HOST) { in dwc2_handle_otg_intr()
133 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_handle_otg_intr()
189 hsotg->op_state = OTG_STATE_B_HOST; in dwc2_handle_otg_intr()
213 hsotg->op_state = OTG_STATE_B_HOST; in dwc2_handle_otg_intr()
237 hsotg->op_state); in dwc2_handle_otg_intr()
241 hsotg->op_state = OTG_STATE_A_PERIPHERAL; in dwc2_handle_otg_intr()
250 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_handle_otg_intr()
493 if (hsotg->op_state == OTG_STATE_A_HOST) in dwc2_handle_disconnect_intr()
573 if (hsotg->op_state == OTG_STATE_A_PERIPHERAL) { in dwc2_handle_usb_suspend_intr()
[all …]
Dhcd.c1681 if (hsotg->op_state == OTG_STATE_B_HOST) { in dwc2_hcd_start()
1799 if (hsotg->op_state != OTG_STATE_A_SUSPEND) { in dwc2_hcd_disconnect()
2143 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_core_init()
2146 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_core_init()
2282 dev_dbg(hsotg->dev, "Init: Port Power? op_state=%d\n", hsotg->op_state); in dwc2_core_host_init()
2283 if (hsotg->op_state == OTG_STATE_A_HOST) { in dwc2_core_host_init()
3218 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_conn_id_status_change()
3247 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_conn_id_status_change()
3313 hsotg->op_state = OTG_STATE_A_SUSPEND; in dwc2_port_suspend()
3848 return hsotg->op_state == OTG_STATE_B_HOST; in dwc2_hcd_is_b_host()
[all …]
Dcore.h1066 enum usb_otg_state op_state; member
/Linux-v5.15/drivers/edac/
Dedac_pci.c53 pci->op_state = OP_ALLOC; in edac_pci_alloc_ctl_info()
178 if (pci->op_state != OP_RUNNING_POLL) { in edac_pci_workq_function()
223 pci->op_state = OP_RUNNING_POLL; in edac_pci_add_device()
229 pci->op_state = OP_RUNNING_INTERRUPT; in edac_pci_add_device()
235 edac_op_state_to_string(pci->op_state)); in edac_pci_add_device()
266 pci->op_state = OP_OFFLINE; in edac_pci_del_device()
Dedac_device.c207 dev_ctl->op_state = OP_ALLOC; in edac_device_alloc_ctl_info()
351 if (edac_dev->op_state == OP_OFFLINE) { in edac_device_workq_function()
357 if ((edac_dev->op_state == OP_RUNNING_POLL) && in edac_device_workq_function()
414 edac_dev->op_state = OP_OFFLINE; in edac_device_workq_teardown()
474 edac_dev->op_state = OP_RUNNING_POLL; in edac_device_add_device()
482 edac_dev->op_state = OP_RUNNING_INTERRUPT; in edac_device_add_device()
489 edac_op_state_to_string(edac_dev->op_state)); in edac_device_add_device()
520 edac_dev->op_state = OP_OFFLINE; in edac_device_del_device()
Dedac_mc.c468 mci->op_state = OP_ALLOC; in edac_mc_alloc()
549 if (mci->op_state != OP_RUNNING_POLL) { in edac_mc_workq_function()
579 if (mci->op_state == OP_RUNNING_POLL) in edac_mc_reset_delay_period()
729 mci->op_state = OP_RUNNING_POLL; in edac_mc_add_mc_with_groups()
735 mci->op_state = OP_RUNNING_INTERRUPT; in edac_mc_add_mc_with_groups()
742 edac_op_state_to_string(mci->op_state)); in edac_mc_add_mc_with_groups()
774 mci->op_state = OP_OFFLINE; in edac_mc_del_mc()
Dedac_pci.h54 int op_state; member
Dedac_mc.h256 extern char *edac_op_state_to_string(int op_state);
Dedac_device.h182 int op_state; member
Dxgene_edac.c788 if (edac_dev->op_state == OP_RUNNING_INTERRUPT) { in xgene_edac_pmd_hw_ctl()
961 edac_dev->op_state = OP_RUNNING_INTERRUPT; in xgene_edac_pmd_add()
1122 if (edac_dev->op_state == OP_RUNNING_INTERRUPT) { in xgene_edac_l3_hw_init()
1130 if (edac_dev->op_state == OP_RUNNING_INTERRUPT) { in xgene_edac_l3_hw_init()
1244 edac_dev->op_state = OP_RUNNING_INTERRUPT; in xgene_edac_l3_add()
1692 if (edac_dev->op_state == OP_RUNNING_INTERRUPT) { in xgene_edac_soc_hw_init()
1782 edac_dev->op_state = OP_RUNNING_INTERRUPT; in xgene_edac_soc_add()
Dmpc85xx_edac.c573 edac_dev->op_state = OP_RUNNING_INTERRUPT; in mpc85xx_l2_err_probe()
/Linux-v5.15/drivers/net/ethernet/amd/xgbe/
Dxgbe-i2c.c220 struct xgbe_i2c_op_state *state = &pdata->i2c.op_state; in xgbe_i2c_write()
248 struct xgbe_i2c_op_state *state = &pdata->i2c.op_state; in xgbe_i2c_read()
266 struct xgbe_i2c_op_state *state = &pdata->i2c.op_state; in xgbe_i2c_clear_isr_interrupts()
280 struct xgbe_i2c_op_state *state = &pdata->i2c.op_state; in xgbe_i2c_isr_task()
379 struct xgbe_i2c_op_state *state = &pdata->i2c.op_state; in xgbe_i2c_xfer()
/Linux-v5.15/fs/ksmbd/
Doplock.c43 opinfo->op_state = OPLOCK_STATE_NONE; in alloc_opinfo()
378 if (opinfo->op_state == OPLOCK_ACK_WAIT) { in close_id_del_oplock()
379 opinfo->op_state = OPLOCK_CLOSING; in close_id_del_oplock()
547 opinfo->op_state == OPLOCK_STATE_NONE || in wait_for_break_ack()
548 opinfo->op_state == OPLOCK_CLOSING, in wait_for_break_ack()
556 opinfo->op_state = OPLOCK_STATE_NONE; in wait_for_break_ack()
576 if (opinfo->op_state == OPLOCK_CLOSING) in oplock_break_pending()
706 if (opinfo->op_state == OPLOCK_ACK_WAIT) { in smb2_oplock_break_noti()
816 if (opinfo->op_state == OPLOCK_ACK_WAIT) { in smb2_lease_break_noti()
900 brk_opinfo->op_state = OPLOCK_ACK_WAIT; in oplock_break()
[all …]
Doplock.h67 int op_state; member
/Linux-v5.15/drivers/s390/cio/
Dscm.c143 scmdev->attrs.oper_state = sale->op_state; in scmdev_setup()
164 scmdev->attrs.oper_state != sale->op_state; in scmdev_update()
166 scmdev->attrs.oper_state = sale->op_state; in scmdev_update()
Dchsc.h178 u32 op_state:4; member
/Linux-v5.15/fs/ocfs2/
Dstack_user.c121 int op_state; member
175 p->op_state = state; in ocfs2_control_set_handshake_state()
181 return p->op_state; in ocfs2_control_get_handshake_state()
304 BUG_ON(p->op_state != OCFS2_CONTROL_HANDSHAKE_PROTOCOL); in ocfs2_control_install_private()
/Linux-v5.15/arch/s390/include/asm/
Dfcx.h132 u32 op_state:8; member
/Linux-v5.15/include/linux/
Dedac.h597 int op_state; member

12