Lines Matching refs:full_path
55 char *full_path;
82 full_path = kmalloc(namelen+1, GFP_KERNEL);
83 if (full_path == NULL)
84 return full_path;
85 full_path[namelen] = 0; /* trailing null */
91 full_path[namelen] = dirsep;
92 strncpy(full_path + namelen + 1, temp->d_name.name,
94 cFYI(0, "name: %s", full_path + namelen);
99 kfree(full_path);
109 kfree(full_path);
120 strncpy(full_path, cifs_sb->tcon->treeName, dfsplen);
124 if (full_path[i] == '\\')
125 full_path[i] = '/';
129 strncpy(full_path + dfsplen, CIFS_SB(direntry->d_sb)->prepath, pplen);
130 return full_path;
184 int cifs_posix_open(char *full_path, struct inode **pinode,
194 cFYI(1, "posix open %s", full_path);
228 pnetfid, presp_data, poplock, full_path,
292 char *full_path = NULL;
302 full_path = build_path_from_dentry(direntry);
303 if (full_path == NULL) {
319 rc = cifs_posix_open(full_path, &newinode,
376 rc = CIFSSMBOpen(xid, tcon, full_path, disposition,
385 rc = SMBLegacyOpen(xid, tcon, full_path, disposition,
416 CIFSSMBUnixSetPathInfo(xid, tcon, full_path, &args,
431 rc = cifs_get_inode_info_unix(&newinode, full_path,
434 rc = cifs_get_inode_info(&newinode, full_path, buf,
480 kfree(full_path);
492 char *full_path = NULL;
508 full_path = build_path_from_dentry(direntry);
509 if (full_path == NULL) {
529 rc = CIFSSMBUnixSetPathInfo(xid, pTcon, full_path, &args,
536 rc = cifs_get_inode_info_unix(&newinode, full_path,
556 kfree(full_path);
562 rc = CIFSSMBOpen(xid, pTcon, full_path, FILE_CREATE,
601 kfree(full_path);
620 char *full_path = NULL;
659 full_path = build_path_from_dentry(direntry);
660 if (full_path == NULL) {
670 cFYI(1, "Full path: %s inode = 0x%p", full_path, direntry->d_inode);
686 rc = cifs_posix_open(full_path, &newInode,
704 rc = cifs_get_inode_info_unix(&newInode, full_path,
707 rc = cifs_get_inode_info(&newInode, full_path, NULL,
757 kfree(full_path);