Lines Matching refs:rc
57 int rc; in smb2_compound_op() local
94 rc = -ENOMEM; in smb2_compound_op()
111 rc = SMB2_open_init(tcon, &rqst[num_rqst], &oplock, &oparms, in smb2_compound_op()
114 if (rc) in smb2_compound_op()
120 rc = 0; in smb2_compound_op()
130 rc = SMB2_query_info_init(tcon, &rqst[num_rqst], in smb2_compound_op()
138 rc = SMB2_query_info_init(tcon, &rqst[num_rqst], in smb2_compound_op()
145 if (!rc) { in smb2_compound_op()
151 if (rc) in smb2_compound_op()
175 rc = SMB2_set_info_init(tcon, &rqst[num_rqst], COMPOUND_FID, in smb2_compound_op()
179 if (rc) in smb2_compound_op()
193 rc = SMB2_set_info_init(tcon, &rqst[num_rqst], COMPOUND_FID, in smb2_compound_op()
197 if (rc) in smb2_compound_op()
213 rc = SMB2_set_info_init(tcon, &rqst[num_rqst], in smb2_compound_op()
219 rc = SMB2_set_info_init(tcon, &rqst[num_rqst], in smb2_compound_op()
224 if (!rc) { in smb2_compound_op()
230 if (rc) in smb2_compound_op()
254 rc = SMB2_set_info_init(tcon, &rqst[num_rqst], in smb2_compound_op()
260 rc = SMB2_set_info_init(tcon, &rqst[num_rqst], in smb2_compound_op()
264 if (!rc) { in smb2_compound_op()
269 if (rc) in smb2_compound_op()
291 rc = SMB2_set_info_init(tcon, &rqst[num_rqst], COMPOUND_FID, in smb2_compound_op()
295 if (rc) in smb2_compound_op()
303 rc = -EINVAL; in smb2_compound_op()
305 if (rc) in smb2_compound_op()
315 rc = SMB2_close_init(tcon, &rqst[num_rqst], COMPOUND_FID, in smb2_compound_op()
318 if (rc) in smb2_compound_op()
326 rc = compound_send_recv(xid, ses, flags, num_rqst - 2, in smb2_compound_op()
330 rc = compound_send_recv(xid, ses, flags, num_rqst, in smb2_compound_op()
339 if (rc == -EREMCHG) { in smb2_compound_op()
347 if (rc == 0) { in smb2_compound_op()
350 rc = smb2_validate_and_copy_iov( in smb2_compound_op()
360 if (rc) in smb2_compound_op()
362 tcon->tid, rc); in smb2_compound_op()
368 if (rc) in smb2_compound_op()
369 trace_smb3_delete_err(xid, ses->Suid, tcon->tid, rc); in smb2_compound_op()
376 if (rc) in smb2_compound_op()
377 trace_smb3_mkdir_err(xid, ses->Suid, tcon->tid, rc); in smb2_compound_op()
384 if (rc) in smb2_compound_op()
385 trace_smb3_hardlink_err(xid, ses->Suid, tcon->tid, rc); in smb2_compound_op()
391 if (rc) in smb2_compound_op()
392 trace_smb3_rename_err(xid, ses->Suid, tcon->tid, rc); in smb2_compound_op()
398 if (rc) in smb2_compound_op()
399 trace_smb3_rmdir_err(xid, ses->Suid, tcon->tid, rc); in smb2_compound_op()
405 if (rc) in smb2_compound_op()
406 trace_smb3_set_eof_err(xid, ses->Suid, tcon->tid, rc); in smb2_compound_op()
412 if (rc) in smb2_compound_op()
414 tcon->tid, rc); in smb2_compound_op()
424 return rc; in smb2_compound_op()
442 int rc; in smb2_query_path_info() local
459 rc = open_shroot(xid, tcon, &fid); in smb2_query_path_info()
460 if (rc) in smb2_query_path_info()
467 rc = SMB2_query_info(xid, tcon, fid.persistent_fid, in smb2_query_path_info()
469 if (!rc) in smb2_query_path_info()
480 rc = smb2_compound_op(xid, tcon, cifs_sb, full_path, in smb2_query_path_info()
483 if (rc == -EOPNOTSUPP) { in smb2_query_path_info()
488 rc = smb2_compound_op(xid, tcon, cifs_sb, full_path, in smb2_query_path_info()
493 if (rc) in smb2_query_path_info()
499 return rc; in smb2_query_path_info()
562 int rc; in smb2_set_path_attr() local
566 rc = -ENOMEM; in smb2_set_path_attr()
569 rc = smb2_compound_op(xid, tcon, cifs_sb, from_name, access, in smb2_set_path_attr()
574 return rc; in smb2_set_path_attr()
618 int rc; in smb2_set_file_info() local
629 rc = smb2_compound_op(xid, tlink_tcon(tlink), cifs_sb, full_path, in smb2_set_file_info()
633 return rc; in smb2_set_file_info()