Home
last modified time | relevance | path

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

12

/linux-5.19.10/fs/cifs/
Dxattr.c44 struct inode *inode, const char *full_path, in cifs_attrib_set() argument
59 rc = pTcon->ses->server->ops->set_file_info(inode, full_path, in cifs_attrib_set()
68 struct inode *inode, const char *full_path, in cifs_creation_time_set() argument
83 rc = pTcon->ses->server->ops->set_file_info(inode, full_path, in cifs_creation_time_set()
103 const char *full_path; in cifs_xattr_set() local
114 full_path = build_path_from_dentry(dentry, page); in cifs_xattr_set()
115 if (IS_ERR(full_path)) { in cifs_xattr_set()
116 rc = PTR_ERR(full_path); in cifs_xattr_set()
136 rc = cifs_attrib_set(xid, pTcon, inode, full_path, in cifs_xattr_set()
144 full_path, value, size); in cifs_xattr_set()
[all …]
Ddir.c44 char *full_path = NULL; in cifs_build_path_to_root() local
48 full_path = kzalloc(1, GFP_KERNEL); in cifs_build_path_to_root()
49 return full_path; in cifs_build_path_to_root()
57 full_path = kmalloc(dfsplen + pplen + 1, GFP_KERNEL); in cifs_build_path_to_root()
58 if (full_path == NULL) in cifs_build_path_to_root()
59 return full_path; in cifs_build_path_to_root()
62 memcpy(full_path, tcon->treeName, dfsplen); in cifs_build_path_to_root()
63 full_path[dfsplen] = CIFS_DIR_SEP(cifs_sb); in cifs_build_path_to_root()
64 memcpy(full_path + dfsplen + 1, ctx->prepath, pplen); in cifs_build_path_to_root()
65 convert_delimiter(full_path, CIFS_DIR_SEP(cifs_sb)); in cifs_build_path_to_root()
[all …]
Dsmb2inode.c55 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_compound_op() argument
96 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_compound_op()
159 full_path); in smb2_compound_op()
193 trace_smb3_posix_query_info_compound_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
196 trace_smb3_delete_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
203 trace_smb3_mkdir_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
221 trace_smb3_rmdir_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
239 trace_smb3_set_eof_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
273 full_path); in smb2_compound_op()
312 trace_smb3_rename_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
[all …]
Dinode.c372 const unsigned char *full_path, argument
382 cifs_dbg(FYI, "Getting info on %s\n", full_path);
390 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data,
406 full_path);
816 const char *full_path, argument
841 rc = CIFSFindFirst(xid, tcon, full_path,
856 const char *full_path, argument
878 cifs_sb, full_path,
896 if (fattr->cf_uniqueid == 0 && strlen(full_path) == 0) {
916 const char *full_path, argument
[all …]
Dcifs_dfs_ref.c311 char *full_path; in cifs_dfs_do_automount() local
331 full_path = build_path_from_dentry_optional_prefix(mntpt, page, true); in cifs_dfs_do_automount()
332 if (IS_ERR(full_path)) { in cifs_dfs_do_automount()
333 mnt = ERR_CAST(full_path); in cifs_dfs_do_automount()
337 convert_delimiter(full_path, '\\'); in cifs_dfs_do_automount()
338 cifs_dbg(FYI, "%s: full_path: %s\n", __func__, full_path); in cifs_dfs_do_automount()
340 mnt = cifs_dfs_do_mount(mntpt, cifs_sb, full_path); in cifs_dfs_do_automount()
341 cifs_dbg(FYI, "%s: cifs_dfs_do_mount:%s , mnt:%p\n", __func__, full_path + 1, mnt); in cifs_dfs_do_automount()
Dlink.c603 const char *full_path; in cifs_get_link() local
625 full_path = build_path_from_dentry(direntry, page); in cifs_get_link()
626 if (IS_ERR(full_path)) { in cifs_get_link()
630 return ERR_CAST(full_path); in cifs_get_link()
633 cifs_dbg(FYI, "Full path: %s inode = 0x%p\n", full_path, inode); in cifs_get_link()
641 rc = query_mf_symlink(xid, tcon, cifs_sb, full_path, in cifs_get_link()
651 rc = server->ops->query_symlink(xid, tcon, cifs_sb, full_path, in cifs_get_link()
675 const char *full_path; in cifs_symlink() local
695 full_path = build_path_from_dentry(direntry, page); in cifs_symlink()
696 if (IS_ERR(full_path)) { in cifs_symlink()
[all …]
Dsmb1ops.c525 struct cifs_sb_info *cifs_sb, const char *full_path) in cifs_is_path_accessible() argument
534 rc = CIFSSMBQPathInfo(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
539 rc = SMBQueryInformation(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
547 struct cifs_sb_info *cifs_sb, const char *full_path, in cifs_query_path_info() argument
555 rc = CIFSSMBQPathInfo(xid, tcon, full_path, data, 0 /* not legacy */, in cifs_query_path_info()
563 rc = SMBQueryInformation(xid, tcon, full_path, data, in cifs_query_path_info()
580 oparms.path = full_path; in cifs_query_path_info()
597 struct cifs_sb_info *cifs_sb, const char *full_path, in cifs_get_srv_inum() argument
611 return CIFSGetSrvInodeNumber(xid, tcon, full_path, uniqueid, in cifs_get_srv_inum()
686 cifs_mkdir_setinfo(struct inode *inode, const char *full_path, in cifs_mkdir_setinfo() argument
[all …]
Dreaddir.c372 const char *full_path) in _initiate_cifs_search() argument
411 cifs_dbg(FYI, "Full path: %s start at: %lld\n", full_path, file->f_pos); in _initiate_cifs_search()
434 rc = server->ops->query_dir_first(xid, tcon, full_path, cifs_sb, in _initiate_cifs_search()
455 const char *full_path) in initiate_cifs_search() argument
460 rc = _initiate_cifs_search(xid, file, full_path); in initiate_cifs_search()
713 struct file *file, const char *full_path, in find_cifs_entry() argument
767 rc = initiate_cifs_search(xid, file, full_path); in find_cifs_entry()
1051 const char *full_path; in cifs_readdir() local
1058 full_path = build_path_from_dentry(file_dentry(file), page); in cifs_readdir()
1059 if (IS_ERR(full_path)) { in cifs_readdir()
[all …]
Dconnect.c3291 char *full_path, *pos; in build_unc_path_to_root() local
3299 full_path = kmalloc(unc_len + pplen + 1, GFP_KERNEL); in build_unc_path_to_root()
3300 if (full_path == NULL) in build_unc_path_to_root()
3303 memcpy(full_path, ctx->UNC, unc_len); in build_unc_path_to_root()
3304 pos = full_path + unc_len; in build_unc_path_to_root()
3313 convert_delimiter(full_path, CIFS_DIR_SEP(cifs_sb)); in build_unc_path_to_root()
3314 cifs_dbg(FYI, "%s: full_path=%s\n", __func__, full_path); in build_unc_path_to_root()
3315 return full_path; in build_unc_path_to_root()
3324 static int expand_dfs_referral(struct mount_ctx *mnt_ctx, const char *full_path, in expand_dfs_referral() argument
3332 mdata = cifs_compose_mount_options(cifs_sb->ctx->mount_options, full_path + 1, referral, in expand_dfs_referral()
[all …]
Dsmb2proto.h74 const char *full_path, FILE_ALL_INFO *data,
77 const char *full_path, __u64 size,
79 extern int smb2_set_file_info(struct inode *inode, const char *full_path,
83 const char *full_path,
88 extern void smb2_mkdir_setinfo(struct inode *inode, const char *full_path,
Dfile.c103 int cifs_posix_open(const char *full_path, struct inode **pinode, in cifs_posix_open() argument
115 cifs_dbg(FYI, "posix open %s\n", full_path); in cifs_posix_open()
132 poplock, full_path, cifs_sb->local_nls, in cifs_posix_open()
166 cifs_nt_open(const char *full_path, struct inode *inode, struct cifs_sb_info *cifs_sb, in cifs_nt_open() argument
227 oparms.path = full_path; in cifs_nt_open()
238 rc = cifs_get_inode_info_unix(&inode, full_path, inode->i_sb, in cifs_nt_open()
241 rc = cifs_get_inode_info(&inode, full_path, buf, inode->i_sb, in cifs_nt_open()
524 const char *full_path; in cifs_open() local
546 full_path = build_path_from_dentry(file_dentry(file), page); in cifs_open()
547 if (IS_ERR(full_path)) { in cifs_open()
[all …]
Dtrace.h339 const char *full_path),
340 TP_ARGS(xid, tid, sesid, full_path),
345 __string(path, full_path)
351 __assign_str(path, full_path);
363 const char *full_path), \
364 TP_ARGS(xid, tid, sesid, full_path))
Dcifsproto.h193 extern int cifs_posix_open(const char *full_path, struct inode **inode,
207 extern int cifs_get_inode_info(struct inode **inode, const char *full_path,
216 unsigned int xid, const char *full_path, __u32 dosattr);
217 extern int cifs_rename_pending_delete(const char *full_path,
Dcifsfs.c783 char *full_path = NULL; in cifs_get_root() local
790 full_path = cifs_build_path_to_root(ctx, cifs_sb, in cifs_get_root()
792 if (full_path == NULL) in cifs_get_root()
795 cifs_dbg(FYI, "Get root dentry for %s\n", full_path); in cifs_get_root()
799 s = full_path; in cifs_get_root()
825 kfree(full_path); in cifs_get_root()
Dmisc.c804 const char *full_path; in cifs_close_deferred_file_under_dentry() local
811 full_path = build_path_from_dentry(cfile->dentry, page); in cifs_close_deferred_file_under_dentry()
812 if (strstr(full_path, path)) { in cifs_close_deferred_file_under_dentry()
Dsmb2ops.c1072 struct cifs_sb_info *cifs_sb, const char *full_path) in smb2_is_path_accessible() argument
1080 if ((*full_path == 0) && tcon->crfid.is_valid) in smb2_is_path_accessible()
1083 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_is_path_accessible()
1108 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_get_srv_inum() argument
3114 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_query_symlink() argument
3143 cifs_dbg(FYI, "%s: path: %s\n", __func__, full_path); in smb2_query_symlink()
3154 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_query_symlink()
3302 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_query_reparse_tag() argument
3322 cifs_dbg(FYI, "%s: path: %s\n", __func__, full_path); in smb2_query_reparse_tag()
3331 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_query_reparse_tag()
[all …]
Dcifsglob.h352 const char *full_path,
523 const char *full_path,
/linux-5.19.10/drivers/acpi/acpica/
Dnsnames.c194 char *full_path, u32 path_size, u8 no_trailing) in acpi_ns_build_normalized_path() argument
217 if (!full_path) { in acpi_ns_build_normalized_path()
228 ACPI_PATH_PUT8(full_path, path_size, in acpi_ns_build_normalized_path()
240 ACPI_PATH_PUT8(full_path, path_size, c, length); in acpi_ns_build_normalized_path()
247 ACPI_PATH_PUT8(full_path, path_size, AML_ROOT_PREFIX, length); in acpi_ns_build_normalized_path()
252 left = full_path; in acpi_ns_build_normalized_path()
253 right = full_path + length - 1; in acpi_ns_build_normalized_path()
265 ACPI_PATH_PUT8(full_path, path_size, '\0', length); in acpi_ns_build_normalized_path()
342 char *full_path = NULL; in acpi_ns_build_prefixed_pathname() local
366 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-5.19.10/drivers/block/rnbd/
Drnbd-srv.c594 char *full_path; in rnbd_srv_get_full_path() local
597 full_path = kmalloc(PATH_MAX, GFP_KERNEL); in rnbd_srv_get_full_path()
598 if (!full_path) in rnbd_srv_get_full_path()
609 len = snprintf(full_path, PATH_MAX, "%.*s/%s/%s", len, in rnbd_srv_get_full_path()
614 kfree(full_path); in rnbd_srv_get_full_path()
618 snprintf(full_path, PATH_MAX, "%s/%s", in rnbd_srv_get_full_path()
623 a = strchr(full_path, '/'); in rnbd_srv_get_full_path()
637 return full_path; in rnbd_srv_get_full_path()
690 char *full_path; in process_msg_open() local
721 full_path = rnbd_srv_get_full_path(srv_sess, open_msg->dev_name); in process_msg_open()
[all …]
/linux-5.19.10/tools/bpf/bpftool/
Dcommon.c591 char full_path[64]; in read_sysfs_netdev_hex_int() local
593 snprintf(full_path, sizeof(full_path), "/sys/class/net/%s/device/%s", in read_sysfs_netdev_hex_int()
596 return read_sysfs_hex_int(full_path); in read_sysfs_netdev_hex_int()
/linux-5.19.10/fs/btrfs/
Dsend.c2750 struct fs_path *full_path; member
2758 ref->full_path = path; in set_ref_path()
2759 ref->name = (char *)kbasename(ref->full_path->start); in set_ref_path()
2760 ref->name_len = ref->full_path->end - ref->name; in set_ref_path()
2794 new->full_path = NULL; in dup_ref()
2806 fs_path_free(cur->full_path); in __free_recorded_refs()
3775 fs_path_free(ref->full_path); in update_ref_path()
3831 fs_path_reset(ref->full_path); in refresh_ref_path()
3832 ret = get_cur_path(sctx, ref->dir, ref->dir_gen, ref->full_path); in refresh_ref_path()
3836 ret = fs_path_add(ref->full_path, name, ref->name_len); in refresh_ref_path()
[all …]
/linux-5.19.10/tools/perf/util/
Dannotate.h85 full_path, member
/linux-5.19.10/tools/perf/
Dbuiltin-annotate.c543 OPT_BOOLEAN('P', "full-paths", &annotate.opts.full_path, in cmd_annotate()

12