Lines Matching refs:dnode_path
1185 struct dnode_chain *dnode_path = 0, *dn_new, *root; in dnode_get_path() local
1191 dnode_path = root = dn_new; in dnode_get_path()
1194 &(dnode_path->dn), data); in dnode_get_path()
1200 err = zap_lookup(&(dnode_path->dn), ZPL_VERSION_STR, &version, data); in dnode_get_path()
1211 err = zap_lookup(&(dnode_path->dn), ZFS_ROOT_OBJ, &objnum, data); in dnode_get_path()
1217 err = dnode_get(mdn, objnum, 0, &(dnode_path->dn), data); in dnode_get_path()
1245 dn_new = dnode_path; in dnode_get_path()
1246 dnode_path = dn_new->next; in dnode_get_path()
1259 if (dnode_path->dn.dn.dn_type != DMU_OT_DIRECTORY_CONTENTS) { in dnode_get_path()
1264 err = zap_lookup(&(dnode_path->dn), cname, &objnum, data); in dnode_get_path()
1273 dn_new->next = dnode_path; in dnode_get_path()
1274 dnode_path = dn_new; in dnode_get_path()
1277 err = dnode_get(mdn, objnum, 0, &(dnode_path->dn), data); in dnode_get_path()
1285 memcpy(dn, &(dnode_path->dn), sizeof(*dn)); in dnode_get_path()
1287 while (dnode_path) { in dnode_get_path()
1288 dn_new = dnode_path->next; in dnode_get_path()
1289 free(dnode_path); in dnode_get_path()
1290 dnode_path = dn_new; in dnode_get_path()