Lines Matching defs:tlink
203 struct tcon_link *tlink, unsigned int oflags,
212 struct cifs_tcon *tcon = tlink_tcon(tlink);
490 unsigned int xid, struct tcon_link *tlink,
505 tlink, oflags, mode, oplock,
529 struct tcon_link *tlink;
568 tlink = cifs_sb_tlink(cifs_sb);
569 if (IS_ERR(tlink)) {
570 rc = PTR_ERR(tlink);
574 tcon = tlink_tcon(tlink);
585 cifs_add_pending_open(&fid, tlink, &open);
587 rc = cifs_do_create(dir, direntry, xid, tlink, oflags, mode,
621 file_info = cifs_new_fileinfo(&fid, file, tlink, oplock, buf.symlink_target);
634 cifs_put_tlink(tlink);
661 struct tcon_link *tlink;
677 tlink = cifs_sb_tlink(cifs_sb);
678 rc = PTR_ERR(tlink);
679 if (IS_ERR(tlink))
682 tcon = tlink_tcon(tlink);
688 rc = cifs_do_create(dir, direntry, xid, tlink, oflags,
697 cifs_put_tlink(tlink);
709 struct tcon_link *tlink;
721 tlink = cifs_sb_tlink(cifs_sb);
722 if (IS_ERR(tlink))
723 return PTR_ERR(tlink);
726 tcon = tlink_tcon(tlink);
749 cifs_put_tlink(tlink);
760 struct tcon_link *tlink;
776 tlink = cifs_sb_tlink(cifs_sb);
777 if (IS_ERR(tlink)) {
778 de = ERR_CAST(tlink);
781 pTcon = tlink_tcon(tlink);
866 cifs_put_tlink(tlink);
1079 struct tcon_link *tlink;
1091 tlink = cifs_sb_tlink(cifs_sb);
1092 if (IS_ERR(tlink))
1093 return PTR_ERR(tlink);
1094 tcon = tlink_tcon(tlink);
1107 cifs_add_pending_open(&fid, tlink, &open);
1122 rc = __cifs_do_create(dir, dentry, path, xid, tlink, oflags,
1157 cfile = cifs_new_fileinfo(&fid, file, tlink, oplock, NULL);
1170 cifs_put_tlink(tlink);