Lines Matching refs:up

206 				if (dd->up != dno || dd->root_dnode) {  in fix_up_ptrs()
207 dd->up = dno; in fix_up_ptrs()
284 if (!(ad = hpfs_alloc_dnode(i->i_sb, d->up, &adno, &qbh1, 0))) { in hpfs_add_to_dnode()
311 dno = ad->up = d->up; in hpfs_add_to_dnode()
318 if (!(rd = hpfs_alloc_dnode(i->i_sb, d->up, &rdno, &qbh2, 0))) { in hpfs_add_to_dnode()
329 rd->up = d->up; in hpfs_add_to_dnode()
330 if (!(fnode = hpfs_map_fnode(i->i_sb, d->up, &bh))) { in hpfs_add_to_dnode()
342 d->up = ad->up = i->i_hpfs_dno = rdno; in hpfs_add_to_dnode()
427 if (dnode->up != chk_up) { in move_to_top()
429 dno, chk_up, dnode->up); in move_to_top()
445 dnode_secno up = dnode->up; in move_to_top() local
451 if (up == to) return to; in move_to_top()
452 if (!(dnode = hpfs_map_dnode(i->i_sb, up, &qbh))) return 0; in move_to_top()
460 hpfs_error(i->i_sb, "move_to_top: dnode %08x doesn't point down to %08x", up, dno); in move_to_top()
468 dno = up; in move_to_top()
499 dnode_secno down, up, ndown; in delete_empty_dnode() local
510 up = dnode->up; in delete_empty_dnode()
526 if (i->i_sb->s_hpfs_chk) if (up != i->i_ino) { in delete_empty_dnode()
527 …(i->i_sb, "bad pointer to fnode, dnode %08x, pointing to %08x, should be %08x", dno, up, i->i_ino); in delete_empty_dnode()
531 d1->up = up; in delete_empty_dnode()
536 if ((fnode = hpfs_map_fnode(i->i_sb, up, &bh))) { in delete_empty_dnode()
545 if (!(dnode = hpfs_map_dnode(i->i_sb, up, &qbh))) return; in delete_empty_dnode()
550 hpfs_error(i->i_sb, "delete_empty_dnode: pointer to dnode %08x not found in dnode %08x", dno, up); in delete_empty_dnode()
553 for_all_poss(i, hpfs_pos_subst, ((loff_t)dno << 4) | 1, ((loff_t)up << 4) | p); in delete_empty_dnode()
565 d1->up = up; in delete_empty_dnode()
590 for_all_poss(i, hpfs_pos_subst, ((loff_t)up << 4) | p, 4); in delete_empty_dnode()
591 for_all_poss(i, hpfs_pos_del, ((loff_t)up << 4) | p, 1); in delete_empty_dnode()
593 d1->up = ndown; in delete_empty_dnode()
599 dno = up; in delete_empty_dnode()
609 hpfs_error(i->i_sb, "delete_empty_dnode: empty dnode %08x", up); in delete_empty_dnode()
612 dno = up; in delete_empty_dnode()
661 for_all_poss(i, hpfs_pos_subst, ((loff_t)up << 4) | (p - 1), 4); in delete_empty_dnode()
662 for_all_poss(i, hpfs_pos_subst, ((loff_t)up << 4) | p, ((loff_t)up << 4) | (p - 1)); in delete_empty_dnode()
664 d1->up = ndown; in delete_empty_dnode()
669 dno = up; in delete_empty_dnode()
737 if (s->s_hpfs_chk) if (odno && odno != -1 && dnode->up != odno) in hpfs_count_dnodes()
738 …, "hpfs_count_dnodes: bad up pointer; dnode %08x, down %08x points to %08x", odno, dno, dnode->up); in hpfs_count_dnodes()
762 dno = dnode->up; in hpfs_count_dnodes()
800 dnode_secno up = 0; in hpfs_de_as_down_as_possible() local
810 if (up && ((struct dnode *)qbh.data)->up != up) in hpfs_de_as_down_as_possible()
811 …ble: bad up pointer; dnode %08x, down %08x points to %08x", up, d, ((struct dnode *)qbh.data)->up); in hpfs_de_as_down_as_possible()
816 up = d; in hpfs_de_as_down_as_possible()
858 if (!(up_dnode = hpfs_map_dnode(inode->i_sb, dnode->up, &qbh0))) in map_pos_dirent()
866 "map_pos_dirent: pos crossed dnode boundary; dnode = %08x", dnode->up); in map_pos_dirent()
868 *posp = ((loff_t) dnode->up << 4) + c; in map_pos_dirent()
875 dno, dnode->up); in map_pos_dirent()
1000 if (!(upf = hpfs_map_fnode(s, f->up, &bh))) { in map_fnode_dirent()
1006 hpfs_error(s, "fnode %08x has non-directory parent %08x", fno, f->up); in map_fnode_dirent()
1057 dno = d->up; in map_fnode_dirent()