Home
last modified time | relevance | path

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

/linux-2.6.39/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.c219 inode->i_mode = fs16_to_cpu(sbi, raw_inode->i_mode); in sysv_iget()
220 inode->i_uid = (uid_t)fs16_to_cpu(sbi, raw_inode->i_uid); in sysv_iget()
221 inode->i_gid = (gid_t)fs16_to_cpu(sbi, raw_inode->i_gid); in sysv_iget()
222 inode->i_nlink = fs16_to_cpu(sbi, raw_inode->i_nlink); in sysv_iget()
Ddir.c102 fs16_to_cpu(SYSV_SB(sb), de->inode), in sysv_readdir()
373 res = fs16_to_cpu(SYSV_SB(dentry->d_sb), de->inode); in sysv_inode_by_name()
Dsysv.h223 static inline __u16 fs16_to_cpu(struct sysv_sb_info *sbi, __fs16 n) in fs16_to_cpu() function
/linux-2.6.39/fs/ufs/
Ddir.c94 unsigned len = fs16_to_cpu(dir->i_sb, de->d_reclen); in ufs_set_link()
131 rec_len = fs16_to_cpu(sb, p->d_reclen); in ufs_check_page()
227 fs16_to_cpu(sb, p->d_reclen)); in ufs_next_entry()
367 rec_len = fs16_to_cpu(sb, de->d_reclen); in ufs_add_link()
503 filp->f_pos += fs16_to_cpu(sb, de->d_reclen); in ufs_readdir()
521 unsigned to = ((char*)dir - kaddr) + fs16_to_cpu(sb, dir->d_reclen); in ufs_delete_entry()
531 fs16_to_cpu(sb, de->d_reclen), in ufs_delete_entry()
594 ((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()
Dswab.h80 fs16_to_cpu(struct super_block *sbp, __fs16 n) in fs16_to_cpu() function
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()
Dinode.c591 inode->i_mode = mode = fs16_to_cpu(sb, ufs_inode->ui_mode); in ufs1_read_inode()
592 inode->i_nlink = fs16_to_cpu(sb, ufs_inode->ui_nlink); in ufs1_read_inode()
639 inode->i_mode = mode = fs16_to_cpu(sb, ufs2_inode->ui_mode); in ufs2_read_inode()
640 inode->i_nlink = fs16_to_cpu(sb, ufs2_inode->ui_nlink); in ufs2_read_inode()
Dsuper.c259 printk(" ncyl: %u\n", fs16_to_cpu(sb, cg->cg_ncyl)); in ufs_print_cylinder_stuff()
260 printk(" niblk: %u\n", fs16_to_cpu(sb, cg->cg_niblk)); in ufs_print_cylinder_stuff()
/linux-2.6.39/fs/befs/
Dbtree.c220 fs16_to_cpu(sb, node->od_node->all_key_count); in befs_bt_read_node()
222 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.c338 int len = fs16_to_cpu(sb, array[j].len); in befs_find_brun_indirect()
345 fs16_to_cpu(sb, array[j].start) + offset; in befs_find_brun_indirect()
347 fs16_to_cpu(sb, array[j].len) - offset; in befs_find_brun_indirect()
Ddebug.c277 fs16_to_cpu(sb, node->all_key_count)); in befs_dump_index_node()
279 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