Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.c194 switch (new_op->op_state - OP_VFS_STATE_GIVEN_UP) { in wait_for_direct_io()
220 new_op->op_state); in wait_for_direct_io()
227 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-6.6.21/drivers/usb/dwc2/
Dcore_intr.c29 switch (hsotg->op_state) { in dwc2_op_state_str()
102 if (hsotg->op_state == OTG_STATE_B_HOST) { in dwc2_handle_otg_intr()
103 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_handle_otg_intr()
159 hsotg->op_state = OTG_STATE_B_HOST; in dwc2_handle_otg_intr()
183 hsotg->op_state = OTG_STATE_B_HOST; in dwc2_handle_otg_intr()
207 hsotg->op_state); in dwc2_handle_otg_intr()
211 hsotg->op_state = OTG_STATE_A_PERIPHERAL; in dwc2_handle_otg_intr()
220 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_handle_otg_intr()
463 if (hsotg->op_state == OTG_STATE_A_HOST) in dwc2_handle_disconnect_intr()
543 if (hsotg->op_state == OTG_STATE_A_PERIPHERAL) { in dwc2_handle_usb_suspend_intr()
[all …]
Dhcd.c1648 if (hsotg->op_state == OTG_STATE_B_HOST) { in dwc2_hcd_start()
1766 if (hsotg->op_state != OTG_STATE_A_SUSPEND) { in dwc2_hcd_disconnect()
2110 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_core_init()
2113 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_core_init()
2249 dev_dbg(hsotg->dev, "Init: Port Power? op_state=%d\n", hsotg->op_state); in dwc2_core_host_init()
2250 if (hsotg->op_state == OTG_STATE_A_HOST) { in dwc2_core_host_init()
3185 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_conn_id_status_change()
3214 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_conn_id_status_change()
3280 hsotg->op_state = OTG_STATE_A_SUSPEND; in dwc2_port_suspend()
3815 return hsotg->op_state == OTG_STATE_B_HOST; in dwc2_hcd_is_b_host()
[all …]
Dcore.h1043 enum usb_otg_state op_state; member
/linux-6.6.21/drivers/edac/
Dedac_pci.c45 pci->op_state = OP_ALLOC; in edac_pci_alloc_ctl_info()
174 if (pci->op_state != OP_RUNNING_POLL) { in edac_pci_workq_function()
219 pci->op_state = OP_RUNNING_POLL; in edac_pci_add_device()
225 pci->op_state = OP_RUNNING_INTERRUPT; in edac_pci_add_device()
231 edac_op_state_to_string(pci->op_state)); in edac_pci_add_device()
262 pci->op_state = OP_OFFLINE; in edac_pci_del_device()
Dedac_device.c177 dev_ctl->op_state = OP_ALLOC; in edac_device_alloc_ctl_info()
324 if (edac_dev->op_state == OP_OFFLINE) { in edac_device_workq_function()
330 if ((edac_dev->op_state == OP_RUNNING_POLL) && in edac_device_workq_function()
387 edac_dev->op_state = OP_OFFLINE; in edac_device_workq_teardown()
446 edac_dev->op_state = OP_RUNNING_POLL; in edac_device_add_device()
450 edac_dev->op_state = OP_RUNNING_INTERRUPT; in edac_device_add_device()
457 edac_op_state_to_string(edac_dev->op_state)); in edac_device_add_device()
488 edac_dev->op_state = OP_OFFLINE; in edac_device_del_device()
Dedac_mc.c394 mci->op_state = OP_ALLOC; in edac_mc_alloc()
475 if (mci->op_state != OP_RUNNING_POLL) { in edac_mc_workq_function()
505 if (mci->op_state == OP_RUNNING_POLL) in edac_mc_reset_delay_period()
655 mci->op_state = OP_RUNNING_POLL; in edac_mc_add_mc_with_groups()
661 mci->op_state = OP_RUNNING_INTERRUPT; in edac_mc_add_mc_with_groups()
668 edac_op_state_to_string(mci->op_state)); in edac_mc_add_mc_with_groups()
700 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.c574 edac_dev->op_state = OP_RUNNING_INTERRUPT; in mpc85xx_l2_err_probe()
/linux-6.6.21/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-6.6.21/fs/smb/server/
Doplock.c44 opinfo->op_state = OPLOCK_STATE_NONE; in alloc_opinfo()
409 if (opinfo->op_state == OPLOCK_ACK_WAIT) { in close_id_del_oplock()
410 opinfo->op_state = OPLOCK_CLOSING; in close_id_del_oplock()
584 opinfo->op_state == OPLOCK_STATE_NONE || in wait_for_break_ack()
585 opinfo->op_state == OPLOCK_CLOSING, in wait_for_break_ack()
593 opinfo->op_state = OPLOCK_STATE_NONE; in wait_for_break_ack()
613 if (opinfo->op_state == OPLOCK_CLOSING) in oplock_break_pending()
728 if (opinfo->op_state == OPLOCK_ACK_WAIT) { in smb2_oplock_break_noti()
835 if (opinfo->op_state == OPLOCK_ACK_WAIT) { in smb2_lease_break_noti()
921 brk_opinfo->op_state = OPLOCK_ACK_WAIT; in oplock_break()
[all …]
Doplock.h68 int op_state; member
/linux-6.6.21/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-6.6.21/fs/ocfs2/
Dstack_user.c122 int op_state; member
176 p->op_state = state; in ocfs2_control_set_handshake_state()
182 return p->op_state; in ocfs2_control_get_handshake_state()
305 BUG_ON(p->op_state != OCFS2_CONTROL_HANDSHAKE_PROTOCOL); in ocfs2_control_install_private()
/linux-6.6.21/arch/s390/include/asm/
Dfcx.h132 u32 op_state:8; member
/linux-6.6.21/include/linux/
Dedac.h603 int op_state; member

12