Lines Matching refs:down
148 if (de->down) { in set_last_pointer()
166 de->down = 1; in set_last_pointer()
192 de->down = 1; in hpfs_add_de()
221 if (de->down) { in fix_up_ptrs()
315 copy_de(hpfs_add_de(i->i_sb, ad, de->name, de->namelen, de->down ? de_down_pointer(de) : 0), de); in hpfs_add_to_dnode()
325 set_last_pointer(i->i_sb, ad, de->down ? de_down_pointer(de) : 0); in hpfs_add_to_dnode()
399 down: in hpfs_add_dirent()
410 if (de->down) { in hpfs_add_dirent()
413 goto down; in hpfs_add_dirent()
463 if (!de->down) break; in move_to_top()
482 if (!de || !de->down) { in move_to_top()
489 de->down = 0; in move_to_top()
502 ddno = de->down ? de_down_pointer(de) : 0; in move_to_top()
523 dnode_secno down, up, ndown; in delete_empty_dnode() local
536 down = de->down ? de_down_pointer(de) : 0; in delete_empty_dnode()
537 if (hpfs_sb(i->i_sb)->sb_chk) if (root && !down) { in delete_empty_dnode()
558 if ((d1 = hpfs_map_dnode(i->i_sb, down, &qbh1))) { in delete_empty_dnode()
565 fnode->u.external[0].disk_secno = cpu_to_le32(down); in delete_empty_dnode()
569 hpfs_inode->i_dno = down; in delete_empty_dnode()
577 if (de->down) if (de_down_pointer(de) == dno) goto fnd; in delete_empty_dnode()
582 if (!down) { in delete_empty_dnode()
583 de->down = 0; in delete_empty_dnode()
591 *(dnode_secno *) ((void *) de + le16_to_cpu(de->length) - 4) = down; in delete_empty_dnode()
592 if ((d1 = hpfs_map_dnode(i->i_sb, down, &qbh1))) { in delete_empty_dnode()
608 if (!de_next->down) goto endm; in delete_empty_dnode()
620 if (de_cp->down) if ((d1 = hpfs_map_dnode(i->i_sb, de_down_pointer(de_cp), &qbh1))) { in delete_empty_dnode()
625 …hpfs_add_to_dnode(i, ndown, de_cp->name, de_cp->namelen, de_cp, de_cp->down ? de_down_pointer(de_c… in delete_empty_dnode()
644 if (!de_prev->down) goto endm; in delete_empty_dnode()
648 dlp = del->down ? de_down_pointer(del) : 0; in delete_empty_dnode()
649 if (!dlp && down) { in delete_empty_dnode()
663 del->down = 1; in delete_empty_dnode()
666 if (dlp && !down) { in delete_empty_dnode()
668 del->down = 0; in delete_empty_dnode()
670 } else if (down) in delete_empty_dnode()
671 *(__le32 *) ((void *) del + le16_to_cpu(del->length) - 4) = cpu_to_le32(down); in delete_empty_dnode()
682 if (!de_prev->down) { in delete_empty_dnode()
684 de_prev->down = 1; in delete_empty_dnode()
692 if (down) if ((d1 = hpfs_map_dnode(i->i_sb, de_down_pointer(de), &qbh1))) { in delete_empty_dnode()
715 dnode_secno down = 0; in hpfs_remove_dirent() local
722 if (de->down) down = de_down_pointer(de); in hpfs_remove_dirent()
723 if (depth && (de->down || (de == dnode_first_de(dnode) && de_next_de(de)->last))) { in hpfs_remove_dirent()
733 if (down) { in hpfs_remove_dirent()
734 dnode_secno a = move_to_top(i, down, dno); in hpfs_remove_dirent()
763 if (de->down) if (de_down_pointer(de) == ptr) goto process_de; in hpfs_count_dnodes()
773 if (de->down) { in hpfs_count_dnodes()
834 if (!de->down) { in hpfs_de_as_down_as_possible()
872 if (d->down) { in map_pos_dirent()
891 if (up_de->down && de_down_pointer(up_de) == dno) { in map_pos_dirent()
932 if (de->down) { in map_dirent()
960 if (de->down) d1 = de_down_pointer(de); in hpfs_remove_dtree()
968 d1 = de->down ? de_down_pointer(de) : 0; in hpfs_remove_dtree()
971 d2 = de->down ? de_down_pointer(de) : 0; in hpfs_remove_dtree()
979 d1 = de->down ? de_down_pointer(de) : 0; in hpfs_remove_dtree()
1048 if (de->down) if (de_down_pointer(de) == downd) goto f; in map_fnode_dirent()
1062 if (c < 0 && de->down) { in map_fnode_dirent()