Home
last modified time | relevance | path

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

/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()
276 pg_ofs += fs16_to_cpu(sbi, de->d_reclen); in vxfs_readdir()
277 pos += fs16_to_cpu(sbi, de->d_reclen); in vxfs_readdir()
282 fs16_to_cpu(sbi, de->d_namelen), in vxfs_readdir()
287 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
/fs/sysv/
Dballoc.c64 count = fs16_to_cpu(sbi, *sbi->s_bcache_count); in sysv_free_block()
108 count = fs16_to_cpu(sbi, *sbi->s_bcache_count); in sysv_new_block()
136 count = fs16_to_cpu(sbi, *(__fs16*)bh->b_data); in sysv_new_block()
184 n = fs16_to_cpu(sbi, *sbi->s_bcache_count); in sysv_count_free_blocks()
206 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.c122 count = fs16_to_cpu(sbi, *sbi->s_sb_fic_count); in sysv_free_inode()
151 count = fs16_to_cpu(sbi, *sbi->s_sb_fic_count); in sysv_new_inode()
166 inode->i_ino = fs16_to_cpu(sbi, ino); in sysv_new_inode()
190 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.c96 fs16_to_cpu(SYSV_SB(sb), de->inode), in sysv_readdir()
363 res = fs16_to_cpu(SYSV_SB(dentry->d_sb), de->inode); in sysv_inode_by_name()
Dsysv.h221 static inline __u16 fs16_to_cpu(struct sysv_sb_info *sbi, __fs16 n) in fs16_to_cpu() function
/fs/ufs/
Ddir.c90 unsigned len = fs16_to_cpu(dir->i_sb, de->d_reclen); in ufs_set_link()
128 rec_len = fs16_to_cpu(sb, p->d_reclen); in ufs_check_page()
224 fs16_to_cpu(sb, p->d_reclen)); in ufs_next_entry()
358 rec_len = fs16_to_cpu(sb, de->d_reclen); in ufs_add_link()
481 ctx->pos += fs16_to_cpu(sb, de->d_reclen); in ufs_readdir()
499 unsigned to = ((char*)dir - kaddr) + fs16_to_cpu(sb, dir->d_reclen); in ufs_delete_entry()
509 fs16_to_cpu(sb, de->d_reclen), in ufs_delete_entry()
572 ((char *)de + fs16_to_cpu(sb, de->d_reclen)); in ufs_make_empty()
Dcylinder.c54 ucpi->c_ncyl = fs16_to_cpu(sb, ucg->cg_ncyl); in ufs_read_cylinder()
55 ucpi->c_niblk = fs16_to_cpu(sb, ucg->cg_niblk); in ufs_read_cylinder()
Dutil.h140 return fs16_to_cpu(sb, de->d_u.d_namlen); in ufs_get_de_namlen()
201 return fs16_to_cpu(sb, inode->ui_u1.oldids.ui_suid); in ufs_get_inode_uid()
235 return fs16_to_cpu(sb, inode->ui_u1.oldids.ui_sgid); in ufs_get_inode_gid()
Dswab.h80 fs16_to_cpu(struct super_block *sbp, __fs16 n) in fs16_to_cpu() function
Dinode.c555 inode->i_mode = mode = fs16_to_cpu(sb, ufs_inode->ui_mode); in ufs1_read_inode()
556 set_nlink(inode, fs16_to_cpu(sb, ufs_inode->ui_nlink)); in ufs1_read_inode()
603 inode->i_mode = mode = fs16_to_cpu(sb, ufs2_inode->ui_mode); in ufs2_read_inode()
604 set_nlink(inode, fs16_to_cpu(sb, ufs2_inode->ui_nlink)); in ufs2_read_inode()
Dsuper.c235 pr_debug(" ncyl: %u\n", fs16_to_cpu(sb, cg->cg_ncyl)); in ufs_print_cylinder_stuff()
236 pr_debug(" niblk: %u\n", fs16_to_cpu(sb, cg->cg_niblk)); in ufs_print_cylinder_stuff()
/fs/befs/
Dbtree.c221 fs16_to_cpu(sb, node->od_node->all_key_count); in befs_bt_read_node()
223 fs16_to_cpu(sb, node->od_node->all_key_length); in befs_bt_read_node()
696 prev_key_end = fs16_to_cpu(sb, keylen_index[index - 1]); in befs_bt_get_key()
698 *keylen = fs16_to_cpu(sb, keylen_index[index]) - prev_key_end; in befs_bt_get_key()
Ddatastream.c341 int len = fs16_to_cpu(sb, array[j].len); in befs_find_brun_indirect()
348 fs16_to_cpu(sb, array[j].start) + offset; in befs_find_brun_indirect()
350 fs16_to_cpu(sb, array[j].len) - offset; in befs_find_brun_indirect()
Ddebug.c254 fs16_to_cpu(sb, node->all_key_count)); in befs_dump_index_node()
256 fs16_to_cpu(sb, node->all_key_length)); in befs_dump_index_node()
Dendian.h51 fs16_to_cpu(const struct super_block *sb, fs16 n) in fs16_to_cpu() function
/fs/qnx6/
Ddir.c84 lf_size = fs16_to_cpu(sbi, lf->lf_size); in qnx6_dir_longfilename()
186 thislen = fs16_to_cpu(sbi, lf->lf_size); in qnx6_long_match()
Dqnx6.h109 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()