Home
last modified time | relevance | path

Searched refs:npath (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/cifs/
Ddfs_cache.c82 static int get_normalized_path(const char *path, char **npath) in get_normalized_path() argument
88 *npath = (char *)path; in get_normalized_path()
90 *npath = kstrndup(path, strlen(path), GFP_KERNEL); in get_normalized_path()
91 if (!*npath) in get_normalized_path()
93 convert_delimiter(*npath, '\\'); in get_normalized_path()
98 static inline void free_normalized_path(const char *path, char *npath) in free_normalized_path() argument
100 if (path != npath) in free_normalized_path()
101 kfree(npath); in free_normalized_path()
529 char *npath; in lookup_cache_entry() local
533 npath = kstrndup(path, strlen(path), GFP_KERNEL); in lookup_cache_entry()
[all …]
Dconnect.c4589 char *npath; in check_dfs_prepath() local
4632 npath = build_unc_path_to_root(&v, cifs_sb, true); in check_dfs_prepath()
4637 npath = build_unc_path_to_root(&v, cifs_sb, true); in check_dfs_prepath()
4639 if (IS_ERR(npath)) { in check_dfs_prepath()
4640 rc = PTR_ERR(npath); in check_dfs_prepath()
4644 *dfs_path = npath; in check_dfs_prepath()
/kernel/linux/linux-5.10/sound/pci/riptide/
Driptide.c767 const unsigned char *npath = path; in alloclbuspath() local
769 while (*npath != 0xff) in alloclbuspath()
770 npath++; in alloclbuspath()
771 alloclbuspath(cif, source + 1, ++npath, mixer, s); in alloclbuspath()
789 const unsigned char *npath = path; in freelbuspath() local
791 while (*npath != 0xff) in freelbuspath()
792 npath++; in freelbuspath()
793 freelbuspath(cif, source + 1, ++npath); in freelbuspath()
/kernel/linux/linux-5.10/fs/ext4/
Dextents.c1976 struct ext4_ext_path *npath = NULL; in ext4_ext_insert_extent() local
2083 BUG_ON(npath != NULL); in ext4_ext_insert_extent()
2084 npath = ext4_find_extent(inode, next, NULL, gb_flags); in ext4_ext_insert_extent()
2085 if (IS_ERR(npath)) in ext4_ext_insert_extent()
2086 return PTR_ERR(npath); in ext4_ext_insert_extent()
2087 BUG_ON(npath->p_depth != path->p_depth); in ext4_ext_insert_extent()
2088 eh = npath[depth].p_hdr; in ext4_ext_insert_extent()
2092 path = npath; in ext4_ext_insert_extent()
2184 ext4_ext_drop_refs(npath); in ext4_ext_insert_extent()
2185 kfree(npath); in ext4_ext_insert_extent()