Lines Matching refs:rno

556 int ntfs_look_free_mft(struct ntfs_sb_info *sbi, CLST *rno, bool mft,  in ntfs_look_free_mft()  argument
579 *rno = zbit; in ntfs_look_free_mft()
686 *rno = zbit; in ntfs_look_free_mft()
704 *rno = fr; in ntfs_look_free_mft()
705 sbi->mft.next_free = *rno + 1; in ntfs_look_free_mft()
715 if (ni && !ni_add_subrecord(ni, *rno, mi)) { in ntfs_look_free_mft()
721 if (*rno >= MFT_REC_FREE) in ntfs_look_free_mft()
722 wnd_set_used(wnd, *rno, 1); in ntfs_look_free_mft()
723 else if (*rno >= MFT_REC_RESERVED && sbi->mft.reserved_bitmap_inited) in ntfs_look_free_mft()
724 __set_bit(*rno - MFT_REC_RESERVED, &sbi->mft.reserved_bitmap); in ntfs_look_free_mft()
737 void ntfs_mark_rec_free(struct ntfs_sb_info *sbi, CLST rno, bool is_mft) in ntfs_mark_rec_free() argument
743 if (rno >= wnd->nbits) in ntfs_mark_rec_free()
746 if (rno >= MFT_REC_FREE) { in ntfs_mark_rec_free()
747 if (!wnd_is_used(wnd, rno, 1)) in ntfs_mark_rec_free()
750 wnd_set_free(wnd, rno, 1); in ntfs_mark_rec_free()
751 } else if (rno >= MFT_REC_RESERVED && sbi->mft.reserved_bitmap_inited) { in ntfs_mark_rec_free()
752 __clear_bit(rno - MFT_REC_RESERVED, &sbi->mft.reserved_bitmap); in ntfs_mark_rec_free()
755 if (rno < wnd_zone_bit(wnd)) in ntfs_mark_rec_free()
756 wnd_zone_set(wnd, rno, 1); in ntfs_mark_rec_free()
757 else if (rno < sbi->mft.next_free && rno >= MFT_REC_USER) in ntfs_mark_rec_free()
758 sbi->mft.next_free = rno; in ntfs_mark_rec_free()
1683 struct ntfs_inode *ntfs_new_inode(struct ntfs_sb_info *sbi, CLST rno, in ntfs_new_inode() argument
1696 err = mi_format_new(&ni->mi, sbi, rno, flag, false); in ntfs_new_inode()
1700 inode->i_ino = rno; in ntfs_new_inode()