Lines Matching full:tcon
63 smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon, in smb2_compound_op() argument
76 struct cifs_ses *ses = tcon->ses; in smb2_compound_op()
95 if (smb3_encryption_required(tcon)) in smb2_compound_op()
111 vars->oparms.tcon = tcon; in smb2_compound_op()
122 rc = SMB2_open_init(tcon, server, in smb2_compound_op()
129 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
141 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op()
150 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op()
159 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
167 trace_smb3_query_info_compound_enter(xid, ses->Suid, tcon->tid, in smb2_compound_op()
175 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op()
185 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op()
194 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
202 trace_smb3_posix_query_info_compound_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
205 trace_smb3_delete_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
212 trace_smb3_mkdir_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
221 rc = SMB2_set_info_init(tcon, server, in smb2_compound_op()
228 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
230 trace_smb3_rmdir_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
239 rc = SMB2_set_info_init(tcon, server, in smb2_compound_op()
246 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
248 trace_smb3_set_eof_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
259 rc = SMB2_set_info_init(tcon, server, in smb2_compound_op()
266 rc = SMB2_set_info_init(tcon, server, in smb2_compound_op()
273 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
281 trace_smb3_set_info_compound_enter(xid, ses->Suid, tcon->tid, in smb2_compound_op()
301 rc = SMB2_set_info_init(tcon, server, in smb2_compound_op()
308 rc = SMB2_set_info_init(tcon, server, in smb2_compound_op()
314 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
321 trace_smb3_rename_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
339 rc = SMB2_set_info_init(tcon, server, in smb2_compound_op()
346 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
348 trace_smb3_hardlink_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
363 rc = SMB2_close_init(tcon, server, in smb2_compound_op()
391 pr_warn_once("server share %s deleted\n", tcon->treeName); in smb2_compound_op()
392 tcon->need_reconnect = true; in smb2_compound_op()
412 tcon->tid, rc); in smb2_compound_op()
415 tcon->tid); in smb2_compound_op()
431 trace_smb3_posix_query_info_compound_err(xid, ses->Suid, tcon->tid, rc); in smb2_compound_op()
433 trace_smb3_posix_query_info_compound_done(xid, ses->Suid, tcon->tid); in smb2_compound_op()
437 trace_smb3_delete_err(xid, ses->Suid, tcon->tid, rc); in smb2_compound_op()
439 trace_smb3_delete_done(xid, ses->Suid, tcon->tid); in smb2_compound_op()
445 trace_smb3_mkdir_err(xid, ses->Suid, tcon->tid, rc); in smb2_compound_op()
447 trace_smb3_mkdir_done(xid, ses->Suid, tcon->tid); in smb2_compound_op()
453 trace_smb3_hardlink_err(xid, ses->Suid, tcon->tid, rc); in smb2_compound_op()
455 trace_smb3_hardlink_done(xid, ses->Suid, tcon->tid); in smb2_compound_op()
460 trace_smb3_rename_err(xid, ses->Suid, tcon->tid, rc); in smb2_compound_op()
462 trace_smb3_rename_done(xid, ses->Suid, tcon->tid); in smb2_compound_op()
467 trace_smb3_rmdir_err(xid, ses->Suid, tcon->tid, rc); in smb2_compound_op()
469 trace_smb3_rmdir_done(xid, ses->Suid, tcon->tid); in smb2_compound_op()
474 trace_smb3_set_eof_err(xid, ses->Suid, tcon->tid, rc); in smb2_compound_op()
476 trace_smb3_set_eof_done(xid, ses->Suid, tcon->tid); in smb2_compound_op()
482 tcon->tid, rc); in smb2_compound_op()
485 tcon->tid); in smb2_compound_op()
507 smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_path_info() argument
514 bool no_cached_open = tcon->nohandlecache; in smb2_query_path_info()
528 rc = open_shroot(xid, tcon, cifs_sb, &cfid); in smb2_query_path_info()
532 if (tcon->crfid.file_all_info_is_valid) { in smb2_query_path_info()
534 &tcon->crfid.file_all_info); in smb2_query_path_info()
536 rc = SMB2_query_info(xid, tcon, in smb2_query_path_info()
546 cifs_get_readable_path(tcon, full_path, &cfile); in smb2_query_path_info()
547 rc = smb2_compound_op(xid, tcon, cifs_sb, full_path, in smb2_query_path_info()
555 rc = smb2_compound_op(xid, tcon, cifs_sb, full_path, in smb2_query_path_info()
571 smb311_posix_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, in smb311_posix_query_path_info() argument
596 cifs_get_readable_path(tcon, full_path, &cfile); in smb311_posix_query_path_info()
597 rc = smb2_compound_op(xid, tcon, cifs_sb, full_path, in smb311_posix_query_path_info()
606 rc = smb2_compound_op(xid, tcon, cifs_sb, full_path, in smb311_posix_query_path_info()
624 struct cifs_tcon *tcon, const char *name, in smb2_mkdir() argument
627 return smb2_compound_op(xid, tcon, cifs_sb, name, in smb2_mkdir()
635 struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon, in smb2_mkdir_setinfo() argument
648 cifs_get_writable_path(tcon, name, FIND_WR_ANY, &cfile); in smb2_mkdir_setinfo()
649 tmprc = smb2_compound_op(xid, tcon, cifs_sb, name, in smb2_mkdir_setinfo()
658 smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_rmdir() argument
661 return smb2_compound_op(xid, tcon, cifs_sb, name, DELETE, FILE_OPEN, in smb2_rmdir()
667 smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_unlink() argument
670 return smb2_compound_op(xid, tcon, cifs_sb, name, DELETE, FILE_OPEN, in smb2_unlink()
676 smb2_set_path_attr(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_path_attr() argument
689 rc = smb2_compound_op(xid, tcon, cifs_sb, from_name, access, in smb2_set_path_attr()
698 smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon, in smb2_rename_path() argument
704 cifs_get_writable_path(tcon, from_name, FIND_WR_WITH_DELETE, &cfile); in smb2_rename_path()
706 return smb2_set_path_attr(xid, tcon, from_name, to_name, in smb2_rename_path()
711 smb2_create_hardlink(const unsigned int xid, struct cifs_tcon *tcon, in smb2_create_hardlink() argument
715 return smb2_set_path_attr(xid, tcon, from_name, to_name, cifs_sb, in smb2_create_hardlink()
721 smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_path_size() argument
727 return smb2_compound_op(xid, tcon, cifs_sb, full_path, in smb2_set_path_size()