Lines Matching refs:up
214 if (le32_to_cpu(dd->up) != dno || dd->root_dnode) { in fix_up_ptrs()
215 dd->up = cpu_to_le32(dno); in fix_up_ptrs()
293 if (!(ad = hpfs_alloc_dnode(i->i_sb, le32_to_cpu(d->up), &adno, &qbh1))) { in hpfs_add_to_dnode()
322 ad->up = d->up; in hpfs_add_to_dnode()
323 dno = le32_to_cpu(ad->up); in hpfs_add_to_dnode()
330 if (!(rd = hpfs_alloc_dnode(i->i_sb, le32_to_cpu(d->up), &rdno, &qbh2))) { in hpfs_add_to_dnode()
341 rd->up = d->up; in hpfs_add_to_dnode()
342 if (!(fnode = hpfs_map_fnode(i->i_sb, le32_to_cpu(d->up), &bh))) { in hpfs_add_to_dnode()
355 d->up = ad->up = cpu_to_le32(rdno); in hpfs_add_to_dnode()
440 if (le32_to_cpu(dnode->up) != chk_up) { in move_to_top()
442 dno, chk_up, le32_to_cpu(dnode->up)); in move_to_top()
458 dnode_secno up = le32_to_cpu(dnode->up); in move_to_top() local
464 if (up == to) return to; in move_to_top()
465 if (!(dnode = hpfs_map_dnode(i->i_sb, up, &qbh))) return 0; in move_to_top()
473 hpfs_error(i->i_sb, "move_to_top: dnode %08x doesn't point down to %08x", up, dno); in move_to_top()
481 dno = up; in move_to_top()
513 dnode_secno down, up, ndown; in delete_empty_dnode() local
524 up = le32_to_cpu(dnode->up); in delete_empty_dnode()
541 if (up != i->i_ino) { in delete_empty_dnode()
544 dno, up, (unsigned long)i->i_ino); in delete_empty_dnode()
548 d1->up = cpu_to_le32(up); in delete_empty_dnode()
553 if ((fnode = hpfs_map_fnode(i->i_sb, up, &bh))) { in delete_empty_dnode()
562 if (!(dnode = hpfs_map_dnode(i->i_sb, up, &qbh))) return; in delete_empty_dnode()
567 hpfs_error(i->i_sb, "delete_empty_dnode: pointer to dnode %08x not found in dnode %08x", dno, up); in delete_empty_dnode()
570 for_all_poss(i, hpfs_pos_subst, ((loff_t)dno << 4) | 1, ((loff_t)up << 4) | p); in delete_empty_dnode()
582 d1->up = cpu_to_le32(up); in delete_empty_dnode()
607 for_all_poss(i, hpfs_pos_subst, ((loff_t)up << 4) | p, 4); in delete_empty_dnode()
608 for_all_poss(i, hpfs_pos_del, ((loff_t)up << 4) | p, 1); in delete_empty_dnode()
610 d1->up = cpu_to_le32(ndown); in delete_empty_dnode()
616 dno = up; in delete_empty_dnode()
626 hpfs_error(i->i_sb, "delete_empty_dnode: empty dnode %08x", up); in delete_empty_dnode()
629 dno = up; in delete_empty_dnode()
678 for_all_poss(i, hpfs_pos_subst, ((loff_t)up << 4) | (p - 1), 4); in delete_empty_dnode()
679 for_all_poss(i, hpfs_pos_subst, ((loff_t)up << 4) | p, ((loff_t)up << 4) | (p - 1)); in delete_empty_dnode()
681 d1->up = cpu_to_le32(ndown); in delete_empty_dnode()
686 dno = up; in delete_empty_dnode()
748 if (hpfs_sb(s)->sb_chk) if (odno && odno != -1 && le32_to_cpu(dnode->up) != odno) in hpfs_count_dnodes()
749 …_dnodes: bad up pointer; dnode %08x, down %08x points to %08x", odno, dno, le32_to_cpu(dnode->up)); in hpfs_count_dnodes()
773 dno = le32_to_cpu(dnode->up); in hpfs_count_dnodes()
811 dnode_secno up = 0; in hpfs_de_as_down_as_possible() local
821 if (up && le32_to_cpu(((struct dnode *)qbh.data)->up) != up) in hpfs_de_as_down_as_possible()
822 … up pointer; dnode %08x, down %08x points to %08x", up, d, le32_to_cpu(((struct dnode *)qbh.data)-… in hpfs_de_as_down_as_possible()
827 up = d; in hpfs_de_as_down_as_possible()
871 if (!(up_dnode = hpfs_map_dnode(inode->i_sb, le32_to_cpu(dnode->up), &qbh0))) in map_pos_dirent()
879 "map_pos_dirent: pos crossed dnode boundary; dnode = %08x", le32_to_cpu(dnode->up)); in map_pos_dirent()
881 *posp = ((loff_t) le32_to_cpu(dnode->up) << 4) + c; in map_pos_dirent()
888 dno, le32_to_cpu(dnode->up)); in map_pos_dirent()
1014 if (!(upf = hpfs_map_fnode(s, le32_to_cpu(f->up), &bh))) { in map_fnode_dirent()
1020 hpfs_error(s, "fnode %08x has non-directory parent %08x", fno, le32_to_cpu(f->up)); in map_fnode_dirent()
1071 dno = le32_to_cpu(d->up); in map_fnode_dirent()