/fs/ufs/ |
D | super.c | 176 u32 magic = fs32_to_cpu(sb, usb3->fs_magic); in ufs_print_super_stuff() 180 if (fs32_to_cpu(sb, usb3->fs_magic) == UFS2_MAGIC) { in ufs_print_super_stuff() 186 fs32_to_cpu(sb, usb1->fs_bsize)); in ufs_print_super_stuff() 188 fs32_to_cpu(sb, usb1->fs_fsize)); in ufs_print_super_stuff() 204 fs32_to_cpu(sb, usb3->fs_un2.fs_44.fs_maxsymlinklen)); in ufs_print_super_stuff() 206 printk(" sblkno: %u\n", fs32_to_cpu(sb, usb1->fs_sblkno)); in ufs_print_super_stuff() 207 printk(" cblkno: %u\n", fs32_to_cpu(sb, usb1->fs_cblkno)); in ufs_print_super_stuff() 208 printk(" iblkno: %u\n", fs32_to_cpu(sb, usb1->fs_iblkno)); in ufs_print_super_stuff() 209 printk(" dblkno: %u\n", fs32_to_cpu(sb, usb1->fs_dblkno)); in ufs_print_super_stuff() 211 fs32_to_cpu(sb, usb1->fs_cgoffset)); in ufs_print_super_stuff() [all …]
|
D | cylinder.c | 53 ucpi->c_cgx = fs32_to_cpu(sb, ucg->cg_cgx); in ufs_read_cylinder() 56 ucpi->c_ndblk = fs32_to_cpu(sb, ucg->cg_ndblk); in ufs_read_cylinder() 57 ucpi->c_rotor = fs32_to_cpu(sb, ucg->cg_rotor); in ufs_read_cylinder() 58 ucpi->c_frotor = fs32_to_cpu(sb, ucg->cg_frotor); in ufs_read_cylinder() 59 ucpi->c_irotor = fs32_to_cpu(sb, ucg->cg_irotor); in ufs_read_cylinder() 60 ucpi->c_btotoff = fs32_to_cpu(sb, ucg->cg_btotoff); in ufs_read_cylinder() 61 ucpi->c_boff = fs32_to_cpu(sb, ucg->cg_boff); in ufs_read_cylinder() 62 ucpi->c_iusedoff = fs32_to_cpu(sb, ucg->cg_iusedoff); in ufs_read_cylinder() 63 ucpi->c_freeoff = fs32_to_cpu(sb, ucg->cg_freeoff); in ufs_read_cylinder() 64 ucpi->c_nextfreeoff = fs32_to_cpu(sb, ucg->cg_nextfreeoff); in ufs_read_cylinder() [all …]
|
D | util.h | 42 if (fs32_to_cpu(sb, usb3->fs_postblformat) == UFS_42POSTBLFMT) in ufs_get_fs_state() 43 return fs32_to_cpu(sb, usb1->fs_u0.fs_sun.fs_state); in ufs_get_fs_state() 46 return fs32_to_cpu(sb, usb3->fs_un2.fs_sun.fs_state); in ufs_get_fs_state() 48 return fs32_to_cpu(sb, usb1->fs_u1.fs_sunx86.fs_state); in ufs_get_fs_state() 51 return fs32_to_cpu(sb, usb3->fs_un2.fs_44.fs_state); in ufs_get_fs_state() 61 if (fs32_to_cpu(sb, usb3->fs_postblformat) == UFS_42POSTBLFMT) { in ufs_set_fs_state() 83 return fs32_to_cpu(sb, usb3->fs_un2.fs_sunx86.fs_npsect); in ufs_get_fs_npsect() 85 return fs32_to_cpu(sb, usb1->fs_u1.fs_sun.fs_npsect); in ufs_get_fs_npsect() 195 return fs32_to_cpu(sb, inode->ui_u3.ui_44.ui_uid); in ufs_get_inode_uid() 198 return fs32_to_cpu(sb, inode->ui_u3.ui_sun.ui_uid); in ufs_get_inode_uid() [all …]
|
D | inode.c | 120 bh = sb_bread(sb, uspi->s_sbbase + fs32_to_cpu(sb, block)+(n>>shift)); in ufs_frag_map() 128 ret = (u64) (uspi->s_sbbase + fs32_to_cpu(sb, block) + (frag & uspi->s_fpbmask)); in ufs_frag_map() 378 (tmp = fs32_to_cpu(sb, ((__fs32 *)bh->b_data)[block-1])))) in ufs_inode_getblock() 604 inode->i_atime.tv_sec = fs32_to_cpu(sb, ufs_inode->ui_atime.tv_sec); in ufs1_read_inode() 605 inode->i_ctime.tv_sec = fs32_to_cpu(sb, ufs_inode->ui_ctime.tv_sec); in ufs1_read_inode() 606 inode->i_mtime.tv_sec = fs32_to_cpu(sb, ufs_inode->ui_mtime.tv_sec); in ufs1_read_inode() 610 inode->i_blocks = fs32_to_cpu(sb, ufs_inode->ui_blocks); in ufs1_read_inode() 611 inode->i_generation = fs32_to_cpu(sb, ufs_inode->ui_gen); in ufs1_read_inode() 612 ufsi->i_flags = fs32_to_cpu(sb, ufs_inode->ui_flags); in ufs1_read_inode() 613 ufsi->i_shadow = fs32_to_cpu(sb, ufs_inode->ui_u3.ui_sun.ui_shadow); in ufs1_read_inode() [all …]
|
D | dir.c | 81 res = fs32_to_cpu(dir->i_sb, de->d_ino); in ufs_inode_by_name() 141 if (fs32_to_cpu(sb, p->d_ino) > (UFS_SB(sb)->s_uspi->s_ipg * in ufs_check_page() 488 fs32_to_cpu(sb, de->d_ino)); in ufs_readdir() 497 fs32_to_cpu(sb, de->d_ino), d_type); in ufs_readdir() 530 fs32_to_cpu(sb, de->d_ino), in ufs_delete_entry() 645 fs32_to_cpu(sb, de->d_ino)) in ufs_empty_dir()
|
D | ufs_fs.h | 521 (fs32_to_cpu((sb), (ucg)->cg_magic) == CG_MAGIC) 525 #define ufs_ocg_blktot(sb, ucg) fs32_to_cpu((sb), ((struct ufs_old_cylinder_group *)(ucg))->cg… 526 #define ufs_ocg_blks(sb, ucg, cylno) fs32_to_cpu((sb), ((struct ufs_old_cylinder_group *)(ucg))->cg… 527 #define ufs_ocg_inosused(sb, ucg) fs32_to_cpu((sb), ((struct ufs_old_cylinder_group *)(ucg))->cg… 528 #define ufs_ocg_blksfree(sb, ucg) fs32_to_cpu((sb), ((struct ufs_old_cylinder_group *)(ucg))->cg… 530 (fs32_to_cpu((sb), ((struct ufs_old_cylinder_group *)(ucg))->cg_magic) == CG_MAGIC)
|
D | ialloc.c | 138 fs32_to_cpu(sb, ucg->cg_u.cg_u2.cg_initediblk)); in ufs2_init_inodes_chunk() 271 u32 initediblk = fs32_to_cpu(sb, ucg->cg_u.cg_u2.cg_initediblk); in ufs_new_inode() 274 initediblk < fs32_to_cpu(sb, ucg->cg_u.cg_u2.cg_niblk)) in ufs_new_inode()
|
D | balloc.c | 454 switch (fs32_to_cpu(sb, usb1->fs_optim)) { in ufs_new_fragments() 516 if (fs32_to_cpu(sb, UFS_SB(sb)->fs_cs(cgno).cs_nffree) < count) in ufs_add_fragments() 543 if (!fs32_to_cpu(sb, ucg->cg_frsum[fragsize])) in ufs_add_fragments() 569 if (fs32_to_cpu(sb, ucg->cg_cs.cs_nbfree)) \ 572 if (fs32_to_cpu(sb, ucg->cg_frsum[k])) \ 642 if (fs32_to_cpu(sb, ucg->cg_frsum[allocsize]) != 0) in ufs_alloc_fragments()
|
D | util.c | 188 fs32 = fs32_to_cpu(sb, ufsi->i_u1.i_data[1]); in ufs_get_inode_dev() 190 fs32 = fs32_to_cpu(sb, ufsi->i_u1.i_data[0]); in ufs_get_inode_dev()
|
D | swab.h | 44 fs32_to_cpu(struct super_block *sbp, __fs32 n) in fs32_to_cpu() function
|
/fs/befs/ |
D | debug.c | 102 befs_debug(sb, " magic1 %08x", fs32_to_cpu(sb, inode->magic1)); in befs_dump_inode() 108 befs_debug(sb, " uid %u", fs32_to_cpu(sb, inode->uid)); in befs_dump_inode() 109 befs_debug(sb, " gid %u", fs32_to_cpu(sb, inode->gid)); in befs_dump_inode() 110 befs_debug(sb, " mode %08x", fs32_to_cpu(sb, inode->mode)); in befs_dump_inode() 111 befs_debug(sb, " flags %08x", fs32_to_cpu(sb, inode->flags)); in befs_dump_inode() 125 befs_debug(sb, " type %08x", fs32_to_cpu(sb, inode->type)); in befs_dump_inode() 126 befs_debug(sb, " inode_size %u", fs32_to_cpu(sb, inode->inode_size)); in befs_dump_inode() 128 if (S_ISLNK(fs32_to_cpu(sb, inode->mode))) { in befs_dump_inode() 187 befs_debug(sb, " magic1 %08x", fs32_to_cpu(sb, sup->magic1)); in befs_dump_super_block() 189 fs32_to_cpu(sb, sup->fs_byte_order)); in befs_dump_super_block() [all …]
|
D | super.c | 35 befs_sb->magic1 = fs32_to_cpu(sb, disk_sb->magic1); in befs_load_sb() 36 befs_sb->magic2 = fs32_to_cpu(sb, disk_sb->magic2); in befs_load_sb() 37 befs_sb->magic3 = fs32_to_cpu(sb, disk_sb->magic3); in befs_load_sb() 38 befs_sb->block_size = fs32_to_cpu(sb, disk_sb->block_size); in befs_load_sb() 39 befs_sb->block_shift = fs32_to_cpu(sb, disk_sb->block_shift); in befs_load_sb() 42 befs_sb->inode_size = fs32_to_cpu(sb, disk_sb->inode_size); in befs_load_sb() 44 befs_sb->blocks_per_ag = fs32_to_cpu(sb, disk_sb->blocks_per_ag); in befs_load_sb() 45 befs_sb->ag_shift = fs32_to_cpu(sb, disk_sb->ag_shift); in befs_load_sb() 46 befs_sb->num_ags = fs32_to_cpu(sb, disk_sb->num_ags); in befs_load_sb()
|
D | inode.c | 21 u32 magic1 = fs32_to_cpu(sb, raw_inode->magic1); in befs_check_inode() 23 u32 flags = fs32_to_cpu(sb, raw_inode->flags); in befs_check_inode()
|
D | btree.c | 151 sup->magic = fs32_to_cpu(sb, od_sup->magic); in befs_bt_read_super() 152 sup->node_size = fs32_to_cpu(sb, od_sup->node_size); in befs_bt_read_super() 153 sup->max_depth = fs32_to_cpu(sb, od_sup->max_depth); in befs_bt_read_super() 154 sup->data_type = fs32_to_cpu(sb, od_sup->data_type); in befs_bt_read_super()
|
D | linuxvfs.c | 347 inode->i_mode = (umode_t) fs32_to_cpu(sb, raw_inode->mode); in befs_iget() 355 befs_sb->mount_opts.uid : (uid_t) fs32_to_cpu(sb, raw_inode->uid); in befs_iget() 357 befs_sb->mount_opts.gid : (gid_t) fs32_to_cpu(sb, raw_inode->gid); in befs_iget() 379 befs_ino->i_flags = fs32_to_cpu(sb, raw_inode->flags); in befs_iget()
|
D | endian.h | 33 fs32_to_cpu(const struct super_block *sb, fs32 n) in fs32_to_cpu() function
|
D | datastream.c | 343 fs32_to_cpu(sb, array[j].allocation_group); in befs_find_brun_indirect()
|
/fs/qnx6/ |
D | inode.c | 65 return fs32_to_cpu(sbi, block) + sbi->s_blks_off; in qnx6_get_devblock() 164 buf->f_blocks = fs32_to_cpu(sbi, sbi->sb->sb_num_blocks); in qnx6_statfs() 165 buf->f_bfree = fs32_to_cpu(sbi, sbi->sb->sb_free_blocks); in qnx6_statfs() 166 buf->f_files = fs32_to_cpu(sbi, sbi->sb->sb_num_inodes); in qnx6_statfs() 167 buf->f_ffree = fs32_to_cpu(sbi, sbi->sb->sb_free_inodes); in qnx6_statfs() 210 fs32_to_cpu(sbi, sb->sb_magic))); in qnx6_superblock_debug() 212 fs32_to_cpu(sbi, sb->sb_checksum))); in qnx6_superblock_debug() 216 fs32_to_cpu(sbi, sb->sb_flags))); in qnx6_superblock_debug() 218 fs32_to_cpu(sbi, sb->sb_blocksize))); in qnx6_superblock_debug() 220 fs32_to_cpu(sbi, sb->sb_num_inodes))); in qnx6_superblock_debug() [all …]
|
D | super_mmi.c | 52 if (fs32_to_cpu(sbi, sb1->sb_magic) != QNX6_SUPER_MAGIC) { in qnx6_mmi_fill_super() 61 if (fs32_to_cpu(sbi, sb1->sb_checksum) != in qnx6_mmi_fill_super() 68 offset = fs32_to_cpu(sbi, sb1->sb_num_blocks) + QNX6_SUPERBLOCK_AREA / in qnx6_mmi_fill_super() 69 fs32_to_cpu(sbi, sb1->sb_blocksize); in qnx6_mmi_fill_super() 72 if (!sb_set_blocksize(s, fs32_to_cpu(sbi, sb1->sb_blocksize))) { in qnx6_mmi_fill_super() 90 if (fs32_to_cpu(sbi, sb2->sb_magic) != QNX6_SUPER_MAGIC) { in qnx6_mmi_fill_super() 98 if (fs32_to_cpu(sbi, sb2->sb_checksum) in qnx6_mmi_fill_super()
|
D | dir.c | 54 u32 s = fs32_to_cpu(sbi, de->de_long_inode); /* in block units */ in qnx6_longname() 101 if (!test_opt(s, MMI_FS) && fs32_to_cpu(sbi, de->de_checksum) != in qnx6_dir_longfilename() 146 u32 no_inode = fs32_to_cpu(sbi, de->de_inode); in qnx6_readdir() 202 return fs32_to_cpu(sbi, de->de_inode); in qnx6_long_match() 216 return fs32_to_cpu(sbi, de->de_inode); in qnx6_match()
|
D | qnx6.h | 93 static inline __u32 fs32_to_cpu(struct qnx6_sb_info *sbi, __fs32 n) in fs32_to_cpu() function
|
/fs/sysv/ |
D | super.c | 75 sbi->s_nzones = fs32_to_cpu(sbi, sbd1->s_fsize); in detected_xenix() 103 sbi->s_nzones = fs32_to_cpu(sbi, sbd->s_fsize); in detected_sysv4() 131 sbi->s_nzones = fs32_to_cpu(sbi, sbd->s_fsize); in detected_sysv2() 154 sbi->s_nzones = fs32_to_cpu(sbi, sbd->s_fsize); in detected_coherent() 175 sbi->s_nzones = fs32_to_cpu(sbi, sbd->s_fsize); in detected_v7() 187 switch (fs32_to_cpu(sbi, sbd->s_type)) { in detect_xenix() 214 type = fs32_to_cpu(sbi, sbd->s_type); in detect_sysv() 227 if (fs32_to_cpu(sbi, sbd->s_time) < JAN_1_1980) { in detect_sysv() 449 fs32_to_cpu(sbi, v7sb->s_fsize) > V7_MAXSIZE) in v7_sanity_check() 460 (fs32_to_cpu(sbi, v7i->i_size) == 0) || in v7_sanity_check() [all …]
|
D | balloc.c | 48 unsigned block = fs32_to_cpu(sbi, nr); in sysv_free_block() 116 block = fs32_to_cpu(sbi, nr); in sysv_new_block() 177 sb_count = fs32_to_cpu(sbi, *sbi->s_free_blocks); in sysv_count_free_blocks() 196 block = fs32_to_cpu(sbi, zone); in sysv_count_free_blocks()
|
D | inode.c | 47 old_time = fs32_to_cpu(sbi, *sbi->s_sb_time); in sysv_sync_fs() 223 inode->i_size = fs32_to_cpu(sbi, raw_inode->i_size); in sysv_iget() 224 inode->i_atime.tv_sec = fs32_to_cpu(sbi, raw_inode->i_atime); in sysv_iget() 225 inode->i_mtime.tv_sec = fs32_to_cpu(sbi, raw_inode->i_mtime); in sysv_iget() 226 inode->i_ctime.tv_sec = fs32_to_cpu(sbi, raw_inode->i_ctime); in sysv_iget() 240 old_decode_dev(fs32_to_cpu(sbi, si->i_data[0]))); in sysv_iget()
|
D | sysv.h | 191 static inline __u32 fs32_to_cpu(struct sysv_sb_info *sbi, __fs32 n) in fs32_to_cpu() function
|