Home
last modified time | relevance | path

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

/linux-6.1.9/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()
345 if (mi->rno < sbi->mft.recs_mirr) in mi_write()
353 int mi_format_new(struct mft_inode *mi, struct ntfs_sb_info *sbi, CLST rno, in mi_format_new() argument
359 u64 vbo = (u64)rno << sbi->record_bits; in mi_format_new()
361 err = mi_init(mi, sbi, rno); in mi_format_new()
367 if (rno == MFT_REC_MFT) { in mi_format_new()
[all …]
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()
139 int ni_load_mi_ex(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi) in ni_load_mi_ex() argument
144 r = ni_find_mi(ni, rno); in ni_load_mi_ex()
148 err = mi_get(ni->mi.sbi, rno, &r); in ni_load_mi_ex()
166 CLST rno; in ni_load_mi() local
173 rno = ino_get(&le->ref); in ni_load_mi()
[all …]
Dntfs_fs.h321 CLST rno; member
506 int ni_load_mi_ex(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi);
521 bool ni_add_subrecord(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi);
590 int ntfs_look_free_mft(struct ntfs_sb_info *sbi, CLST *rno, bool mft,
592 void ntfs_mark_rec_free(struct ntfs_sb_info *sbi, CLST rno, bool is_mft);
725 int mi_get(struct ntfs_sb_info *sbi, CLST rno, struct mft_inode **mi);
727 int mi_init(struct mft_inode *mi, struct ntfs_sb_info *sbi, CLST rno);
741 int mi_format_new(struct mft_inode *mi, struct ntfs_sb_info *sbi, CLST rno,
755 if (le32_to_cpu(ref->low) != mi->rno) in mi_is_ref()
761 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.c2948 const struct ATTRIB *attr, CLST rno) in find_loaded_attr() argument
2955 if (ino_get(&oe->ref) != rno) in find_loaded_attr()
3022 CLST rno = 0, rno_base = 0; in do_action() local
3069 rno = vbo >> sbi->record_bits; in do_action()
3070 inode = ilookup(sbi->sb, rno); in do_action()
3077 err = mi_format_new(mi, sbi, rno, 0, false); in do_action()
3082 err = mi_get(sbi, rno, &mi); in do_action()
3102 rno_base = rno; in do_action()
3116 if (ni_load_mi_ex(ntfs_i(inode_parent), rno, &mi2_child)) { in do_action()
3735 CLST rno, lcn, lcn0, len0, clen; in log_replay() local
[all …]
Dattrlist.c76 err = run_unpack_ex(&ni->attr_list.run, ni->mi.sbi, ni->mi.rno, in ntfs_load_attr_list()
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()
1248 err = run_unpack_ex(run, ni->mi.sbi, ni->mi.rno, svcn, evcn, svcn, in attr_load_runs_vcn()
1922 run_unpack_ex(RUN_DEALLOCATE, sbi, ni->mi.rno, svcn, in attr_collapse_range()
Dinode.c1701 if (ntfs_is_meta_file(sbi, ni->mi.rno)) in ntfs_unlink_inode()
/linux-6.1.9/drivers/pinctrl/
Dpinctrl-microchip-sgpio.c145 static inline u32 sgpio_get_addr(struct sgpio_priv *priv, u32 rno, u32 off) in sgpio_get_addr() argument
147 return (priv->properties->regoff[rno] + off) * in sgpio_get_addr()
151 static u32 sgpio_readl(struct sgpio_priv *priv, u32 rno, u32 off) in sgpio_readl() argument
153 u32 addr = sgpio_get_addr(priv, rno, off); in sgpio_readl()
164 u32 val, u32 rno, u32 off) in sgpio_writel() argument
166 u32 addr = sgpio_get_addr(priv, rno, off); in sgpio_writel()
174 u32 rno, u32 off, u32 clear, u32 set) in sgpio_clrsetbits() argument
176 u32 addr = sgpio_get_addr(priv, rno, off); in sgpio_clrsetbits()