Home
last modified time | relevance | path

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

/Linux-v4.19/fs/orangefs/
Dorangefs-kernel.h115 enum orangefs_vfs_op_states op_state; member
142 #define set_op_state_waiting(op) ((op)->op_state = OP_VFS_STATE_WAITING)
143 #define set_op_state_inprogress(op) ((op)->op_state = OP_VFS_STATE_INPROGR)
144 #define set_op_state_given_up(op) ((op)->op_state = OP_VFS_STATE_GIVEN_UP)
147 op->op_state = OP_VFS_STATE_SERVICED; in set_op_state_serviced()
151 #define op_state_waiting(op) ((op)->op_state & OP_VFS_STATE_WAITING)
152 #define op_state_in_progress(op) ((op)->op_state & OP_VFS_STATE_INPROGR)
153 #define op_state_serviced(op) ((op)->op_state & OP_VFS_STATE_SERVICED)
154 #define op_state_purged(op) ((op)->op_state & OP_VFS_STATE_PURGED)
155 #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()
236 op->op_state, in orangefs_cancel_op_in_progress()
266 op->op_state |= OP_VFS_STATE_GIVEN_UP; in orangefs_clean_up_interrupted_operation()
298 op->op_state); in orangefs_clean_up_interrupted_operation()
Dfile.c153 switch (new_op->op_state - OP_VFS_STATE_GIVEN_UP) { in wait_for_direct_io()
176 new_op->op_state); in wait_for_direct_io()
183 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.c226 op->op_state, in purge_inprogress_ops()
/Linux-v4.19/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()
459 if (hsotg->op_state == OTG_STATE_A_HOST) in dwc2_handle_disconnect_intr()
536 if (hsotg->op_state == OTG_STATE_A_PERIPHERAL) { in dwc2_handle_usb_suspend_intr()
[all …]
Dhcd.c1881 if (hsotg->op_state == OTG_STATE_B_HOST) { in dwc2_hcd_start()
1999 if (hsotg->op_state != OTG_STATE_A_SUSPEND) { in dwc2_hcd_disconnect()
2343 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_core_init()
2346 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_core_init()
2476 dev_dbg(hsotg->dev, "Init: Port Power? op_state=%d\n", hsotg->op_state); in dwc2_core_host_init()
2477 if (hsotg->op_state == OTG_STATE_A_HOST) { in dwc2_core_host_init()
3399 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_conn_id_status_change()
3428 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_conn_id_status_change()
3484 hsotg->op_state = OTG_STATE_A_SUSPEND; in dwc2_port_suspend()
3975 return hsotg->op_state == OTG_STATE_B_HOST; in dwc2_hcd_is_b_host()
[all …]
Dcore.h1015 enum usb_otg_state op_state; member
Dgadget.c4004 if (hsotg->op_state != OTG_STATE_B_PERIPHERAL) { in dwc2_hsotg_ep_disable()
4372 hsotg->op_state); in dwc2_hsotg_pullup()
4375 if (hsotg->op_state != OTG_STATE_B_PERIPHERAL) { in dwc2_hsotg_pullup()
4415 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_hsotg_vbus_session()
4668 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_gadget_init()
/Linux-v4.19/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.c494 mci->op_state = OP_ALLOC; in edac_mc_alloc()
584 if (mci->op_state != OP_RUNNING_POLL) { in edac_mc_workq_function()
614 if (mci->op_state == OP_RUNNING_POLL) in edac_mc_reset_delay_period()
772 mci->op_state = OP_RUNNING_POLL; in edac_mc_add_mc_with_groups()
778 mci->op_state = OP_RUNNING_INTERRUPT; in edac_mc_add_mc_with_groups()
785 edac_op_state_to_string(mci->op_state)); in edac_mc_add_mc_with_groups()
817 mci->op_state = OP_OFFLINE; in edac_mc_del_mc()
Dedac_pci.h54 int op_state; member
Dedac_device.h182 int op_state; member
Dedac_mc.h260 extern char *edac_op_state_to_string(int op_state);
Dxgene_edac.c800 if (edac_dev->op_state == OP_RUNNING_INTERRUPT) { in xgene_edac_pmd_hw_ctl()
973 edac_dev->op_state = OP_RUNNING_INTERRUPT; in xgene_edac_pmd_add()
1134 if (edac_dev->op_state == OP_RUNNING_INTERRUPT) { in xgene_edac_l3_hw_init()
1142 if (edac_dev->op_state == OP_RUNNING_INTERRUPT) { in xgene_edac_l3_hw_init()
1256 edac_dev->op_state = OP_RUNNING_INTERRUPT; in xgene_edac_l3_add()
1707 if (edac_dev->op_state == OP_RUNNING_INTERRUPT) { in xgene_edac_soc_hw_init()
1797 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-v4.19/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()
Dxgbe.h664 struct xgbe_i2c_op_state op_state; member
/Linux-v4.19/drivers/s390/cio/
Dscm.c142 scmdev->attrs.oper_state = sale->op_state; in scmdev_setup()
163 scmdev->attrs.oper_state != sale->op_state; in scmdev_update()
165 scmdev->attrs.oper_state = sale->op_state; in scmdev_update()
Dchsc.h175 u32 op_state:4; member
/Linux-v4.19/fs/ocfs2/
Dstack_user.c131 int op_state; member
185 p->op_state = state; in ocfs2_control_set_handshake_state()
191 return p->op_state; in ocfs2_control_get_handshake_state()
314 BUG_ON(p->op_state != OCFS2_CONTROL_HANDSHAKE_PROTOCOL); in ocfs2_control_install_private()
/Linux-v4.19/arch/s390/include/asm/
Dfcx.h132 u32 op_state:8; member
/Linux-v4.19/include/linux/
Dedac.h662 int op_state; member