Lines Matching refs:new_op
46 char *get_opname_string(struct orangefs_kernel_op_s *new_op)
48 if (new_op) {
49 __s32 type = new_op->upcall.type;
118 struct orangefs_kernel_op_s *new_op = NULL;
120 new_op = kmem_cache_zalloc(op_cache, GFP_KERNEL);
121 if (new_op) {
122 INIT_LIST_HEAD(&new_op->list);
123 spin_lock_init(&new_op->lock);
124 init_completion(&new_op->waitq);
126 new_op->upcall.type = ORANGEFS_VFS_OP_INVALID;
127 new_op->downcall.type = ORANGEFS_VFS_OP_INVALID;
128 new_op->downcall.status = -1;
130 new_op->op_state = OP_VFS_STATE_UNKNOWN;
133 orangefs_new_tag(new_op);
134 new_op->upcall.type = type;
135 new_op->attempts = 0;
138 new_op,
139 llu(new_op->tag),
140 get_opname_string(new_op));
142 new_op->upcall.uid = from_kuid(&init_user_ns,
145 new_op->upcall.gid = from_kgid(&init_user_ns,
150 return new_op;