Home
last modified time | relevance | path

Searched refs:rno (Results 1 – 9 of 9) sorted by relevance

/fs/ntfs3/
Drecord.c71 int mi_get(struct ntfs_sb_info *sbi, CLST rno, struct mft_inode **mi) in mi_get() argument
79 err = mi_init(m, sbi, rno); in mi_get()
101 int mi_init(struct mft_inode *mi, struct ntfs_sb_info *sbi, CLST rno) in mi_init() argument
104 mi->rno = rno; in mi_init()
121 u64 vbo = (u64)mi->rno << sbi->record_bits; in mi_read()
346 if (mi->rno < sbi->mft.recs_mirr) in mi_write()
354 int mi_format_new(struct mft_inode *mi, struct ntfs_sb_info *sbi, CLST rno, in mi_format_new() argument
360 u64 vbo = (u64)rno << sbi->record_bits; in mi_format_new()
362 err = mi_init(mi, sbi, rno); in mi_format_new()
368 if (rno == MFT_REC_MFT) { in mi_format_new()
[all …]
Dfrecord.c30 if (mi->rno > ino) in ni_ins_mi()
32 else if (mi->rno < ino) in ni_ins_mi()
49 static struct mft_inode *ni_find_mi(struct ntfs_inode *ni, CLST rno) in ni_find_mi() argument
51 return ni_ins_mi(ni, &ni->mi_tree, rno, NULL); in ni_find_mi()
59 ni_ins_mi(ni, &ni->mi_tree, mi->rno, &mi->node); in ni_add_mi()
138 int ni_load_mi_ex(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi) in ni_load_mi_ex() argument
143 r = ni_find_mi(ni, rno); in ni_load_mi_ex()
147 err = mi_get(ni->mi.sbi, rno, &r); in ni_load_mi_ex()
165 CLST rno; in ni_load_mi() local
172 rno = ino_get(&le->ref); in ni_load_mi()
[all …]
Dntfs_fs.h323 CLST rno; member
509 int ni_load_mi_ex(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi);
524 bool ni_add_subrecord(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi);
595 int ntfs_look_free_mft(struct ntfs_sb_info *sbi, CLST *rno, bool mft,
597 void ntfs_mark_rec_free(struct ntfs_sb_info *sbi, CLST rno);
723 int mi_get(struct ntfs_sb_info *sbi, CLST rno, struct mft_inode **mi);
725 int mi_init(struct mft_inode *mi, struct ntfs_sb_info *sbi, CLST rno);
739 int mi_format_new(struct mft_inode *mi, struct ntfs_sb_info *sbi, CLST rno,
754 if (le32_to_cpu(ref->low) != mi->rno) in mi_is_ref()
760 return le16_to_cpu(ref->high) == (mi->rno >> 32); in mi_is_ref()
[all …]
Dfsntfs.c527 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()
[all …]
Dfslog.c2952 const struct ATTRIB *attr, CLST rno) in find_loaded_attr() argument
2959 if (ino_get(&oe->ref) != rno) in find_loaded_attr()
3026 CLST rno = 0, rno_base = 0; in do_action() local
3073 rno = vbo >> sbi->record_bits; in do_action()
3074 inode = ilookup(sbi->sb, rno); in do_action()
3081 err = mi_format_new(mi, sbi, rno, 0, false); in do_action()
3086 err = mi_get(sbi, rno, &mi); in do_action()
3106 rno_base = rno; in do_action()
3120 if (ni_load_mi_ex(ntfs_i(inode_parent), rno, &mi2_child)) { in do_action()
3739 CLST rno, lcn, lcn0, len0, clen; in log_replay() local
[all …]
Dattrib.c108 err = run_unpack_ex(run, ni->mi.sbi, ni->mi.rno, svcn, evcn, in attr_load_runs()
419 ni->mi.rno == MFT_REC_MFT && type == ATTR_DATA && !name_len; in attr_set_size()
1173 err = run_unpack_ex(run, ni->mi.sbi, ni->mi.rno, svcn, evcn, svcn, in attr_load_runs_vcn()
1855 run_unpack_ex(RUN_DEALLOCATE, sbi, ni->mi.rno, svcn, in attr_collapse_range()
Dattrlist.c77 err = run_unpack_ex(&ni->attr_list.run, ni->mi.sbi, ni->mi.rno, in ntfs_load_attr_list()
Ddir.c330 ino != ni->mi.rno) { in ntfs_filldir()
Dinode.c1732 if (ntfs_is_meta_file(sbi, ni->mi.rno)) in ntfs_unlink_inode()