Home
last modified time | relevance | path

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

12

/linux-5.19.10/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-5.19.10/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.c1677 if (hsotg->op_state == OTG_STATE_B_HOST) { in dwc2_hcd_start()
1795 if (hsotg->op_state != OTG_STATE_A_SUSPEND) { in dwc2_hcd_disconnect()
2139 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_core_init()
2142 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_core_init()
2278 dev_dbg(hsotg->dev, "Init: Port Power? op_state=%d\n", hsotg->op_state); in dwc2_core_host_init()
2279 if (hsotg->op_state == OTG_STATE_A_HOST) { in dwc2_core_host_init()
3214 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_conn_id_status_change()
3243 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_conn_id_status_change()
3309 hsotg->op_state = OTG_STATE_A_SUSPEND; in dwc2_port_suspend()
3844 return hsotg->op_state == OTG_STATE_B_HOST; in dwc2_hcd_is_b_host()
[all …]
Dcore.h1072 enum usb_otg_state op_state; member
/linux-5.19.10/drivers/edac/
Dedac_pci.c48 pci->op_state = OP_ALLOC; in edac_pci_alloc_ctl_info()
177 if (pci->op_state != OP_RUNNING_POLL) { in edac_pci_workq_function()
222 pci->op_state = OP_RUNNING_POLL; in edac_pci_add_device()
228 pci->op_state = OP_RUNNING_INTERRUPT; in edac_pci_add_device()
234 edac_op_state_to_string(pci->op_state)); in edac_pci_add_device()
265 pci->op_state = OP_OFFLINE; in edac_pci_del_device()
Dedac_device.c174 dev_ctl->op_state = OP_ALLOC; in edac_device_alloc_ctl_info()
321 if (edac_dev->op_state == OP_OFFLINE) { in edac_device_workq_function()
327 if ((edac_dev->op_state == OP_RUNNING_POLL) && in edac_device_workq_function()
384 edac_dev->op_state = OP_OFFLINE; in edac_device_workq_teardown()
444 edac_dev->op_state = OP_RUNNING_POLL; in edac_device_add_device()
452 edac_dev->op_state = OP_RUNNING_INTERRUPT; in edac_device_add_device()
459 edac_op_state_to_string(edac_dev->op_state)); in edac_device_add_device()
490 edac_dev->op_state = OP_OFFLINE; in edac_device_del_device()
Dedac_mc.c395 mci->op_state = OP_ALLOC; in edac_mc_alloc()
476 if (mci->op_state != OP_RUNNING_POLL) { in edac_mc_workq_function()
506 if (mci->op_state == OP_RUNNING_POLL) in edac_mc_reset_delay_period()
656 mci->op_state = OP_RUNNING_POLL; in edac_mc_add_mc_with_groups()
662 mci->op_state = OP_RUNNING_INTERRUPT; in edac_mc_add_mc_with_groups()
669 edac_op_state_to_string(mci->op_state)); in edac_mc_add_mc_with_groups()
701 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-5.19.10/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-5.19.10/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.h65 int op_state; member
/linux-5.19.10/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-5.19.10/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-5.19.10/arch/s390/include/asm/
Dfcx.h132 u32 op_state:8; member
/linux-5.19.10/include/linux/
Dedac.h603 int op_state; member

12