Home
last modified time | relevance | path

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

/Linux-v5.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.c4569 char *npath; in check_dfs_prepath() local
4612 npath = build_unc_path_to_root(&v, cifs_sb, true); in check_dfs_prepath()
4617 npath = build_unc_path_to_root(&v, cifs_sb, true); in check_dfs_prepath()
4619 if (IS_ERR(npath)) { in check_dfs_prepath()
4620 rc = PTR_ERR(npath); in check_dfs_prepath()
4624 *dfs_path = npath; in check_dfs_prepath()
/Linux-v5.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()
/Linux-v5.10/fs/ext4/
Dextents.c1925 struct ext4_ext_path *npath = NULL; in ext4_ext_insert_extent() local
2032 BUG_ON(npath != NULL); in ext4_ext_insert_extent()
2033 npath = ext4_find_extent(inode, next, NULL, gb_flags); in ext4_ext_insert_extent()
2034 if (IS_ERR(npath)) in ext4_ext_insert_extent()
2035 return PTR_ERR(npath); in ext4_ext_insert_extent()
2036 BUG_ON(npath->p_depth != path->p_depth); in ext4_ext_insert_extent()
2037 eh = npath[depth].p_hdr; in ext4_ext_insert_extent()
2041 path = npath; in ext4_ext_insert_extent()
2133 ext4_ext_drop_refs(npath); in ext4_ext_insert_extent()
2134 kfree(npath); in ext4_ext_insert_extent()