Home
last modified time | relevance | path

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

/Linux-v4.19/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.c61 char *full_path; in cifs_xattr_set() local
70 full_path = build_path_from_dentry(dentry); in cifs_xattr_set()
71 if (full_path == NULL) { in cifs_xattr_set()
94 full_path, name, value, (__u16)size, in cifs_xattr_set()
113 full_path, CIFS_ACL_DACL); in cifs_xattr_set()
129 rc = CIFSSMBSetPosixACL(xid, pTcon, full_path, in cifs_xattr_set()
141 rc = CIFSSMBSetPosixACL(xid, pTcon, full_path, in cifs_xattr_set()
150 kfree(full_path); in cifs_xattr_set()
212 char *full_path; in cifs_xattr_get() local
221 full_path = build_path_from_dentry(dentry); in cifs_xattr_get()
[all …]
Dinode.c362 const unsigned char *full_path, argument
372 cifs_dbg(FYI, "Getting info on %s\n", full_path);
380 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data,
396 full_path);
725 cifs_get_inode_info(struct inode **inode, const char *full_path, argument
748 cifs_dbg(FYI, "Getting info on %s\n", full_path);
770 rc = server->ops->query_path_info(xid, tcon, cifs_sb, full_path,
795 rc = CIFSFindFirst(xid, tcon, full_path,
827 tcon, cifs_sb, full_path,
835 strlen(full_path) == 0) {
[all …]
Dsmb2inode.c42 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_open_op_close() argument
53 if ((strcmp(full_path, "") == 0) && (create_options == 0) && in smb2_open_op_close()
63 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_open_op_close()
145 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_query_path_info() argument
159 rc = smb2_open_op_close(xid, tcon, cifs_sb, full_path, in smb2_query_path_info()
165 rc = smb2_open_op_close(xid, tcon, cifs_sb, full_path, in smb2_query_path_info()
268 const char *full_path, __u64 size, in smb2_set_path_size() argument
272 return smb2_open_op_close(xid, tcon, cifs_sb, full_path, in smb2_set_path_size()
278 smb2_set_file_info(struct inode *inode, const char *full_path, in smb2_set_file_info() argument
294 rc = smb2_open_op_close(xid, tlink_tcon(tlink), cifs_sb, full_path, in smb2_set_file_info()
Dlink.c613 char *full_path = NULL; in cifs_get_link() local
633 full_path = build_path_from_dentry(direntry); in cifs_get_link()
634 if (!full_path) { in cifs_get_link()
640 cifs_dbg(FYI, "Full path: %s inode = 0x%p\n", full_path, inode); in cifs_get_link()
648 rc = query_mf_symlink(xid, tcon, cifs_sb, full_path, in cifs_get_link()
652 rc = server->ops->query_symlink(xid, tcon, full_path, in cifs_get_link()
655 kfree(full_path); in cifs_get_link()
674 char *full_path = NULL; in cifs_symlink() local
686 full_path = build_path_from_dentry(direntry); in cifs_symlink()
687 if (full_path == NULL) { in cifs_symlink()
[all …]
Dsmb1ops.c526 struct cifs_sb_info *cifs_sb, const char *full_path) in cifs_is_path_accessible() argument
535 rc = CIFSSMBQPathInfo(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
540 rc = SMBQueryInformation(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
548 struct cifs_sb_info *cifs_sb, const char *full_path, in cifs_query_path_info() argument
556 rc = CIFSSMBQPathInfo(xid, tcon, full_path, data, 0 /* not legacy */, in cifs_query_path_info()
564 rc = SMBQueryInformation(xid, tcon, full_path, data, in cifs_query_path_info()
581 oparms.path = full_path; in cifs_query_path_info()
598 struct cifs_sb_info *cifs_sb, const char *full_path, in cifs_get_srv_inum() argument
612 return CIFSGetSrvInodeNumber(xid, tcon, full_path, uniqueid, in cifs_get_srv_inum()
687 cifs_mkdir_setinfo(struct inode *inode, const char *full_path, in cifs_mkdir_setinfo() argument
[all …]
Dcifs_dfs_ref.c289 char *full_path; in cifs_dfs_do_automount() local
308 full_path = build_path_from_dentry_optional_prefix(mntpt, true); in cifs_dfs_do_automount()
309 if (full_path == NULL) in cifs_dfs_do_automount()
321 rc = get_dfs_path(xid, ses, full_path + 1, cifs_sb->local_nls, in cifs_dfs_do_automount()
341 full_path, referrals + i); in cifs_dfs_do_automount()
356 kfree(full_path); in cifs_dfs_do_automount()
Dsmb2proto.h76 const char *full_path, FILE_ALL_INFO *data,
79 const char *full_path, __u64 size,
81 extern int smb2_set_file_info(struct inode *inode, const char *full_path,
85 const char *full_path,
89 extern void smb2_mkdir_setinfo(struct inode *inode, const char *full_path,
Dconnect.c3779 char *full_path, *pos; in build_unc_path_to_root() local
3783 full_path = kmalloc(unc_len + pplen + 1, GFP_KERNEL); in build_unc_path_to_root()
3784 if (full_path == NULL) in build_unc_path_to_root()
3787 strncpy(full_path, vol->UNC, unc_len); in build_unc_path_to_root()
3788 pos = full_path + unc_len; in build_unc_path_to_root()
3797 convert_delimiter(full_path, CIFS_DIR_SEP(cifs_sb)); in build_unc_path_to_root()
3798 cifs_dbg(FYI, "%s: full_path=%s\n", __func__, full_path); in build_unc_path_to_root()
3799 return full_path; in build_unc_path_to_root()
3820 char *full_path = NULL, *ref_path = NULL, *mdata = NULL; in expand_dfs_referral() local
3822 full_path = build_unc_path_to_root(volume_info, cifs_sb); in expand_dfs_referral()
[all …]
Dreaddir.c271 char *full_path = NULL; in initiate_cifs_search() local
307 full_path = build_path_from_dentry(file_dentry(file)); in initiate_cifs_search()
308 if (full_path == NULL) { in initiate_cifs_search()
313 cifs_dbg(FYI, "Full path: %s start at: %lld\n", full_path, file->f_pos); in initiate_cifs_search()
334 rc = server->ops->query_dir_first(xid, tcon, full_path, cifs_sb, in initiate_cifs_search()
349 kfree(full_path); in initiate_cifs_search()
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
239 oparms.path = full_path; in cifs_nt_open()
249 rc = cifs_get_inode_info_unix(&inode, full_path, inode->i_sb, in cifs_nt_open()
252 rc = cifs_get_inode_info(&inode, full_path, buf, inode->i_sb, in cifs_nt_open()
462 char *full_path = NULL; in cifs_open() local
478 full_path = build_path_from_dentry(file_dentry(file)); in cifs_open()
479 if (full_path == NULL) { in cifs_open()
[all …]
Dcifsproto.h166 extern int cifs_posix_open(char *full_path, struct inode **inode,
180 extern int cifs_get_inode_info(struct inode **inode, const char *full_path,
187 unsigned int xid, char *full_path, __u32 dosattr);
188 extern int cifs_rename_pending_delete(const char *full_path,
Dcifsfs.c641 char *full_path = NULL; in cifs_get_root() local
648 full_path = cifs_build_path_to_root(vol, cifs_sb, in cifs_get_root()
650 if (full_path == NULL) in cifs_get_root()
653 cifs_dbg(FYI, "Get root dentry for %s\n", full_path); in cifs_get_root()
657 p = s = full_path; in cifs_get_root()
688 kfree(full_path); in cifs_get_root()
Dsmb2ops.c615 struct cifs_sb_info *cifs_sb, const char *full_path) in smb2_is_path_accessible() argument
623 if ((*full_path == 0) && tcon->crfid.is_valid) in smb2_is_path_accessible()
626 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_is_path_accessible()
653 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_get_srv_inum() argument
1846 const char *full_path, char **target_path, in smb2_query_symlink() argument
1863 cifs_dbg(FYI, "%s: path: %s\n", __func__, full_path); in smb2_query_symlink()
1865 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_query_symlink()
Dcifsglob.h321 const char *full_path,
Dsmb2pdu.c1951 const char *full_path, in smb311_posix_mkdir() argument
1976 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb311_posix_mkdir()
/Linux-v4.19/drivers/acpi/acpica/
Dnsnames.c198 char *full_path, u32 path_size, u8 no_trailing) in acpi_ns_build_normalized_path() argument
221 if (!full_path) { in acpi_ns_build_normalized_path()
232 ACPI_PATH_PUT8(full_path, path_size, in acpi_ns_build_normalized_path()
244 ACPI_PATH_PUT8(full_path, path_size, c, length); in acpi_ns_build_normalized_path()
251 ACPI_PATH_PUT8(full_path, path_size, AML_ROOT_PREFIX, length); in acpi_ns_build_normalized_path()
256 left = full_path; in acpi_ns_build_normalized_path()
257 right = full_path + length - 1; in acpi_ns_build_normalized_path()
269 ACPI_PATH_PUT8(full_path, path_size, '\0', length); in acpi_ns_build_normalized_path()
346 char *full_path = NULL; in acpi_ns_build_prefixed_pathname() local
370 full_path = in acpi_ns_build_prefixed_pathname()
[all …]
Duterror.c174 char *full_path; in acpi_ut_prefixed_namespace_error() local
204 full_path = in acpi_ut_prefixed_namespace_error()
208 full_path ? full_path : "Could not get pathname", in acpi_ut_prefixed_namespace_error()
211 if (full_path) { in acpi_ut_prefixed_namespace_error()
212 ACPI_FREE(full_path); in acpi_ut_prefixed_namespace_error()
Dacnamesp.h258 char *full_path, u32 path_size, u8 no_trailing);
/Linux-v4.19/tools/bpf/bpftool/
Dcommon.c549 char full_path[64]; in read_sysfs_netdev_hex_int() local
551 snprintf(full_path, sizeof(full_path), "/sys/class/net/%s/device/%s", in read_sysfs_netdev_hex_int()
554 return read_sysfs_hex_int(full_path); in read_sysfs_netdev_hex_int()
/Linux-v4.19/fs/btrfs/
Dsend.c2748 struct fs_path *full_path; member
2756 ref->full_path = path; in set_ref_path()
2757 ref->name = (char *)kbasename(ref->full_path->start); in set_ref_path()
2758 ref->name_len = ref->full_path->end - ref->name; in set_ref_path()
2792 new->full_path = NULL; in dup_ref()
2804 fs_path_free(cur->full_path); in __free_recorded_refs()
3778 fs_path_free(ref->full_path); in update_ref_path()
3915 cur->full_path); in process_recorded_refs()
3970 ret = send_unlink(sctx, cur->full_path); in process_recorded_refs()
4003 ret = send_rename(sctx, valid_path, cur->full_path); in process_recorded_refs()
[all …]
/Linux-v4.19/tools/perf/util/
Dannotate.h73 full_path, member
Dannotate.c2074 if (opts->full_path) in symbol__annotate_printf()
2461 srcline_full_filename = opts->full_path; in symbol__tty_annotate2()
2489 srcline_full_filename = opts->full_path; in symbol__tty_annotate()
/Linux-v4.19/tools/perf/
Dbuiltin-annotate.c517 OPT_BOOLEAN('P', "full-paths", &annotate.opts.full_path, in cmd_annotate()
/Linux-v4.19/Documentation/admin-guide/
Dkernel-parameters.txt1616 Format: <full_path>
3879 Format: <full_path>