Home
last modified time | relevance | path

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

/openbmc/u-boot/fs/zfs/
H A Dzfs.c1393 const char *ptr_at, *filename; in dnode_get_fullpath() local
1397 ptr_at = strchr(fullpath, '@'); in dnode_get_fullpath()
1398 if (!ptr_at) { in dnode_get_fullpath()
1404 const char *ptr_slash = strchr(ptr_at, '/'); in dnode_get_fullpath()
1407 fsname = malloc(ptr_at - fullpath + 1); in dnode_get_fullpath()
1410 memcpy(fsname, fullpath, ptr_at - fullpath); in dnode_get_fullpath()
1411 fsname[ptr_at - fullpath] = 0; in dnode_get_fullpath()
1412 if (ptr_at[1] && ptr_at[1] != '/') { in dnode_get_fullpath()
1413 snapname = malloc(ptr_slash - ptr_at); in dnode_get_fullpath()
1418 memcpy(snapname, ptr_at + 1, ptr_slash - ptr_at - 1); in dnode_get_fullpath()
[all …]