Home
last modified time | relevance | path

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

/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.c224 op->op_state, in purge_inprogress_ops()
/fs/ksmbd/
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
Dsmb2pdu.c8032 if (opinfo->op_state == OPLOCK_STATE_NONE) { in smb20_oplock_break_ack()
8033 ksmbd_debug(SMB, "unexpected oplock state 0x%x\n", opinfo->op_state); in smb20_oplock_break_ack()
8092 opinfo->op_state = OPLOCK_STATE_NONE; in smb20_oplock_break_ack()
8108 opinfo->op_state = OPLOCK_STATE_NONE; in smb20_oplock_break_ack()
8162 if (opinfo->op_state == OPLOCK_STATE_NONE) { in smb21_lease_break_ack()
8164 opinfo->op_state); in smb21_lease_break_ack()
8243 opinfo->op_state = OPLOCK_STATE_NONE; in smb21_lease_break_ack()
/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()