Home
last modified time | relevance | path

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

/fs/cifs/
Ddfs_cache.c83 static int get_normalized_path(const char *path, char **npath) in get_normalized_path() argument
89 *npath = (char *)path; in get_normalized_path()
91 *npath = kstrndup(path, strlen(path), GFP_KERNEL); in get_normalized_path()
92 if (!*npath) in get_normalized_path()
94 convert_delimiter(*npath, '\\'); in get_normalized_path()
99 static inline void free_normalized_path(const char *path, char *npath) in free_normalized_path() argument
101 if (path != npath) in free_normalized_path()
102 kfree(npath); in free_normalized_path()
841 char *npath; in dfs_cache_find() local
844 rc = get_normalized_path(path, &npath); in dfs_cache_find()
[all …]
/fs/ext4/
Dextents.c2004 struct ext4_ext_path *npath = NULL; in ext4_ext_insert_extent() local
2111 BUG_ON(npath != NULL); in ext4_ext_insert_extent()
2112 npath = ext4_find_extent(inode, next, NULL, 0); in ext4_ext_insert_extent()
2113 if (IS_ERR(npath)) in ext4_ext_insert_extent()
2114 return PTR_ERR(npath); in ext4_ext_insert_extent()
2115 BUG_ON(npath->p_depth != path->p_depth); in ext4_ext_insert_extent()
2116 eh = npath[depth].p_hdr; in ext4_ext_insert_extent()
2120 path = npath; in ext4_ext_insert_extent()
2212 ext4_ext_drop_refs(npath); in ext4_ext_insert_extent()
2213 kfree(npath); in ext4_ext_insert_extent()