Lines Matching refs:cur_op
165 struct orangefs_kernel_op_s *cur_op;
189 cur_op = NULL;
245 cur_op = op;
253 if (!cur_op) {
260 llu(cur_op->tag),
261 get_opname_string(cur_op));
267 if (op_state_in_progress(cur_op) || op_state_serviced(cur_op)) {
269 list_del_init(&cur_op->list);
270 spin_unlock(&cur_op->lock);
275 list_del_init(&cur_op->list);
278 spin_unlock(&cur_op->lock);
288 &cur_op->tag,
293 &cur_op->upcall,
299 spin_lock(&cur_op->lock);
300 if (unlikely(op_state_given_up(cur_op))) {
301 spin_unlock(&cur_op->lock);
303 complete(&cur_op->waitq);
311 set_op_state_inprogress(cur_op);
315 get_opname_string(cur_op),
316 cur_op->op_state,
318 orangefs_devreq_add_op(cur_op);
319 spin_unlock(&cur_op->lock);
332 spin_lock(&cur_op->lock);
333 if (likely(!op_state_given_up(cur_op))) {
334 set_op_state_waiting(cur_op);
338 get_opname_string(cur_op),
339 cur_op->op_state,
341 list_add(&cur_op->list, &orangefs_request_list);
342 spin_unlock(&cur_op->lock);
344 spin_unlock(&cur_op->lock);
345 complete(&cur_op->waitq);