Lines Matching refs:full_path

55 	char *full_path;  in build_path_from_dentry()  local
82 full_path = kmalloc(namelen+1, GFP_KERNEL); in build_path_from_dentry()
83 if (full_path == NULL) in build_path_from_dentry()
84 return full_path; in build_path_from_dentry()
85 full_path[namelen] = 0; /* trailing null */ in build_path_from_dentry()
91 full_path[namelen] = dirsep; in build_path_from_dentry()
92 strncpy(full_path + namelen + 1, temp->d_name.name, in build_path_from_dentry()
94 cFYI(0, "name: %s", full_path + namelen); in build_path_from_dentry()
99 kfree(full_path); in build_path_from_dentry()
109 kfree(full_path); in build_path_from_dentry()
120 strncpy(full_path, tcon->treeName, dfsplen); in build_path_from_dentry()
124 if (full_path[i] == '\\') in build_path_from_dentry()
125 full_path[i] = '/'; in build_path_from_dentry()
129 strncpy(full_path + dfsplen, CIFS_SB(direntry->d_sb)->prepath, pplen); in build_path_from_dentry()
130 return full_path; in build_path_from_dentry()
156 char *full_path = NULL; in cifs_create() local
179 full_path = build_path_from_dentry(direntry); in cifs_create()
180 if (full_path == NULL) { in cifs_create()
188 rc = cifs_posix_open(full_path, &newinode, in cifs_create()
245 rc = CIFSSMBOpen(xid, tcon, full_path, disposition, in cifs_create()
254 rc = SMBLegacyOpen(xid, tcon, full_path, disposition, in cifs_create()
298 rc = cifs_get_inode_info_unix(&newinode, full_path, in cifs_create()
301 rc = cifs_get_inode_info(&newinode, full_path, buf, in cifs_create()
346 kfree(full_path); in cifs_create()
360 char *full_path = NULL; in cifs_mknod() local
380 full_path = build_path_from_dentry(direntry); in cifs_mknod()
381 if (full_path == NULL) { in cifs_mknod()
401 rc = CIFSSMBUnixSetPathInfo(xid, pTcon, full_path, &args, in cifs_mknod()
408 rc = cifs_get_inode_info_unix(&newinode, full_path, in cifs_mknod()
424 kfree(full_path); in cifs_mknod()
431 rc = CIFSSMBOpen(xid, pTcon, full_path, FILE_CREATE, in cifs_mknod()
471 kfree(full_path); in cifs_mknod()
492 char *full_path = NULL; in cifs_lookup() local
537 full_path = build_path_from_dentry(direntry); in cifs_lookup()
538 if (full_path == NULL) { in cifs_lookup()
548 cFYI(1, "Full path: %s inode = 0x%p", full_path, direntry->d_inode); in cifs_lookup()
564 rc = cifs_posix_open(full_path, &newInode, in cifs_lookup()
582 rc = cifs_get_inode_info_unix(&newInode, full_path, in cifs_lookup()
585 rc = cifs_get_inode_info(&newInode, full_path, NULL, in cifs_lookup()
625 kfree(full_path); in cifs_lookup()