Home
last modified time | relevance | path

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

/linux/fs/orangefs/
H A Dorangefs-kernel.h108 enum orangefs_vfs_op_states op_state; member
135 #define set_op_state_waiting(op) ((op)->op_state = OP_VFS_STATE_WAITING)
136 #define set_op_state_inprogress(op) ((op)->op_state = OP_VFS_STATE_INPROGR)
137 #define set_op_state_given_up(op) ((op)->op_state = OP_VFS_STATE_GIVEN_UP)
140 op->op_state = OP_VFS_STATE_SERVICED; in set_op_state_serviced()
144 #define op_state_waiting(op) ((op)->op_state & OP_VFS_STATE_WAITING)
145 #define op_state_in_progress(op) ((op)->op_state & OP_VFS_STATE_INPROGR)
146 #define op_state_serviced(op) ((op)->op_state & OP_VFS_STATE_SERVICED)
147 #define op_state_purged(op) ((op)->op_state & OP_VFS_STATE_PURGED)
148 #define op_state_given_up(op) ((op)->op_state & OP_VFS_STATE_GIVEN_UP)
[all …]
H A 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()
H A 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()
H A 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()
H A Dorangefs-cache.c130 new_op->op_state = OP_VFS_STATE_UNKNOWN; in op_alloc()
H A Dorangefs-mod.c223 op->op_state, in purge_inprogress_ops()
/linux/drivers/edac/
H A 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()
H A Dedac_device.c128 dev_ctl->op_state = OP_ALLOC; in edac_device_alloc_ctl_info()
275 if (edac_dev->op_state == OP_OFFLINE) { in edac_device_workq_function()
281 if ((edac_dev->op_state == OP_RUNNING_POLL) && in edac_device_workq_function()
338 edac_dev->op_state = OP_OFFLINE; in edac_device_workq_teardown()
397 edac_dev->op_state = OP_RUNNING_POLL; in edac_device_add_device()
401 edac_dev->op_state = OP_RUNNING_INTERRUPT; in edac_device_add_device()
408 edac_op_state_to_string(edac_dev->op_state)); in edac_device_add_device()
439 edac_dev->op_state = OP_OFFLINE; in edac_device_del_device()
H A 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()
H A Dedac_pci.h51 int op_state; member
H A Dedac_device.h172 int op_state; member
H A Dedac_mc.h256 extern char *edac_op_state_to_string(int op_state);
H A 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()
1243 edac_dev->op_state = OP_RUNNING_INTERRUPT; in xgene_edac_l3_add()
1691 if (edac_dev->op_state == OP_RUNNING_INTERRUPT) { in xgene_edac_soc_hw_init()
1780 edac_dev->op_state = OP_RUNNING_INTERRUPT; in xgene_edac_soc_add()
H A Dmpc85xx_edac.c572 edac_dev->op_state = OP_RUNNING_INTERRUPT; in mpc85xx_l2_err_probe()
/linux/drivers/net/ethernet/amd/xgbe/
H A 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_bh_work()
379 struct xgbe_i2c_op_state *state = &pdata->i2c.op_state; in xgbe_i2c_xfer()
H A Dxgbe.h693 struct xgbe_i2c_op_state op_state; member
/linux/fs/smb/server/
H A Doplock.c44 opinfo->op_state = OPLOCK_STATE_NONE; in alloc_opinfo()
396 if (opinfo->op_state == OPLOCK_ACK_WAIT) { in close_id_del_oplock()
397 opinfo->op_state = OPLOCK_CLOSING; in close_id_del_oplock()
567 opinfo->op_state == OPLOCK_STATE_NONE || in wait_for_break_ack()
568 opinfo->op_state == OPLOCK_CLOSING, in wait_for_break_ack()
576 opinfo->op_state = OPLOCK_STATE_NONE; in wait_for_break_ack()
596 if (opinfo->op_state == OPLOCK_CLOSING) in oplock_break_pending()
726 if (opinfo->op_state == OPLOCK_ACK_WAIT) { in smb2_oplock_break_noti()
833 if (opinfo->op_state == OPLOCK_ACK_WAIT) { in smb2_lease_break_noti()
918 brk_opinfo->op_state = OPLOCK_ACK_WAIT; in oplock_break()
[all …]
H A Doplock.h61 int op_state; member
H A Dvfs_cache.c690 if (opinfo->op_state != OPLOCK_STATE_NONE) { in is_reconnectable()
H A Dsmb2pdu.c8385 if (opinfo->op_state == OPLOCK_STATE_NONE) { in smb20_oplock_break_ack()
8386 ksmbd_debug(SMB, "unexpected oplock state 0x%x\n", opinfo->op_state); in smb20_oplock_break_ack()
8445 opinfo->op_state = OPLOCK_STATE_NONE; in smb20_oplock_break_ack()
8461 opinfo->op_state = OPLOCK_STATE_NONE; in smb20_oplock_break_ack()
8515 if (opinfo->op_state == OPLOCK_STATE_NONE) { in smb21_lease_break_ack()
8517 opinfo->op_state); in smb21_lease_break_ack()
8596 opinfo->op_state = OPLOCK_STATE_NONE; in smb21_lease_break_ack()
/linux/fs/ocfs2/
H A 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/arch/s390/include/asm/
H A Dfcx.h133 u32 op_state:8; member
/linux/include/linux/
H A Dedac.h606 int op_state; member
/linux/drivers/usb/dwc2/
H A 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()
3191 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_conn_id_status_change()
3220 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_conn_id_status_change()
3286 hsotg->op_state = OTG_STATE_A_SUSPEND; in dwc2_port_suspend()
3817 return hsotg->op_state == OTG_STATE_B_HOST; in dwc2_hcd_is_b_host()
[all …]
H A Dgadget.c4263 if (hsotg->op_state != OTG_STATE_B_PERIPHERAL) { in dwc2_hsotg_ep_disable()
4676 hsotg->op_state); in dwc2_hsotg_pullup()
4679 if (hsotg->op_state != OTG_STATE_B_PERIPHERAL) { in dwc2_hsotg_pullup()
4723 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_hsotg_vbus_session()
5012 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_gadget_init()