Home
last modified time | relevance | path

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

12

/Linux-v5.4/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 memcpy(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 memcpy(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()
112 full_path, CIFS_ACL_DACL); in cifs_xattr_set()
127 rc = CIFSSMBSetPosixACL(xid, pTcon, full_path, in cifs_xattr_set()
139 rc = CIFSSMBSetPosixACL(xid, pTcon, full_path, in cifs_xattr_set()
148 kfree(full_path); in cifs_xattr_set()
210 char *full_path; in cifs_xattr_get() local
219 full_path = build_path_from_dentry(dentry); in cifs_xattr_get()
[all …]
Dinode.c366 const unsigned char *full_path, argument
376 cifs_dbg(FYI, "Getting info on %s\n", full_path);
384 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data,
400 full_path);
731 cifs_get_inode_info(struct inode **inode, const char *full_path, argument
753 cifs_dbg(FYI, "Getting info on %s\n", full_path);
775 rc = server->ops->query_path_info(xid, tcon, cifs_sb, full_path,
816 rc = CIFSFindFirst(xid, tcon, full_path,
845 tcon, cifs_sb, full_path,
853 strlen(full_path) == 0) {
[all …]
Dsmb2inode.c52 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_compound_op() argument
92 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_compound_op()
155 full_path); in smb2_compound_op()
158 trace_smb3_delete_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
165 trace_smb3_mkdir_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
183 trace_smb3_rmdir_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
201 trace_smb3_set_eof_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
234 full_path); in smb2_compound_op()
272 trace_smb3_rename_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
299 trace_smb3_hardlink_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
[all …]
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()
658 rc = server->ops->query_symlink(xid, tcon, cifs_sb, full_path, in cifs_get_link()
662 kfree(full_path); in cifs_get_link()
681 char *full_path = NULL; in cifs_symlink() local
693 full_path = build_path_from_dentry(direntry); in cifs_symlink()
694 if (full_path == NULL) { in cifs_symlink()
[all …]
Dcifs_dfs_ref.c300 char *full_path, *root_path; in cifs_dfs_do_automount() local
324 full_path = build_path_from_dentry_optional_prefix(mntpt, true); in cifs_dfs_do_automount()
325 if (full_path == NULL) in cifs_dfs_do_automount()
328 cifs_dbg(FYI, "%s: full_path: %s\n", __func__, full_path); in cifs_dfs_do_automount()
359 cifs_remap(cifs_sb), full_path + 1, in cifs_dfs_do_automount()
383 mnt = cifs_dfs_do_refmount(mntpt, cifs_sb, full_path, &referral); in cifs_dfs_do_automount()
392 kfree(full_path); in cifs_dfs_do_automount()
Dsmb1ops.c517 struct cifs_sb_info *cifs_sb, const char *full_path) in cifs_is_path_accessible() argument
526 rc = CIFSSMBQPathInfo(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
531 rc = SMBQueryInformation(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
539 struct cifs_sb_info *cifs_sb, const char *full_path, in cifs_query_path_info() argument
547 rc = CIFSSMBQPathInfo(xid, tcon, full_path, data, 0 /* not legacy */, in cifs_query_path_info()
555 rc = SMBQueryInformation(xid, tcon, full_path, data, in cifs_query_path_info()
572 oparms.path = full_path; in cifs_query_path_info()
589 struct cifs_sb_info *cifs_sb, const char *full_path, in cifs_get_srv_inum() argument
603 return CIFSGetSrvInodeNumber(xid, tcon, full_path, uniqueid, in cifs_get_srv_inum()
678 cifs_mkdir_setinfo(struct inode *inode, const char *full_path, in cifs_mkdir_setinfo() argument
[all …]
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,
90 extern void smb2_mkdir_setinfo(struct inode *inode, const char *full_path,
Dconnect.c4329 char *full_path, *pos; in build_unc_path_to_root() local
4337 full_path = kmalloc(unc_len + pplen + 1, GFP_KERNEL); in build_unc_path_to_root()
4338 if (full_path == NULL) in build_unc_path_to_root()
4341 memcpy(full_path, vol->UNC, unc_len); in build_unc_path_to_root()
4342 pos = full_path + unc_len; in build_unc_path_to_root()
4351 convert_delimiter(full_path, CIFS_DIR_SEP(cifs_sb)); in build_unc_path_to_root()
4352 cifs_dbg(FYI, "%s: full_path=%s\n", __func__, full_path); in build_unc_path_to_root()
4353 return full_path; in build_unc_path_to_root()
4374 char *full_path = NULL, *ref_path = NULL, *mdata = NULL; in expand_dfs_referral() local
4379 full_path = build_unc_path_to_root(volume_info, cifs_sb, true); in expand_dfs_referral()
[all …]
Dfile.c114 int cifs_posix_open(char *full_path, struct inode **pinode, in cifs_posix_open() argument
126 cifs_dbg(FYI, "posix open %s\n", full_path); in cifs_posix_open()
143 poplock, full_path, cifs_sb->local_nls, in cifs_posix_open()
176 cifs_nt_open(char *full_path, struct inode *inode, struct cifs_sb_info *cifs_sb, in cifs_nt_open() argument
240 oparms.path = full_path; in cifs_nt_open()
250 rc = cifs_get_inode_info_unix(&inode, full_path, inode->i_sb, in cifs_nt_open()
253 rc = cifs_get_inode_info(&inode, full_path, buf, inode->i_sb, in cifs_nt_open()
501 char *full_path = NULL; in cifs_open() local
517 full_path = build_path_from_dentry(file_dentry(file)); in cifs_open()
518 if (full_path == NULL) { in cifs_open()
[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()
Dtrace.h293 const char *full_path),
294 TP_ARGS(xid, tid, sesid, full_path),
299 __string(path, full_path)
305 __assign_str(path, full_path);
317 const char *full_path), \
318 TP_ARGS(xid, tid, sesid, full_path))
Dcifsproto.h178 extern int cifs_posix_open(char *full_path, struct inode **inode,
192 extern int cifs_get_inode_info(struct inode **inode, const char *full_path,
199 unsigned int xid, char *full_path, __u32 dosattr);
200 extern int cifs_rename_pending_delete(const char *full_path,
Dcifsfs.c706 char *full_path = NULL; in cifs_get_root() local
713 full_path = cifs_build_path_to_root(vol, cifs_sb, in cifs_get_root()
715 if (full_path == NULL) in cifs_get_root()
718 cifs_dbg(FYI, "Get root dentry for %s\n", full_path); in cifs_get_root()
722 p = s = full_path; in cifs_get_root()
753 kfree(full_path); in cifs_get_root()
Dsmb2ops.c868 struct cifs_sb_info *cifs_sb, const char *full_path) in smb2_is_path_accessible() argument
876 if ((*full_path == 0) && tcon->crfid.is_valid) in smb2_is_path_accessible()
879 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_is_path_accessible()
906 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_get_srv_inum() argument
2568 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_query_symlink() argument
2595 cifs_dbg(FYI, "%s: path: %s\n", __func__, full_path); in smb2_query_symlink()
2606 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_query_symlink()
4344 char *full_path, umode_t mode, dev_t dev) in smb2_make_node() argument
4392 oparms.path = full_path; in smb2_make_node()
Dcifsglob.h332 const char *full_path,
495 char *full_path,
Dsmb2pdu.c2241 const char *full_path, in smb311_posix_mkdir() argument
2265 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb311_posix_mkdir()
/Linux-v5.4/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.h257 char *full_path, u32 path_size, u8 no_trailing);
/Linux-v5.4/tools/bpf/bpftool/
Dcommon.c504 char full_path[64]; in read_sysfs_netdev_hex_int() local
506 snprintf(full_path, sizeof(full_path), "/sys/class/net/%s/device/%s", in read_sysfs_netdev_hex_int()
509 return read_sysfs_hex_int(full_path); in read_sysfs_netdev_hex_int()
/Linux-v5.4/fs/btrfs/
Dsend.c2741 struct fs_path *full_path; member
2749 ref->full_path = path; in set_ref_path()
2750 ref->name = (char *)kbasename(ref->full_path->start); in set_ref_path()
2751 ref->name_len = ref->full_path->end - ref->name; in set_ref_path()
2785 new->full_path = NULL; in dup_ref()
2797 fs_path_free(cur->full_path); in __free_recorded_refs()
3776 fs_path_free(ref->full_path); in update_ref_path()
3913 cur->full_path); in process_recorded_refs()
3968 ret = send_unlink(sctx, cur->full_path); in process_recorded_refs()
4001 ret = send_rename(sctx, valid_path, cur->full_path); in process_recorded_refs()
[all …]
/Linux-v5.4/tools/perf/util/
Dannotate.h82 full_path, member
Dannotate.c2290 if (opts->full_path) in symbol__annotate_printf()
2695 srcline_full_filename = opts->full_path; in symbol__tty_annotate2()
2723 srcline_full_filename = opts->full_path; in symbol__tty_annotate()
/Linux-v5.4/tools/perf/
Dbuiltin-annotate.c521 OPT_BOOLEAN('P', "full-paths", &annotate.opts.full_path, in cmd_annotate()

12