• Home
  • Raw
  • Download

Lines Matching refs:rno

527 int ntfs_look_free_mft(struct ntfs_sb_info *sbi, CLST *rno, bool mft,  in ntfs_look_free_mft()  argument
550 *rno = zbit; in ntfs_look_free_mft()
657 *rno = zbit; in ntfs_look_free_mft()
675 *rno = fr; in ntfs_look_free_mft()
676 sbi->mft.next_free = *rno + 1; in ntfs_look_free_mft()
686 if (ni && !ni_add_subrecord(ni, *rno, mi)) { in ntfs_look_free_mft()
692 if (*rno >= MFT_REC_FREE) in ntfs_look_free_mft()
693 wnd_set_used(wnd, *rno, 1); in ntfs_look_free_mft()
694 else if (*rno >= MFT_REC_RESERVED && sbi->mft.reserved_bitmap_inited) in ntfs_look_free_mft()
695 __set_bit(*rno - MFT_REC_RESERVED, &sbi->mft.reserved_bitmap); in ntfs_look_free_mft()
707 void ntfs_mark_rec_free(struct ntfs_sb_info *sbi, CLST rno) in ntfs_mark_rec_free() argument
712 if (rno >= wnd->nbits) in ntfs_mark_rec_free()
715 if (rno >= MFT_REC_FREE) { in ntfs_mark_rec_free()
716 if (!wnd_is_used(wnd, rno, 1)) in ntfs_mark_rec_free()
719 wnd_set_free(wnd, rno, 1); in ntfs_mark_rec_free()
720 } else if (rno >= MFT_REC_RESERVED && sbi->mft.reserved_bitmap_inited) { in ntfs_mark_rec_free()
721 __clear_bit(rno - MFT_REC_RESERVED, &sbi->mft.reserved_bitmap); in ntfs_mark_rec_free()
724 if (rno < wnd_zone_bit(wnd)) in ntfs_mark_rec_free()
725 wnd_zone_set(wnd, rno, 1); in ntfs_mark_rec_free()
726 else if (rno < sbi->mft.next_free && rno >= MFT_REC_USER) in ntfs_mark_rec_free()
727 sbi->mft.next_free = rno; in ntfs_mark_rec_free()
1681 struct ntfs_inode *ntfs_new_inode(struct ntfs_sb_info *sbi, CLST rno, bool dir) in ntfs_new_inode() argument
1693 err = mi_format_new(&ni->mi, sbi, rno, dir ? RECORD_FLAG_DIR : 0, in ntfs_new_inode()
1698 inode->i_ino = rno; in ntfs_new_inode()