• Home
  • Raw
  • Download

Lines Matching refs:op

158 #define set_op_state_waiting(op)     ((op)->op_state = OP_VFS_STATE_WAITING)  argument
159 #define set_op_state_inprogress(op) ((op)->op_state = OP_VFS_STATE_INPROGR) argument
160 #define set_op_state_given_up(op) ((op)->op_state = OP_VFS_STATE_GIVEN_UP) argument
161 static inline void set_op_state_serviced(struct orangefs_kernel_op_s *op) in set_op_state_serviced() argument
163 op->op_state = OP_VFS_STATE_SERVICED; in set_op_state_serviced()
164 complete(&op->waitq); in set_op_state_serviced()
167 #define op_state_waiting(op) ((op)->op_state & OP_VFS_STATE_WAITING) argument
168 #define op_state_in_progress(op) ((op)->op_state & OP_VFS_STATE_INPROGR) argument
169 #define op_state_serviced(op) ((op)->op_state & OP_VFS_STATE_SERVICED) argument
170 #define op_state_purged(op) ((op)->op_state & OP_VFS_STATE_PURGED) argument
171 #define op_state_given_up(op) ((op)->op_state & OP_VFS_STATE_GIVEN_UP) argument
172 #define op_is_cancel(op) ((op)->upcall.type == ORANGEFS_VFS_OP_CANCEL) argument
174 void op_release(struct orangefs_kernel_op_s *op);
177 static inline void put_cancel(struct orangefs_kernel_op_s *op) in put_cancel() argument
179 orangefs_bufmap_put(op->slot_to_free); in put_cancel()
180 op_release(op); in put_cancel()
183 static inline void set_op_state_purged(struct orangefs_kernel_op_s *op) in set_op_state_purged() argument
185 spin_lock(&op->lock); in set_op_state_purged()
186 if (unlikely(op_is_cancel(op))) { in set_op_state_purged()
187 list_del_init(&op->list); in set_op_state_purged()
188 spin_unlock(&op->lock); in set_op_state_purged()
189 put_cancel(op); in set_op_state_purged()
191 op->op_state |= OP_VFS_STATE_PURGED; in set_op_state_purged()
192 complete(&op->waitq); in set_op_state_purged()
193 spin_unlock(&op->lock); in set_op_state_purged()
274 struct orangefs_kernel_op_s *op; member
399 void orangefs_new_tag(struct orangefs_kernel_op_s *op);
489 __s32 fsid_of_op(struct orangefs_kernel_op_s *op);
514 bool orangefs_cancel_op_in_progress(struct orangefs_kernel_op_s *op);
554 int service_operation(struct orangefs_kernel_op_s *op,