Home
last modified time | relevance | path

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

/linux/fs/ntfs3/
H A 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()
401 if (mi->rno < sbi->mft.recs_mirr) in mi_write()
409 int mi_format_new(struct mft_inode *mi, struct ntfs_sb_info *sbi, CLST rno, in mi_format_new() argument
415 u64 vbo = (u64)rno << sbi->record_bits; in mi_format_new()
417 err = mi_init(mi, sbi, rno); in mi_format_new()
423 if (rno == MFT_REC_MFT) { in mi_format_new()
[all …]
H A Dntfs_fs.h331 CLST rno; member
522 int ni_load_mi_ex(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi);
537 bool ni_add_subrecord(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi);
608 int ntfs_look_free_mft(struct ntfs_sb_info *sbi, CLST *rno, bool mft,
610 void ntfs_mark_rec_free(struct ntfs_sb_info *sbi, CLST rno, bool is_mft);
744 int mi_get(struct ntfs_sb_info *sbi, CLST rno, struct mft_inode **mi);
746 int mi_init(struct mft_inode *mi, struct ntfs_sb_info *sbi, CLST rno);
760 int mi_format_new(struct mft_inode *mi, struct ntfs_sb_info *sbi, CLST rno,
774 if (le32_to_cpu(ref->low) != mi->rno) in mi_is_ref()
780 return le16_to_cpu(ref->high) == (mi->rno >> 32); in mi_is_ref()
[all …]
H A Dfrecord.c31 if (mi->rno > ino) in ni_ins_mi()
33 else if (mi->rno < ino) in ni_ins_mi()
50 static struct mft_inode *ni_find_mi(struct ntfs_inode *ni, CLST rno) in ni_find_mi() argument
52 return ni_ins_mi(ni, &ni->mi_tree, rno, NULL); in ni_find_mi()
60 ni_ins_mi(ni, &ni->mi_tree, mi->rno, &mi->node); in ni_add_mi()
141 int ni_load_mi_ex(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi) in ni_load_mi_ex() argument
146 r = ni_find_mi(ni, rno); in ni_load_mi_ex()
150 err = mi_get(ni->mi.sbi, rno, &r); in ni_load_mi_ex()
168 CLST rno; in ni_load_mi() local
175 rno = ino_get(&le->ref); in ni_load_mi()
[all …]
H A Dfsntfs.c556 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()
[all …]
H A Dfslog.c2969 const struct ATTRIB *attr, CLST rno) in find_loaded_attr() argument
2976 if (ino_get(&oe->ref) != rno) in find_loaded_attr()
3043 CLST rno = 0, rno_base = 0; in do_action() local
3090 rno = vbo >> sbi->record_bits; in do_action()
3091 inode = ilookup(sbi->sb, rno); in do_action()
3098 err = mi_format_new(mi, sbi, rno, 0, false); in do_action()
3103 err = mi_get(sbi, rno, &mi); in do_action()
3123 rno_base = rno; in do_action()
3137 if (ni_load_mi_ex(ntfs_i(inode_parent), rno, &mi2_child)) { in do_action()
3755 CLST rno, lcn, lcn0, len0, clen; in log_replay() local
[all …]
H A Dattrlist.c77 err = run_unpack_ex(&ni->attr_list.run, ni->mi.sbi, ni->mi.rno, in ntfs_load_attr_list()
H A Dattrib.c81 err = run_unpack_ex(run, ni->mi.sbi, ni->mi.rno, svcn, evcn, in attr_load_runs()
410 bool is_mft = ni->mi.rno == MFT_REC_MFT && type == ATTR_DATA && in attr_set_size()
676 if (ni->mi.rno != MFT_REC_MFT) in attr_set_size()
1337 err = run_unpack_ex(run, ni->mi.sbi, ni->mi.rno, svcn, evcn, svcn, in attr_load_runs_vcn()
2018 run_unpack_ex(RUN_DEALLOCATE, sbi, ni->mi.rno, svcn, in attr_collapse_range()
H A Ddir.c334 ino != ni->mi.rno) { in ntfs_dir_emit()
H A Dinode.c1757 if (ntfs_is_meta_file(sbi, ni->mi.rno)) in ntfs_unlink_inode()
/linux/drivers/pinctrl/
H A Dpinctrl-microchip-sgpio.c147 static inline u32 sgpio_get_addr(struct sgpio_priv *priv, u32 rno, u32 off) in sgpio_get_addr() argument
149 return (priv->properties->regoff[rno] + off) * in sgpio_get_addr()
153 static u32 sgpio_readl(struct sgpio_priv *priv, u32 rno, u32 off) in sgpio_readl() argument
155 u32 addr = sgpio_get_addr(priv, rno, off); in sgpio_readl()
166 u32 val, u32 rno, u32 off) in sgpio_writel() argument
168 u32 addr = sgpio_get_addr(priv, rno, off); in sgpio_writel()
176 u32 rno, u32 off, u32 clear, u32 set) in sgpio_clrsetbits() argument
178 u32 addr = sgpio_get_addr(priv, rno, off); in sgpio_clrsetbits()