Home
last modified time | relevance | path

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

/linux/fs/orangefs/
H A Dorangefs-kernel.h110 enum orangefs_vfs_op_states op_state; member
137 #define set_op_state_waiting(op) ((op)->op_state = OP_VFS_STATE_WAITING)
138 #define set_op_state_inprogress(op) ((op)->op_state = OP_VFS_STATE_INPROGR)
139 #define set_op_state_given_up(op) ((op)->op_state = OP_VFS_STATE_GIVEN_UP)
142 op->op_state = OP_VFS_STATE_SERVICED; in set_op_state_serviced()
146 #define op_state_waiting(op) ((op)->op_state & OP_VFS_STATE_WAITING)
147 #define op_state_in_progress(op) ((op)->op_state & OP_VFS_STATE_INPROGR)
148 #define op_state_serviced(op) ((op)->op_state & OP_VFS_STATE_SERVICED)
149 #define op_state_purged(op) ((op)->op_state & OP_VFS_STATE_PURGED)
150 #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()
499 op->op_state, in orangefs_devreq_write_iter()
H A Dorangefs-mod.c224 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.c129 dev_ctl->op_state = OP_ALLOC; in edac_device_alloc_ctl_info()
276 if (edac_dev->op_state == OP_OFFLINE) { in edac_device_workq_function()
282 if ((edac_dev->op_state == OP_RUNNING_POLL) && in edac_device_workq_function()
339 edac_dev->op_state = OP_OFFLINE; in edac_device_workq_teardown()
394 edac_dev->op_state = OP_RUNNING_POLL; in edac_device_add_device()
398 edac_dev->op_state = OP_RUNNING_INTERRUPT; in edac_device_add_device()
405 edac_op_state_to_string(edac_dev->op_state)); in edac_device_add_device()
436 edac_dev->op_state = OP_OFFLINE; in edac_device_del_device()
H A Dedac_mc.c390 mci->op_state = OP_ALLOC; in edac_mc_alloc()
471 if (mci->op_state != OP_RUNNING_POLL) { in edac_mc_workq_function()
501 if (mci->op_state == OP_RUNNING_POLL) in edac_mc_reset_delay_period()
651 mci->op_state = OP_RUNNING_POLL; in edac_mc_add_mc_with_groups()
657 mci->op_state = OP_RUNNING_INTERRUPT; in edac_mc_add_mc_with_groups()
664 edac_op_state_to_string(mci->op_state)); in edac_mc_add_mc_with_groups()
696 mci->op_state = OP_OFFLINE; in edac_mc_del_mc()
H A Dedac_pci.h51 int op_state; member
H A Dxgene_edac.c789 if (edac_dev->op_state == OP_RUNNING_INTERRUPT) { in xgene_edac_pmd_hw_ctl()
962 edac_dev->op_state = OP_RUNNING_INTERRUPT; in xgene_edac_pmd_add()
1123 if (edac_dev->op_state == OP_RUNNING_INTERRUPT) { in xgene_edac_l3_hw_init()
1131 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()
1781 edac_dev->op_state = OP_RUNNING_INTERRUPT; in xgene_edac_soc_add()
H A Dmpc85xx_edac.c571 edac_dev->op_state = OP_RUNNING_INTERRUPT; in mpc85xx_l2_err_probe()
/linux/fs/smb/server/
H A Doplock.c66 if (opinfo->op_state == OPLOCK_ACK_WAIT) { in lease_break_in_progress()
98 opinfo->op_state = OPLOCK_STATE_NONE; in alloc_opinfo()
137 wake = opinfo->op_state == OPLOCK_ACK_WAIT; in lease_del_table()
139 opinfo->op_state = OPLOCK_STATE_NONE; in lease_del_table()
629 if (opinfo->op_state == OPLOCK_ACK_WAIT && opinfo->is_lease) in grant_none_oplock()
636 opinfo->op_state = OPLOCK_CLOSING; in grant_none_oplock()
829 if (opinfo->op_state != OPLOCK_CLOSING) { in oplock_break_pending()
830 opinfo->op_state = OPLOCK_ACK_WAIT; in oplock_break_pending()
846 closing = opinfo->op_state == OPLOCK_CLOSING; in lease_break_needed()
864 closing = opinfo->op_state in __smb2_oplock_break_noti()
[all...]
H A Doplock.h71 int op_state;
68 int op_state; global() member
H A Dsmb2pdu.c12477 if (opinfo->op_state != OPLOCK_ACK_WAIT) {
12479 opinfo->op_state);
12481 opinfo->op_state == OPLOCK_STATE_NONE) {
12545 opinfo->op_state = OPLOCK_STATE_NONE;
12563 if (opinfo->op_state != OPLOCK_CLOSING)
12564 opinfo->op_state = OPLOCK_STATE_NONE;
12625 if (opinfo->op_state != OPLOCK_ACK_WAIT) {
12626 if (opinfo->op_state == OPLOCK_STATE_NONE &&
12658 wake = open->op_state == OPLOCK_ACK_WAIT;
12660 open->op_state
[all...]
H A Dvfs_cache.c65 opinfo->op_state == OPLOCK_ACK_WAIT &&
70 opinfo->op_state = OPLOCK_STATE_NONE;
1793 if (opinfo->op_state != OPLOCK_STATE_NONE) { in session_fd_check()
/linux/drivers/s390/cio/
H A Dscm.c145 scmdev->attrs.oper_state = sale->op_state; in scmdev_setup()
166 scmdev->attrs.oper_state != sale->op_state; in scmdev_update()
168 scmdev->attrs.oper_state = sale->op_state; in scmdev_update()
/linux/arch/s390/include/asm/
H A Dfcx.h133 u32 op_state:8; 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()
2125 hsotg->op_state = OTG_STATE_A_HOST;
2128 hsotg->op_state = OTG_STATE_B_PERIPHERAL;
2264 dev_dbg(hsotg->dev, "Init: Port Power? op_state=%d\n", hsotg->op_state);
2265 if (hsotg->op_state == OTG_STATE_A_HOST) {
3206 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_conn_id_status_change()
3235 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_wakeup_detected()
3301 hsotg->op_state in dwc2_port_suspend()
[all...]
H A Dcore.h859 * @op_state: The operational State, during transitions (a_host=>
1064 enum usb_otg_state op_state; member
/linux/include/linux/
H A Dedac.h598 int op_state; member
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe.h632 struct xgbe_i2c_op_state op_state; member