Lines Matching refs:full_path
246 const unsigned char *full_path, struct super_block *sb, int xid) argument
259 cFYI(1, ("Getting info on %s", full_path));
262 rc = CIFSSMBUnixQPathInfo(xid, pTcon, full_path, &find_data,
441 const unsigned char *full_path, FILE_ALL_INFO *pfindData, argument
456 cFYI(1, ("Getting info on %s", full_path));
473 rc = CIFSSMBQPathInfo(xid, pTcon, full_path, pfindData,
481 rc = SMBQueryInformation(xid, pTcon, full_path,
521 full_path, pinum,
599 full_path, cifs_sb, xid))
630 acl_to_uid_mode(inode, full_path, pfid);
635 get_sfu_mode(inode, full_path, cifs_sb, xid);
662 char *full_path = NULL; local
666 full_path = kmalloc(1, GFP_KERNEL);
667 if (full_path)
668 full_path[0] = 0;
669 return full_path;
677 full_path = kmalloc(dfsplen + pplen + 1, GFP_KERNEL);
678 if (full_path == NULL)
679 return full_path;
682 strncpy(full_path, cifs_sb->tcon->treeName, dfsplen);
689 if (full_path[i] == '\\')
690 full_path[i] = '/';
694 strncpy(full_path + dfsplen, cifs_sb->prepath, pplen);
695 full_path[dfsplen + pplen] = 0; /* add trailing null */
696 return full_path;
706 char *full_path; local
715 full_path = cifs_build_path_to_root(cifs_sb);
716 if (full_path == NULL)
721 rc = cifs_get_inode_info_unix(&inode, full_path, inode->i_sb,
724 rc = cifs_get_inode_info(&inode, full_path, NULL, inode->i_sb,
735 kfree(full_path);
743 kfree(full_path);
753 char *full_path, __u32 dosattr) argument
811 rc = CIFSSMBSetPathInfo(xid, pTcon, full_path,
824 rc = CIFSSMBOpen(xid, pTcon, full_path, FILE_OPEN,
858 cifs_rename_pending_delete(char *full_path, struct dentry *dentry, int xid) argument
870 rc = CIFSSMBOpen(xid, tcon, full_path, FILE_OPEN,
964 char *full_path = NULL; local
979 full_path = build_path_from_dentry(dentry);
980 if (full_path == NULL) {
988 rc = CIFSPOSIXDelFile(xid, tcon, full_path,
997 rc = CIFSSMBDelFile(xid, tcon, full_path, cifs_sb->local_nls,
1007 rc = cifs_rename_pending_delete(full_path, dentry, xid);
1026 rc = cifs_set_file_info(inode, attrs, xid, full_path, dosattr);
1035 cifs_set_file_info(inode, attrs, xid, full_path, origattr);
1048 kfree(full_path);
1098 char *full_path = NULL; local
1108 full_path = build_path_from_dentry(direntry);
1109 if (full_path == NULL) {
1128 full_path, cifs_sb->local_nls,
1179 rc = CIFSSMBMkDir(xid, pTcon, full_path, cifs_sb->local_nls,
1188 rc = cifs_get_inode_info_unix(&newinode, full_path,
1191 rc = cifs_get_inode_info(&newinode, full_path, NULL,
1227 CIFSSMBUnixSetInfo(xid, pTcon, full_path, &args,
1243 full_path, &pInfo,
1271 kfree(full_path);
1282 char *full_path = NULL; local
1292 full_path = build_path_from_dentry(direntry);
1293 if (full_path == NULL) {
1298 rc = CIFSSMBRmDir(xid, pTcon, full_path, cifs_sb->local_nls,
1320 kfree(full_path);
1471 char *full_path; local
1496 full_path = build_path_from_dentry(direntry);
1497 if (full_path == NULL) {
1502 "jiffies %ld", full_path, direntry->d_inode,
1512 kfree(full_path);
1525 rc = cifs_get_inode_info_unix(&direntry->d_inode, full_path,
1534 rc = cifs_get_inode_info(&direntry->d_inode, full_path, NULL,
1596 kfree(full_path);
1686 int xid, char *full_path) argument
1725 rc = CIFSSMBSetEOF(xid, pTcon, full_path, attrs->ia_size,
1734 rc = SMBLegacyOpen(xid, pTcon, full_path,
1765 char *full_path = NULL; local
1786 full_path = build_path_from_dentry(direntry);
1787 if (full_path == NULL) {
1809 rc = cifs_set_file_size(inode, attrs, xid, full_path);
1856 rc = CIFSSMBUnixSetInfo(xid, pTcon, full_path, args,
1865 kfree(full_path);
1877 char *full_path = NULL; local
1897 full_path = build_path_from_dentry(direntry);
1898 if (full_path == NULL) {
1920 rc = cifs_set_file_size(inode, attrs, xid, full_path);
1948 rc = mode_to_acl(inode, full_path, mode);
1985 rc = cifs_set_file_info(inode, attrs, xid, full_path, dosattr);
2003 kfree(full_path);