Home
last modified time | relevance | path

Searched refs:full_path (Results 1 – 18 of 18) sorted by relevance

/linux-4.4.14/fs/cifs/
Ddir.c54 char *full_path = NULL; in cifs_build_path_to_root() local
58 full_path = kzalloc(1, GFP_KERNEL); in cifs_build_path_to_root()
59 return full_path; in cifs_build_path_to_root()
67 full_path = kmalloc(dfsplen + pplen + 1, GFP_KERNEL); in cifs_build_path_to_root()
68 if (full_path == NULL) in cifs_build_path_to_root()
69 return full_path; in cifs_build_path_to_root()
72 strncpy(full_path, tcon->treeName, dfsplen); in cifs_build_path_to_root()
73 full_path[dfsplen] = CIFS_DIR_SEP(cifs_sb); in cifs_build_path_to_root()
74 strncpy(full_path + dfsplen + 1, vol->prepath, pplen); in cifs_build_path_to_root()
75 convert_delimiter(full_path, CIFS_DIR_SEP(cifs_sb)); in cifs_build_path_to_root()
[all …]
Dxattr.c49 char *full_path = NULL; in cifs_removexattr() local
67 full_path = build_path_from_dentry(direntry); in cifs_removexattr()
68 if (full_path == NULL) { in cifs_removexattr()
89 full_path, ea_name, NULL, (__u16)0, in cifs_removexattr()
93 kfree(full_path); in cifs_removexattr()
110 char *full_path; in cifs_setxattr() local
128 full_path = build_path_from_dentry(direntry); in cifs_setxattr()
129 if (full_path == NULL) { in cifs_setxattr()
157 full_path, ea_name, ea_value, (__u16)value_size, in cifs_setxattr()
167 full_path, ea_name, ea_value, (__u16)value_size, in cifs_setxattr()
[all …]
Dinode.c357 const unsigned char *full_path, argument
367 cifs_dbg(FYI, "Getting info on %s\n", full_path);
375 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data,
391 full_path);
705 cifs_get_inode_info(struct inode **inode, const char *full_path, argument
728 cifs_dbg(FYI, "Getting info on %s\n", full_path);
749 rc = server->ops->query_path_info(xid, tcon, cifs_sb, full_path,
774 rc = CIFSFindFirst(xid, tcon, full_path,
806 tcon, cifs_sb, full_path,
823 tmprc = cifs_sfu_type(&fattr, full_path, cifs_sb, xid);
[all …]
Dsmb2inode.c42 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_open_op_close() argument
52 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_open_op_close()
129 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_query_path_info() argument
143 rc = smb2_open_op_close(xid, tcon, cifs_sb, full_path, in smb2_query_path_info()
149 rc = smb2_open_op_close(xid, tcon, cifs_sb, full_path, in smb2_query_path_info()
252 const char *full_path, __u64 size, in smb2_set_path_size() argument
256 return smb2_open_op_close(xid, tcon, cifs_sb, full_path, in smb2_set_path_size()
262 smb2_set_file_info(struct inode *inode, const char *full_path, in smb2_set_file_info() argument
272 rc = smb2_open_op_close(xid, tlink_tcon(tlink), cifs_sb, full_path, in smb2_set_file_info()
Dlink.c635 char *full_path = NULL; in cifs_follow_link() local
652 full_path = build_path_from_dentry(direntry); in cifs_follow_link()
653 if (!full_path) { in cifs_follow_link()
659 cifs_dbg(FYI, "Full path: %s inode = 0x%p\n", full_path, inode); in cifs_follow_link()
667 rc = query_mf_symlink(xid, tcon, cifs_sb, full_path, in cifs_follow_link()
671 rc = server->ops->query_symlink(xid, tcon, full_path, in cifs_follow_link()
674 kfree(full_path); in cifs_follow_link()
692 char *full_path = NULL; in cifs_symlink() local
704 full_path = build_path_from_dentry(direntry); in cifs_symlink()
705 if (full_path == NULL) { in cifs_symlink()
[all …]
Dsmb1ops.c523 struct cifs_sb_info *cifs_sb, const char *full_path) in cifs_is_path_accessible() argument
532 rc = CIFSSMBQPathInfo(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
537 rc = SMBQueryInformation(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
545 struct cifs_sb_info *cifs_sb, const char *full_path, in cifs_query_path_info() argument
553 rc = CIFSSMBQPathInfo(xid, tcon, full_path, data, 0 /* not legacy */, in cifs_query_path_info()
561 rc = SMBQueryInformation(xid, tcon, full_path, data, in cifs_query_path_info()
578 oparms.path = full_path; in cifs_query_path_info()
595 struct cifs_sb_info *cifs_sb, const char *full_path, in cifs_get_srv_inum() argument
609 return CIFSGetSrvInodeNumber(xid, tcon, full_path, uniqueid, in cifs_get_srv_inum()
688 cifs_mkdir_setinfo(struct inode *inode, const char *full_path, in cifs_mkdir_setinfo() argument
[all …]
Dcifs_dfs_ref.c284 char *full_path; in cifs_dfs_do_automount() local
301 full_path = build_path_from_dentry(mntpt); in cifs_dfs_do_automount()
302 if (full_path == NULL) in cifs_dfs_do_automount()
314 rc = get_dfs_path(xid, ses, full_path + 1, cifs_sb->local_nls, in cifs_dfs_do_automount()
334 full_path, referrals + i); in cifs_dfs_do_automount()
349 kfree(full_path); in cifs_dfs_do_automount()
Dsmb2proto.h63 const char *full_path, FILE_ALL_INFO *data,
66 const char *full_path, __u64 size,
68 extern int smb2_set_file_info(struct inode *inode, const char *full_path,
72 extern void smb2_mkdir_setinfo(struct inode *inode, const char *full_path,
Dreaddir.c268 char *full_path = NULL; in initiate_cifs_search() local
303 full_path = build_path_from_dentry(file->f_path.dentry); in initiate_cifs_search()
304 if (full_path == NULL) { in initiate_cifs_search()
309 cifs_dbg(FYI, "Full path: %s start at: %lld\n", full_path, file->f_pos); in initiate_cifs_search()
330 rc = server->ops->query_dir_first(xid, tcon, full_path, cifs_sb, in initiate_cifs_search()
345 kfree(full_path); in initiate_cifs_search()
Dconnect.c3381 char *full_path, *pos; in build_unc_path_to_root() local
3385 full_path = kmalloc(unc_len + pplen + 1, GFP_KERNEL); in build_unc_path_to_root()
3386 if (full_path == NULL) in build_unc_path_to_root()
3389 strncpy(full_path, vol->UNC, unc_len); in build_unc_path_to_root()
3390 pos = full_path + unc_len; in build_unc_path_to_root()
3399 convert_delimiter(full_path, CIFS_DIR_SEP(cifs_sb)); in build_unc_path_to_root()
3400 cifs_dbg(FYI, "%s: full_path=%s\n", __func__, full_path); in build_unc_path_to_root()
3401 return full_path; in build_unc_path_to_root()
3422 char *full_path = NULL, *ref_path = NULL, *mdata = NULL; in expand_dfs_referral() local
3424 full_path = build_unc_path_to_root(volume_info, cifs_sb); in expand_dfs_referral()
[all …]
Dfile.c113 int cifs_posix_open(char *full_path, struct inode **pinode, in cifs_posix_open() argument
125 cifs_dbg(FYI, "posix open %s\n", full_path); in cifs_posix_open()
142 poplock, full_path, cifs_sb->local_nls, in cifs_posix_open()
175 cifs_nt_open(char *full_path, struct inode *inode, struct cifs_sb_info *cifs_sb, in cifs_nt_open() argument
232 oparms.path = full_path; in cifs_nt_open()
242 rc = cifs_get_inode_info_unix(&inode, full_path, inode->i_sb, in cifs_nt_open()
245 rc = cifs_get_inode_info(&inode, full_path, buf, inode->i_sb, in cifs_nt_open()
448 char *full_path = NULL; in cifs_open() local
464 full_path = build_path_from_dentry(file->f_path.dentry); in cifs_open()
465 if (full_path == NULL) { in cifs_open()
[all …]
Dcifsproto.h145 extern int cifs_posix_open(char *full_path, struct inode **inode,
159 extern int cifs_get_inode_info(struct inode **inode, const char *full_path,
166 unsigned int xid, char *full_path, __u32 dosattr);
167 extern int cifs_rename_pending_delete(const char *full_path,
Dcifsfs.c603 char *full_path = NULL; in cifs_get_root() local
607 full_path = cifs_build_path_to_root(vol, cifs_sb, in cifs_get_root()
609 if (full_path == NULL) in cifs_get_root()
612 cifs_dbg(FYI, "Get root dentry for %s\n", full_path); in cifs_get_root()
616 p = s = full_path; in cifs_get_root()
649 kfree(full_path); in cifs_get_root()
Dsmb2ops.c354 struct cifs_sb_info *cifs_sb, const char *full_path) in smb2_is_path_accessible() argument
362 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_is_path_accessible()
386 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_get_srv_inum() argument
1044 const char *full_path, char **target_path, in smb2_query_symlink() argument
1056 cifs_dbg(FYI, "%s: path: %s\n", __func__, full_path); in smb2_query_symlink()
1058 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_query_symlink()
/linux-4.4.14/drivers/acpi/acpica/
Dnsnames.c183 char *full_path, u32 path_size, u8 no_trailing) in acpi_ns_build_normalized_path() argument
206 if (!full_path) { in acpi_ns_build_normalized_path()
217 ACPI_PATH_PUT8(full_path, path_size, in acpi_ns_build_normalized_path()
228 ACPI_PATH_PUT8(full_path, path_size, c, length); in acpi_ns_build_normalized_path()
233 ACPI_PATH_PUT8(full_path, path_size, AML_ROOT_PREFIX, length); in acpi_ns_build_normalized_path()
238 left = full_path; in acpi_ns_build_normalized_path()
239 right = full_path + length - 1; in acpi_ns_build_normalized_path()
250 ACPI_PATH_PUT8(full_path, path_size, '\0', length); in acpi_ns_build_normalized_path()
Dacnamesp.h275 char *full_path, u32 path_size, u8 no_trailing);
/linux-4.4.14/fs/btrfs/
Dsend.c2716 struct fs_path *full_path; member
2739 ref->full_path = path; in __record_ref()
2741 ref->name = (char *)kbasename(ref->full_path->start); in __record_ref()
2742 ref->name_len = ref->full_path->end - ref->name; in __record_ref()
2743 ref->dir_path = ref->full_path->start; in __record_ref()
2744 if (ref->name == ref->full_path->start) in __record_ref()
2747 ref->dir_path_len = ref->full_path->end - in __record_ref()
2748 ref->full_path->start - 1 - ref->name_len; in __record_ref()
2764 new->full_path = NULL; in dup_ref()
2776 fs_path_free(cur->full_path); in __free_recorded_refs()
[all …]
/linux-4.4.14/Documentation/
Dkernel-parameters.txt1506 Format: <full_path>
3327 Format: <full_path>