Home
last modified time | relevance | path

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

/linux-4.19.296/fs/freevxfs/
Dvxfs_lookup.c121 pg_ofs += fs16_to_cpu(sbi, de->d_reclen); in vxfs_find_entry()
122 pos += fs16_to_cpu(sbi, de->d_reclen); in vxfs_find_entry()
126 if (namelen != fs16_to_cpu(sbi, de->d_namelen)) in vxfs_find_entry()
272 pg_ofs += fs16_to_cpu(sbi, de->d_reclen); in vxfs_readdir()
273 pos += fs16_to_cpu(sbi, de->d_reclen); in vxfs_readdir()
278 fs16_to_cpu(sbi, de->d_namelen), in vxfs_readdir()
283 pos -= fs16_to_cpu(sbi, de->d_reclen); in vxfs_readdir()
Dvxfs_dir.h91 ((sizeof(short) * fs16_to_cpu(sbi, dbp->d_nhash)) + 4)
Dvxfs.h176 static inline u16 fs16_to_cpu(struct vxfs_sb_info *sbi, __fs16 a) in fs16_to_cpu() function
/linux-4.19.296/fs/sysv/
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()
Dsuper.c74 sbi->s_firstdatazone = fs16_to_cpu(sbi, sbd1->s_isize); in detected_xenix()
102 sbi->s_firstdatazone = fs16_to_cpu(sbi, sbd->s_isize); in detected_sysv4()
130 sbi->s_firstdatazone = fs16_to_cpu(sbi, sbd->s_isize); in detected_sysv2()
153 sbi->s_firstdatazone = fs16_to_cpu(sbi, sbd->s_isize); in detected_coherent()
174 sbi->s_firstdatazone = fs16_to_cpu(sbi, sbd->s_isize); in detected_v7()
216 if (fs16_to_cpu(sbi, sbd->s_nfree) == 0xffff) { in detect_sysv()
448 if (fs16_to_cpu(sbi, v7sb->s_nfree) > V7_NICFREE || in v7_sanity_check()
449 fs16_to_cpu(sbi, v7sb->s_ninode) > V7_NICINOD || in v7_sanity_check()
460 if ((fs16_to_cpu(sbi, v7i->i_mode) & ~0777) != S_IFDIR || in v7_sanity_check()
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()
Dinode.c199 inode->i_mode = fs16_to_cpu(sbi, raw_inode->i_mode); in sysv_iget()
200 i_uid_write(inode, (uid_t)fs16_to_cpu(sbi, raw_inode->i_uid)); in sysv_iget()
201 i_gid_write(inode, (gid_t)fs16_to_cpu(sbi, raw_inode->i_gid)); in sysv_iget()
202 set_nlink(inode, fs16_to_cpu(sbi, raw_inode->i_nlink)); in sysv_iget()
Ddir.c97 fs16_to_cpu(SYSV_SB(sb), de->inode), in sysv_readdir()
364 res = fs16_to_cpu(SYSV_SB(dentry->d_sb), de->inode); in sysv_inode_by_name()
Dsysv.h222 static inline __u16 fs16_to_cpu(struct sysv_sb_info *sbi, __fs16 n) in fs16_to_cpu() function
/linux-4.19.296/fs/ufs/
Ddir.c92 unsigned len = fs16_to_cpu(dir->i_sb, de->d_reclen); in ufs_set_link()
130 rec_len = fs16_to_cpu(sb, p->d_reclen); in ufs_check_page()
226 fs16_to_cpu(sb, p->d_reclen)); in ufs_next_entry()
360 rec_len = fs16_to_cpu(sb, de->d_reclen); in ufs_add_link()
483 ctx->pos += fs16_to_cpu(sb, de->d_reclen); in ufs_readdir()
501 unsigned to = ((char*)dir - kaddr) + fs16_to_cpu(sb, dir->d_reclen); in ufs_delete_entry()
511 fs16_to_cpu(sb, de->d_reclen), in ufs_delete_entry()
574 ((char *)de + fs16_to_cpu(sb, de->d_reclen)); in ufs_make_empty()
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()
Dswab.h81 fs16_to_cpu(struct super_block *sbp, __fs16 n) in fs16_to_cpu() function
Dutil.h141 return fs16_to_cpu(sb, de->d_u.d_namlen); in ufs_get_de_namlen()
202 return fs16_to_cpu(sb, inode->ui_u1.oldids.ui_suid); in ufs_get_inode_uid()
236 return fs16_to_cpu(sb, inode->ui_u1.oldids.ui_sgid); in ufs_get_inode_gid()
Dinode.c569 inode->i_mode = mode = fs16_to_cpu(sb, ufs_inode->ui_mode); in ufs1_read_inode()
570 set_nlink(inode, fs16_to_cpu(sb, ufs_inode->ui_nlink)); in ufs1_read_inode()
615 inode->i_mode = mode = fs16_to_cpu(sb, ufs2_inode->ui_mode); in ufs2_read_inode()
616 set_nlink(inode, fs16_to_cpu(sb, ufs2_inode->ui_nlink)); in ufs2_read_inode()
Dsuper.c236 pr_debug(" ncyl: %u\n", fs16_to_cpu(sb, cg->cg_ncyl)); in ufs_print_cylinder_stuff()
237 pr_debug(" niblk: %u\n", fs16_to_cpu(sb, cg->cg_niblk)); in ufs_print_cylinder_stuff()
/linux-4.19.296/fs/befs/
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()
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()
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()
Dendian.h52 fs16_to_cpu(const struct super_block *sb, fs16 n) in fs16_to_cpu() function
/linux-4.19.296/fs/qnx6/
Ddir.c85 lf_size = fs16_to_cpu(sbi, lf->lf_size); in qnx6_dir_longfilename()
187 thislen = fs16_to_cpu(sbi, lf->lf_size); in qnx6_long_match()
Dqnx6.h110 static inline __u16 fs16_to_cpu(struct qnx6_sb_info *sbi, __fs16 n) in fs16_to_cpu() function
Dinode.c558 inode->i_mode = fs16_to_cpu(sbi, raw_inode->di_mode); in qnx6_iget()