/linux-2.6.39/fs/cifs/ |
D | xattr.c | 52 struct cifsTconInfo *pTcon; in cifs_removexattr() local 68 pTcon = tlink_tcon(tlink); in cifs_removexattr() 92 rc = CIFSSMBSetEA(xid, pTcon, full_path, ea_name, NULL, in cifs_removexattr() 112 struct cifsTconInfo *pTcon; in cifs_setxattr() local 128 pTcon = tlink_tcon(tlink); in cifs_setxattr() 158 rc = CIFSSMBSetEA(xid, pTcon, full_path, ea_name, ea_value, in cifs_setxattr() 166 rc = CIFSSMBSetEA(xid, pTcon, full_path, ea_name, ea_value, in cifs_setxattr() 176 rc = CIFSSMBSetPosixACL(xid, pTcon, full_path, in cifs_setxattr() 189 rc = CIFSSMBSetPosixACL(xid, pTcon, full_path, in cifs_setxattr() 223 struct cifsTconInfo *pTcon; in cifs_getxattr() local [all …]
|
D | link.c | 294 struct cifsTconInfo *pTcon; in CIFSCheckMFSymlink() local 309 pTcon = tlink_tcon(tlink); in CIFSCheckMFSymlink() 311 rc = CIFSSMBOpen(xid, pTcon, path, FILE_OPEN, GENERIC_READ, in CIFSCheckMFSymlink() 320 CIFSSMBClose(xid, pTcon, netfid); in CIFSCheckMFSymlink() 332 rc = CIFSSMBRead(xid, pTcon, netfid, in CIFSCheckMFSymlink() 336 CIFSSMBClose(xid, pTcon, netfid); in CIFSCheckMFSymlink() 373 struct cifsTconInfo *pTcon; in cifs_hardlink() local 379 pTcon = tlink_tcon(tlink); in cifs_hardlink() 390 if (pTcon->unix_ext) in cifs_hardlink() 391 rc = CIFSUnixCreateHardLink(xid, pTcon, fromName, toName, in cifs_hardlink() [all …]
|
D | inode.c | 593 struct cifsTconInfo *pTcon; local 603 pTcon = tlink_tcon(tlink); 624 rc = CIFSSMBQPathInfo(xid, pTcon, full_path, pfindData, 632 rc = SMBQueryInformation(xid, pTcon, full_path, 671 rc1 = CIFSGetSrvInodeNumber(xid, pTcon, 946 struct cifsTconInfo *pTcon; local 989 pTcon = tlink_tcon(open_file->tlink); 999 pTcon = tlink_tcon(tlink); 1005 if (!(pTcon->ses->flags & CIFS_SES_NT4)) { 1006 rc = CIFSSMBSetPathInfo(xid, pTcon, full_path, [all …]
|
D | dir.c | 359 struct cifsTconInfo *pTcon; in cifs_mknod() local 376 pTcon = tlink_tcon(tlink); in cifs_mknod() 386 if (pTcon->unix_ext) { in cifs_mknod() 401 rc = CIFSSMBUnixSetPathInfo(xid, pTcon, full_path, &args, in cifs_mknod() 431 rc = CIFSSMBOpen(xid, pTcon, full_path, FILE_CREATE, in cifs_mknod() 448 rc = CIFSSMBWrite(xid, pTcon, in cifs_mknod() 459 rc = CIFSSMBWrite(xid, pTcon, in cifs_mknod() 465 CIFSSMBClose(xid, pTcon, fileHandle); in cifs_mknod() 489 struct cifsTconInfo *pTcon; in cifs_lookup() local 508 pTcon = tlink_tcon(tlink); in cifs_lookup() [all …]
|
D | readdir.c | 226 struct cifsTconInfo *pTcon; in initiate_cifs_search() local 240 pTcon = tlink_tcon(tlink); in initiate_cifs_search() 243 pTcon = tlink_tcon(cifsFile->tlink); in initiate_cifs_search() 261 if (pTcon->unix_ext) in initiate_cifs_search() 263 else if ((pTcon->ses->capabilities & in initiate_cifs_search() 272 rc = CIFSFindFirst(xid, pTcon, full_path, cifs_sb->local_nls, in initiate_cifs_search() 499 static int find_cifs_entry(const int xid, struct cifsTconInfo *pTcon, in find_cifs_entry() argument 535 CIFSFindClose(xid, pTcon, cifsFile->netfid); in find_cifs_entry() 560 rc = CIFSFindNext(xid, pTcon, cifsFile->netfid, in find_cifs_entry() 767 struct cifsTconInfo *pTcon; in cifs_readdir() local [all …]
|
D | file.c | 599 struct cifsTconInfo *pTcon = tlink_tcon(pCFileStruct->tlink); in cifs_closedir() local 607 rc = CIFSFindClose(xid, pTcon, pCFileStruct->netfid); in cifs_closedir() 868 struct cifsTconInfo *pTcon; in cifs_user_write() local 882 pTcon = tlink_tcon(open_file->tlink); in cifs_user_write() 912 rc = CIFSSMBWrite(xid, pTcon, in cifs_user_write() 932 cifs_stats_bytes_written(pTcon, total_written); in cifs_user_write() 957 struct cifsTconInfo *pTcon; in cifs_write() local 967 pTcon = tlink_tcon(open_file->tlink); in cifs_write() 993 rc = CIFSSMBWrite2(xid, pTcon, open_file->netfid, len, in cifs_write() 1009 cifs_stats_bytes_written(pTcon, total_written); in cifs_write() [all …]
|
D | cifsproto.h | 260 extern int CIFSSMBUnixSetPathInfo(const int xid, struct cifsTconInfo *pTcon, 285 extern int CIFSSMBRenameOpenFile(const int xid, struct cifsTconInfo *pTcon,
|
D | cifssmb.c | 87 static void mark_open_files_invalid(struct cifsTconInfo *pTcon) in mark_open_files_invalid() argument 95 list_for_each_safe(tmp, tmp1, &pTcon->openFileList) { in mark_open_files_invalid() 2032 int CIFSSMBRenameOpenFile(const int xid, struct cifsTconInfo *pTcon, in CIFSSMBRenameOpenFile() argument 2047 rc = smb_init(SMB_COM_TRANSACTION2, 15, pTcon, (void **) &pSMB, in CIFSSMBRenameOpenFile() 2097 rc = SendReceive(xid, pTcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBRenameOpenFile() 2099 cifs_stats_inc(&pTcon->num_t2renames); in CIFSSMBRenameOpenFile()
|