Home
last modified time | relevance | path

Searched refs:fs16_to_cpu (Results 1 – 22 of 22) sorted by relevance

/linux/fs/freevxfs/
H A Dvxfs_lookup.c97 pg_ofs += fs16_to_cpu(sbi, de->d_reclen); in vxfs_find_entry()
98 pos += fs16_to_cpu(sbi, de->d_reclen); in vxfs_find_entry()
102 if (namelen != fs16_to_cpu(sbi, de->d_namelen)) in vxfs_find_entry()
247 pg_ofs += fs16_to_cpu(sbi, de->d_reclen); in vxfs_readdir()
248 pos += fs16_to_cpu(sbi, de->d_reclen); in vxfs_readdir()
253 fs16_to_cpu(sbi, de->d_namelen), in vxfs_readdir()
258 pos -= fs16_to_cpu(sbi, de->d_reclen); in vxfs_readdir()
H A Dvxfs_dir.h66 ((sizeof(short) * fs16_to_cpu(sbi, dbp->d_nhash)) + 4)
H A Dvxfs.h151 static inline u16 fs16_to_cpu(struct vxfs_sb_info *sbi, __fs16 a) in fs16_to_cpu() function
/linux/fs/sysv/
H A Dballoc.c65 count = fs16_to_cpu(sbi, *sbi->s_bcache_count); in sysv_free_block()
109 count = fs16_to_cpu(sbi, *sbi->s_bcache_count); in sysv_new_block()
137 count = fs16_to_cpu(sbi, *(__fs16*)bh->b_data); in sysv_new_block()
185 n = fs16_to_cpu(sbi, *sbi->s_bcache_count); in sysv_count_free_blocks()
207 n = fs16_to_cpu(sbi, *(__fs16*)bh->b_data); in sysv_count_free_blocks()
H A Dsuper.c75 sbi->s_firstdatazone = fs16_to_cpu(sbi, sbd1->s_isize); in detected_xenix()
103 sbi->s_firstdatazone = fs16_to_cpu(sbi, sbd->s_isize); in detected_sysv4()
131 sbi->s_firstdatazone = fs16_to_cpu(sbi, sbd->s_isize); in detected_sysv2()
154 sbi->s_firstdatazone = fs16_to_cpu(sbi, sbd->s_isize); in detected_coherent()
175 sbi->s_firstdatazone = fs16_to_cpu(sbi, sbd->s_isize); in detected_v7()
217 if (fs16_to_cpu(sbi, sbd->s_nfree) == 0xffff) { in detect_sysv()
449 if (fs16_to_cpu(sbi, v7sb->s_nfree) > V7_NICFREE || in v7_sanity_check()
450 fs16_to_cpu(sbi, v7sb->s_ninode) > V7_NICINOD || in v7_sanity_check()
461 if ((fs16_to_cpu(sbi, v7i->i_mode) & ~0777) != S_IFDIR || in v7_sanity_check()
H A Dialloc.c123 count = fs16_to_cpu(sbi, *sbi->s_sb_fic_count); in sysv_free_inode()
152 count = fs16_to_cpu(sbi, *sbi->s_sb_fic_count); in sysv_new_inode()
167 inode->i_ino = fs16_to_cpu(sbi, ino); in sysv_new_inode()
191 sb_count = fs16_to_cpu(sbi, *sbi->s_sb_total_free_inodes); in sysv_count_free_inodes()
H A Dinode.c198 inode->i_mode = fs16_to_cpu(sbi, raw_inode->i_mode); in sysv_iget()
199 i_uid_write(inode, (uid_t)fs16_to_cpu(sbi, raw_inode->i_uid)); in sysv_iget()
200 i_gid_write(inode, (gid_t)fs16_to_cpu(sbi, raw_inode->i_gid)); in sysv_iget()
201 set_nlink(inode, fs16_to_cpu(sbi, raw_inode->i_nlink)); in sysv_iget()
H A Ddir.c105 fs16_to_cpu(SYSV_SB(sb), de->inode), in sysv_readdir()
374 res = fs16_to_cpu(SYSV_SB(dentry->d_sb), de->inode); in sysv_inode_by_name()
H A Dsysv.h220 static inline __u16 fs16_to_cpu(struct sysv_sb_info *sbi, __fs16 n) in fs16_to_cpu() function
/linux/fs/ufs/
H A Ddir.c90 unsigned len = fs16_to_cpu(dir->i_sb, de->d_reclen); in ufs_set_link()
127 rec_len = fs16_to_cpu(sb, p->d_reclen); in ufs_check_folio()
226 fs16_to_cpu(sb, p->d_reclen)); in ufs_next_entry()
348 rec_len = fs16_to_cpu(sb, de->d_reclen); in ufs_add_link()
469 ctx->pos += fs16_to_cpu(sb, de->d_reclen); in ufs_readdir()
494 to = from + fs16_to_cpu(sb, dir->d_reclen); in ufs_delete_entry()
501 fs16_to_cpu(sb, de->d_reclen), in ufs_delete_entry()
563 ((char *)de + fs16_to_cpu(sb, de->d_reclen)); in ufs_make_empty()
H A Dcylinder.c55 ucpi->c_ncyl = fs16_to_cpu(sb, ucg->cg_ncyl); in ufs_read_cylinder()
56 ucpi->c_niblk = fs16_to_cpu(sb, ucg->cg_niblk); in ufs_read_cylinder()
H A Dswab.h81 fs16_to_cpu(struct super_block *sbp, __fs16 n) in fs16_to_cpu() function
H A Dutil.h135 return fs16_to_cpu(sb, de->d_u.d_namlen); in ufs_get_de_namlen()
196 return fs16_to_cpu(sb, inode->ui_u1.oldids.ui_suid); in ufs_get_inode_uid()
230 return fs16_to_cpu(sb, inode->ui_u1.oldids.ui_sgid); in ufs_get_inode_gid()
H A Dinode.c573 inode->i_mode = mode = fs16_to_cpu(sb, ufs_inode->ui_mode); in ufs1_read_inode()
574 set_nlink(inode, fs16_to_cpu(sb, ufs_inode->ui_nlink)); in ufs1_read_inode()
622 inode->i_mode = mode = fs16_to_cpu(sb, ufs2_inode->ui_mode); in ufs2_read_inode()
623 set_nlink(inode, fs16_to_cpu(sb, ufs2_inode->ui_nlink)); in ufs2_read_inode()
H A Dsuper.c237 pr_debug(" ncyl: %u\n", fs16_to_cpu(sb, cg->cg_ncyl)); in ufs_print_cylinder_stuff()
238 pr_debug(" niblk: %u\n", fs16_to_cpu(sb, cg->cg_niblk)); in ufs_print_cylinder_stuff()
/linux/fs/befs/
H A Dbtree.c218 fs16_to_cpu(sb, node->od_node->all_key_count); in befs_bt_read_node()
220 fs16_to_cpu(sb, node->od_node->all_key_length); in befs_bt_read_node()
693 prev_key_end = fs16_to_cpu(sb, keylen_index[index - 1]); in befs_bt_get_key()
695 *keylen = fs16_to_cpu(sb, keylen_index[index]) - prev_key_end; in befs_bt_get_key()
H A Ddatastream.c340 int len = fs16_to_cpu(sb, array[j].len); in befs_find_brun_indirect()
347 fs16_to_cpu(sb, array[j].start) + offset; in befs_find_brun_indirect()
349 fs16_to_cpu(sb, array[j].len) - offset; in befs_find_brun_indirect()
H A Ddebug.c257 fs16_to_cpu(sb, node->all_key_count)); in befs_dump_index_node()
259 fs16_to_cpu(sb, node->all_key_length)); in befs_dump_index_node()
H A Dendian.h52 fs16_to_cpu(const struct super_block *sb, fs16 n) in fs16_to_cpu() function
/linux/fs/qnx6/
H A Ddir.c88 lf_size = fs16_to_cpu(sbi, lf->lf_size); in qnx6_dir_longfilename()
191 thislen = fs16_to_cpu(sbi, lf->lf_size); in qnx6_long_match()
H A Dqnx6.h110 static inline __u16 fs16_to_cpu(struct qnx6_sb_info *sbi, __fs16 n) in fs16_to_cpu() function
H A Dinode.c552 inode->i_mode = fs16_to_cpu(sbi, raw_inode->di_mode); in qnx6_iget()