Lines Matching defs:nameptr
81 static void list_subvols(u64 tree, char *nameptr, int max_name_len, int level)
104 if (nameptr && !get_subvol_name(found_key->offset, nameptr,
106 printf("%s\n", nameptr);
112 list_subvols(found_key->offset, nameptr, max_name_len,
124 char *nameptr = malloc(4096);
126 list_subvols(BTRFS_FS_TREE_OBJECTID, nameptr, nameptr ? 4096 : 0, 40);
128 if (nameptr)
129 free(nameptr);