Lines Matching refs:full_path
54 char *full_path = NULL;
58 full_path = kzalloc(1, GFP_KERNEL);
59 return full_path;
67 full_path = kmalloc(dfsplen + pplen + 1, GFP_KERNEL);
68 if (full_path == NULL)
69 return full_path;
72 memcpy(full_path, tcon->treeName, dfsplen);
73 full_path[dfsplen] = CIFS_DIR_SEP(cifs_sb);
74 memcpy(full_path + dfsplen + 1, vol->prepath, pplen);
75 convert_delimiter(full_path, CIFS_DIR_SEP(cifs_sb));
76 return full_path;
98 char *full_path;
128 full_path = kmalloc(namelen+1, GFP_ATOMIC);
129 if (full_path == NULL)
130 return full_path;
131 full_path[namelen] = 0; /* trailing null */
140 full_path[namelen] = dirsep;
141 strncpy(full_path + namelen + 1, temp->d_name.name,
143 cifs_dbg(FYI, "name: %s\n", full_path + namelen);
150 kfree(full_path);
161 kfree(full_path);
175 memcpy(full_path+dfsplen+1, cifs_sb->prepath, pplen-1);
176 full_path[dfsplen] = dirsep;
178 if (full_path[dfsplen+1+i] == '/')
179 full_path[dfsplen+1+i] = CIFS_DIR_SEP(cifs_sb);
183 strncpy(full_path, tcon->treeName, dfsplen);
187 if (full_path[i] == '\\')
188 full_path[i] = '/';
192 return full_path;
235 char *full_path = NULL;
246 full_path = build_path_from_dentry(direntry);
247 if (!full_path)
253 rc = cifs_posix_open(full_path, &newinode, inode->i_sb, mode,
363 oparms.path = full_path;
411 rc = cifs_get_inode_info_unix(&newinode, full_path, inode->i_sb,
415 rc = cifs_get_inode_info(&newinode, full_path, buf, inode->i_sb,
450 kfree(full_path);
621 char *full_path = NULL;
635 full_path = build_path_from_dentry(direntry);
636 if (full_path == NULL) {
642 full_path, mode,
646 kfree(full_path);
662 char *full_path = NULL;
689 full_path = build_path_from_dentry(direntry);
690 if (full_path == NULL) {
702 full_path, d_inode(direntry));
705 rc = smb311_posix_get_inode_info(&newInode, full_path, parent_dir_inode->i_sb, xid);
707 rc = cifs_get_inode_info_unix(&newInode, full_path,
710 rc = cifs_get_inode_info(&newInode, full_path, NULL,
729 kfree(full_path);