Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.c54 struct inode *inode, char *full_path, in cifs_attrib_set() argument
69 rc = pTcon->ses->server->ops->set_file_info(inode, full_path, in cifs_attrib_set()
78 struct inode *inode, char *full_path, in cifs_creation_time_set() argument
93 rc = pTcon->ses->server->ops->set_file_info(inode, full_path, in cifs_creation_time_set()
112 char *full_path; in cifs_xattr_set() local
121 full_path = build_path_from_dentry(dentry); in cifs_xattr_set()
122 if (full_path == NULL) { in cifs_xattr_set()
143 rc = cifs_attrib_set(xid, pTcon, inode, full_path, in cifs_xattr_set()
151 full_path, value, size); in cifs_xattr_set()
162 full_path, name, value, (__u16)size, in cifs_xattr_set()
[all …]
Dinode.c371 const unsigned char *full_path, argument
381 cifs_dbg(FYI, "Getting info on %s\n", full_path);
389 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data,
405 full_path);
815 const char *full_path, argument
840 rc = CIFSFindFirst(xid, tcon, full_path,
855 const char *full_path, argument
877 cifs_sb, full_path,
895 if (fattr->cf_uniqueid == 0 && strlen(full_path) == 0) {
915 const char *full_path, argument
[all …]
Dsmb2inode.c64 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_compound_op() argument
105 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_compound_op()
168 full_path); in smb2_compound_op()
202 trace_smb3_posix_query_info_compound_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
205 trace_smb3_delete_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
212 trace_smb3_mkdir_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
230 trace_smb3_rmdir_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
248 trace_smb3_set_eof_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
282 full_path); in smb2_compound_op()
321 trace_smb3_rename_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
[all …]
Dlink.c607 char *full_path = NULL; in cifs_get_link() local
627 full_path = build_path_from_dentry(direntry); in cifs_get_link()
628 if (!full_path) { in cifs_get_link()
634 cifs_dbg(FYI, "Full path: %s inode = 0x%p\n", full_path, inode); in cifs_get_link()
642 rc = query_mf_symlink(xid, tcon, cifs_sb, full_path, in cifs_get_link()
652 rc = server->ops->query_symlink(xid, tcon, cifs_sb, full_path, in cifs_get_link()
656 kfree(full_path); in cifs_get_link()
675 char *full_path = NULL; in cifs_symlink() local
687 full_path = build_path_from_dentry(direntry); in cifs_symlink()
688 if (full_path == NULL) { in cifs_symlink()
[all …]
Dcifs_dfs_ref.c303 char *full_path, *root_path; in cifs_dfs_do_automount() local
326 full_path = build_path_from_dentry_optional_prefix(mntpt, true); in cifs_dfs_do_automount()
327 if (full_path == NULL) in cifs_dfs_do_automount()
330 convert_delimiter(full_path, '\\'); in cifs_dfs_do_automount()
332 cifs_dbg(FYI, "%s: full_path: %s\n", __func__, full_path); in cifs_dfs_do_automount()
363 cifs_remap(cifs_sb), full_path + 1, in cifs_dfs_do_automount()
379 mnt = cifs_dfs_do_mount(mntpt, cifs_sb, full_path); in cifs_dfs_do_automount()
381 full_path + 1, mnt); in cifs_dfs_do_automount()
386 kfree(full_path); in cifs_dfs_do_automount()
Dsmb1ops.c516 struct cifs_sb_info *cifs_sb, const char *full_path) in cifs_is_path_accessible() argument
525 rc = CIFSSMBQPathInfo(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
530 rc = SMBQueryInformation(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
538 struct cifs_sb_info *cifs_sb, const char *full_path, in cifs_query_path_info() argument
546 rc = CIFSSMBQPathInfo(xid, tcon, full_path, data, 0 /* not legacy */, in cifs_query_path_info()
554 rc = SMBQueryInformation(xid, tcon, full_path, data, in cifs_query_path_info()
571 oparms.path = full_path; in cifs_query_path_info()
588 struct cifs_sb_info *cifs_sb, const char *full_path, in cifs_get_srv_inum() argument
602 return CIFSGetSrvInodeNumber(xid, tcon, full_path, uniqueid, in cifs_get_srv_inum()
677 cifs_mkdir_setinfo(struct inode *inode, const char *full_path, in cifs_mkdir_setinfo() argument
[all …]
Dreaddir.c386 char *full_path) in initiate_cifs_search() argument
425 cifs_dbg(FYI, "Full path: %s start at: %lld\n", full_path, file->f_pos); in initiate_cifs_search()
448 rc = server->ops->query_dir_first(xid, tcon, full_path, cifs_sb, in initiate_cifs_search()
706 struct file *file, char *full_path, in find_cifs_entry() argument
760 rc = initiate_cifs_search(xid, file, full_path); in find_cifs_entry()
944 char *full_path = NULL; in cifs_readdir() local
948 full_path = build_path_from_dentry(file_dentry(file)); in cifs_readdir()
949 if (full_path == NULL) { in cifs_readdir()
959 rc = initiate_cifs_search(xid, file, full_path); in cifs_readdir()
986 rc = find_cifs_entry(xid, tcon, ctx->pos, file, full_path, in cifs_readdir()
[all …]
Dconnect.c4201 char *full_path, *pos; in build_unc_path_to_root() local
4209 full_path = kmalloc(unc_len + pplen + 1, GFP_KERNEL); in build_unc_path_to_root()
4210 if (full_path == NULL) in build_unc_path_to_root()
4213 memcpy(full_path, vol->UNC, unc_len); in build_unc_path_to_root()
4214 pos = full_path + unc_len; in build_unc_path_to_root()
4223 convert_delimiter(full_path, CIFS_DIR_SEP(cifs_sb)); in build_unc_path_to_root()
4224 cifs_dbg(FYI, "%s: full_path=%s\n", __func__, full_path); in build_unc_path_to_root()
4225 return full_path; in build_unc_path_to_root()
4246 char *full_path = NULL, *mdata = NULL; in expand_dfs_referral() local
4251 full_path = build_unc_path_to_root(volume_info, cifs_sb, true); in expand_dfs_referral()
[all …]
Dsmb2proto.h85 const char *full_path, FILE_ALL_INFO *data,
88 const char *full_path, __u64 size,
90 extern int smb2_set_file_info(struct inode *inode, const char *full_path,
94 const char *full_path,
99 extern void smb2_mkdir_setinfo(struct inode *inode, const char *full_path,
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()
177 cifs_nt_open(char *full_path, struct inode *inode, struct cifs_sb_info *cifs_sb, in cifs_nt_open() argument
238 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()
527 char *full_path = NULL; in cifs_open() local
543 full_path = build_path_from_dentry(file_dentry(file)); in cifs_open()
544 if (full_path == NULL) { in cifs_open()
[all …]
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.h185 extern int cifs_posix_open(char *full_path, struct inode **inode,
199 extern int cifs_get_inode_info(struct inode **inode, const char *full_path,
208 unsigned int xid, char *full_path, __u32 dosattr);
209 extern int cifs_rename_pending_delete(const char *full_path,
Dcifsfs.c733 char *full_path = NULL; in cifs_get_root() local
740 full_path = cifs_build_path_to_root(vol, cifs_sb, in cifs_get_root()
742 if (full_path == NULL) in cifs_get_root()
745 cifs_dbg(FYI, "Get root dentry for %s\n", full_path); in cifs_get_root()
749 p = s = full_path; in cifs_get_root()
775 kfree(full_path); in cifs_get_root()
/kernel/linux/linux-5.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);
/kernel/linux/linux-5.10/drivers/staging/blackbox/
Dblackbox_storage.c77 char *full_path = NULL; in is_pstore_part_ready() local
90 full_path = vmalloc(PATH_MAX_LEN); in is_pstore_part_ready()
91 if (!full_path) in is_pstore_part_ready()
98 memset(full_path, 0, PATH_MAX_LEN); in is_pstore_part_ready()
99 snprintf(full_path, PATH_MAX_LEN - 1, "%s%s", PSTORE_MOUNT_POINT, cur_name); in is_pstore_part_ready()
104 if (strcmp(full_path, pstore_file) > 0) in is_pstore_part_ready()
105 strncpy(pstore_file, full_path, strlen(full_path)); in is_pstore_part_ready()
114 vfree(full_path); in is_pstore_part_ready()
/kernel/linux/common_modules/xpm/validator/
Dexec_signature_info.c114 char *full_path = NULL; in find_partition_dev() local
124 if (full_path == NULL) { in find_partition_dev()
125 full_path = file_path(file, path, PATH_MAX-1); in find_partition_dev()
126 if (IS_ERR(full_path)) in find_partition_dev()
129 if (strncmp(dm_path->path, full_path, dm_path->len) != 0) in find_partition_dev()
146 char *full_path; in dm_verity_check_for_path() local
154 full_path = file_path(file, path, PATH_MAX - 1); in dm_verity_check_for_path()
155 if (IS_ERR(full_path)) in dm_verity_check_for_path()
157 if (strcmp(SYSTTEM_STARTUP_SECOND_STAGE, full_path) != 0) { in dm_verity_check_for_path()
404 char *full_path; in test_print_info() local
[all …]
/kernel/linux/linux-5.10/drivers/block/rnbd/
Drnbd-srv.c592 char *full_path; in rnbd_srv_get_full_path() local
595 full_path = kmalloc(PATH_MAX, GFP_KERNEL); in rnbd_srv_get_full_path()
596 if (!full_path) in rnbd_srv_get_full_path()
607 len = snprintf(full_path, PATH_MAX, "%.*s/%s/%s", len, in rnbd_srv_get_full_path()
612 kfree(full_path); in rnbd_srv_get_full_path()
616 snprintf(full_path, PATH_MAX, "%s/%s", in rnbd_srv_get_full_path()
621 a = strchr(full_path, '/'); in rnbd_srv_get_full_path()
635 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 …]
/kernel/linux/linux-5.10/fs/hmdfs/
Dfile_local.c299 const char *dir_path, *full_path; in __hmdfs_ioc_set_share_path() local
332 full_path = hmdfs_connect_path(dir_path, dentry->d_name.name); in __hmdfs_ioc_set_share_path()
333 if (unlikely(!full_path)) { in __hmdfs_ioc_set_share_path()
337 relative_path.name = full_path; in __hmdfs_ioc_set_share_path()
338 relative_path.len = strlen(full_path); in __hmdfs_ioc_set_share_path()
354 kfree(full_path); in __hmdfs_ioc_set_share_path()
/kernel/linux/common_modules/xpm/core/
Dxpm_hck.c90 char *full_path; in xpm_check_signature_error() local
102 full_path = file_path(file, path, PATH_MAX - 1); in xpm_check_signature_error()
103 if (IS_ERR(full_path)) { in xpm_check_signature_error()
108 xpm_log_error("xpm get %s signature info failed, errno = %d", full_path, -err_num); in xpm_check_signature_error()
/kernel/linux/linux-5.10/tools/bpf/bpftool/
Dcommon.c550 char full_path[64]; in read_sysfs_netdev_hex_int() local
552 snprintf(full_path, sizeof(full_path), "/sys/class/net/%s/device/%s", in read_sysfs_netdev_hex_int()
555 return read_sysfs_hex_int(full_path); in read_sysfs_netdev_hex_int()
/kernel/linux/linux-5.10/fs/btrfs/
Dsend.c2768 struct fs_path *full_path; member
2776 ref->full_path = path; in set_ref_path()
2777 ref->name = (char *)kbasename(ref->full_path->start); in set_ref_path()
2778 ref->name_len = ref->full_path->end - ref->name; in set_ref_path()
2812 new->full_path = NULL; in dup_ref()
2824 fs_path_free(cur->full_path); in __free_recorded_refs()
3815 fs_path_free(ref->full_path); in update_ref_path()
3871 fs_path_reset(ref->full_path); in refresh_ref_path()
3872 ret = get_cur_path(sctx, ref->dir, ref->dir_gen, ref->full_path); in refresh_ref_path()
3876 ret = fs_path_add(ref->full_path, name, ref->name_len); in refresh_ref_path()
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dannotate.h85 full_path, member

12