Lines Matching refs:dnode_path
1186 struct dnode_chain *dnode_path = 0, *dn_new, *root; in dnode_get_path() local
1192 dnode_path = root = dn_new; in dnode_get_path()
1195 &(dnode_path->dn), data); in dnode_get_path()
1201 err = zap_lookup(&(dnode_path->dn), ZPL_VERSION_STR, &version, data); in dnode_get_path()
1212 err = zap_lookup(&(dnode_path->dn), ZFS_ROOT_OBJ, &objnum, data); in dnode_get_path()
1218 err = dnode_get(mdn, objnum, 0, &(dnode_path->dn), data); in dnode_get_path()
1246 dn_new = dnode_path; in dnode_get_path()
1247 dnode_path = dn_new->next; in dnode_get_path()
1260 if (dnode_path->dn.dn.dn_type != DMU_OT_DIRECTORY_CONTENTS) { in dnode_get_path()
1265 err = zap_lookup(&(dnode_path->dn), cname, &objnum, data); in dnode_get_path()
1274 dn_new->next = dnode_path; in dnode_get_path()
1275 dnode_path = dn_new; in dnode_get_path()
1278 err = dnode_get(mdn, objnum, 0, &(dnode_path->dn), data); in dnode_get_path()
1286 memcpy(dn, &(dnode_path->dn), sizeof(*dn)); in dnode_get_path()
1288 while (dnode_path) { in dnode_get_path()
1289 dn_new = dnode_path->next; in dnode_get_path()
1290 free(dnode_path); in dnode_get_path()
1291 dnode_path = dn_new; in dnode_get_path()