/kernel/linux/linux-5.10/fs/ufs/ |
D | super.c | 155 u32 magic = fs32_to_cpu(sb, usb3->fs_magic); in ufs_print_super_stuff() 159 if (fs32_to_cpu(sb, usb3->fs_magic) == UFS2_MAGIC) { in ufs_print_super_stuff() 165 fs32_to_cpu(sb, usb1->fs_bsize)); in ufs_print_super_stuff() 167 fs32_to_cpu(sb, usb1->fs_fsize)); in ufs_print_super_stuff() 183 fs32_to_cpu(sb, usb3->fs_un2.fs_44.fs_maxsymlinklen)); in ufs_print_super_stuff() 185 pr_debug(" sblkno: %u\n", fs32_to_cpu(sb, usb1->fs_sblkno)); in ufs_print_super_stuff() 186 pr_debug(" cblkno: %u\n", fs32_to_cpu(sb, usb1->fs_cblkno)); in ufs_print_super_stuff() 187 pr_debug(" iblkno: %u\n", fs32_to_cpu(sb, usb1->fs_iblkno)); in ufs_print_super_stuff() 188 pr_debug(" dblkno: %u\n", fs32_to_cpu(sb, usb1->fs_dblkno)); in ufs_print_super_stuff() 190 fs32_to_cpu(sb, usb1->fs_cgoffset)); in ufs_print_super_stuff() [all …]
|
D | cylinder.c | 54 ucpi->c_cgx = fs32_to_cpu(sb, ucg->cg_cgx); in ufs_read_cylinder() 57 ucpi->c_ndblk = fs32_to_cpu(sb, ucg->cg_ndblk); in ufs_read_cylinder() 58 ucpi->c_rotor = fs32_to_cpu(sb, ucg->cg_rotor); in ufs_read_cylinder() 59 ucpi->c_frotor = fs32_to_cpu(sb, ucg->cg_frotor); in ufs_read_cylinder() 60 ucpi->c_irotor = fs32_to_cpu(sb, ucg->cg_irotor); in ufs_read_cylinder() 61 ucpi->c_btotoff = fs32_to_cpu(sb, ucg->cg_btotoff); in ufs_read_cylinder() 62 ucpi->c_boff = fs32_to_cpu(sb, ucg->cg_boff); in ufs_read_cylinder() 63 ucpi->c_iusedoff = fs32_to_cpu(sb, ucg->cg_iusedoff); in ufs_read_cylinder() 64 ucpi->c_freeoff = fs32_to_cpu(sb, ucg->cg_freeoff); in ufs_read_cylinder() 65 ucpi->c_nextfreeoff = fs32_to_cpu(sb, ucg->cg_nextfreeoff); in ufs_read_cylinder() [all …]
|
D | util.h | 43 if (fs32_to_cpu(sb, usb3->fs_postblformat) == UFS_42POSTBLFMT) in ufs_get_fs_state() 44 return fs32_to_cpu(sb, usb1->fs_u0.fs_sun.fs_state); in ufs_get_fs_state() 47 return fs32_to_cpu(sb, usb3->fs_un2.fs_sun.fs_state); in ufs_get_fs_state() 49 return fs32_to_cpu(sb, usb1->fs_u1.fs_sunx86.fs_state); in ufs_get_fs_state() 52 return fs32_to_cpu(sb, usb3->fs_un2.fs_44.fs_state); in ufs_get_fs_state() 62 if (fs32_to_cpu(sb, usb3->fs_postblformat) == UFS_42POSTBLFMT) { in ufs_set_fs_state() 84 return fs32_to_cpu(sb, usb3->fs_un2.fs_sunx86.fs_npsect); in ufs_get_fs_npsect() 86 return fs32_to_cpu(sb, usb1->fs_u1.fs_sun.fs_npsect); in ufs_get_fs_npsect() 196 return fs32_to_cpu(sb, inode->ui_u3.ui_44.ui_uid); in ufs_get_inode_uid() 199 return fs32_to_cpu(sb, inode->ui_u3.ui_sun.ui_uid); in ufs_get_inode_uid() [all …]
|
D | inode.c | 159 fs32_to_cpu(sb, q->key32) + (n>>shift)); in ufs_frag_map() 168 res = fs32_to_cpu(sb, q->key32); in ufs_frag_map() 366 (tmp = fs32_to_cpu(sb, ((__fs32 *)bh->b_data)[index-1])))) in ufs_inode_getblock() 581 inode->i_atime.tv_sec = (signed)fs32_to_cpu(sb, ufs_inode->ui_atime.tv_sec); in ufs1_read_inode() 582 inode->i_ctime.tv_sec = (signed)fs32_to_cpu(sb, ufs_inode->ui_ctime.tv_sec); in ufs1_read_inode() 583 inode->i_mtime.tv_sec = (signed)fs32_to_cpu(sb, ufs_inode->ui_mtime.tv_sec); in ufs1_read_inode() 587 inode->i_blocks = fs32_to_cpu(sb, ufs_inode->ui_blocks); in ufs1_read_inode() 588 inode->i_generation = fs32_to_cpu(sb, ufs_inode->ui_gen); in ufs1_read_inode() 589 ufsi->i_flags = fs32_to_cpu(sb, ufs_inode->ui_flags); in ufs1_read_inode() 590 ufsi->i_shadow = fs32_to_cpu(sb, ufs_inode->ui_u3.ui_sun.ui_shadow); in ufs1_read_inode() [all …]
|
D | dir.c | 78 res = fs32_to_cpu(dir->i_sb, de->d_ino); in ufs_inode_by_name() 140 if (fs32_to_cpu(sb, p->d_ino) > (UFS_SB(sb)->s_uspi->s_ipg * in ufs_check_page() 469 fs32_to_cpu(sb, de->d_ino)); in ufs_readdir() 477 fs32_to_cpu(sb, de->d_ino), in ufs_readdir() 510 fs32_to_cpu(sb, de->d_ino), in ufs_delete_entry() 625 fs32_to_cpu(sb, de->d_ino)) in ufs_empty_dir()
|
D | ufs_fs.h | 523 (fs32_to_cpu((sb), (ucg)->cg_magic) == CG_MAGIC) 527 #define ufs_ocg_blktot(sb, ucg) fs32_to_cpu((sb), ((struct ufs_old_cylinder_group *)(ucg))->cg… 528 #define ufs_ocg_blks(sb, ucg, cylno) fs32_to_cpu((sb), ((struct ufs_old_cylinder_group *)(ucg))->cg… 529 #define ufs_ocg_inosused(sb, ucg) fs32_to_cpu((sb), ((struct ufs_old_cylinder_group *)(ucg))->cg… 530 #define ufs_ocg_blksfree(sb, ucg) fs32_to_cpu((sb), ((struct ufs_old_cylinder_group *)(ucg))->cg… 532 (fs32_to_cpu((sb), ((struct ufs_old_cylinder_group *)(ucg))->cg_magic) == CG_MAGIC)
|
D | ialloc.c | 137 fs32_to_cpu(sb, ucg->cg_u.cg_u2.cg_initediblk)); in ufs2_init_inodes_chunk() 269 u32 initediblk = fs32_to_cpu(sb, ucg->cg_u.cg_u2.cg_initediblk); in ufs_new_inode() 272 initediblk < fs32_to_cpu(sb, ucg->cg_u.cg_u2.cg_niblk)) in ufs_new_inode()
|
D | balloc.c | 459 if (fs32_to_cpu(sb, usb1->fs_optim) == UFS_OPTSPACE) { in ufs_new_fragments() 525 if (fs32_to_cpu(sb, UFS_SB(sb)->fs_cs(cgno).cs_nffree) < count) in ufs_add_fragments() 555 if (!fs32_to_cpu(sb, ucg->cg_frsum[fragsize])) in ufs_add_fragments() 581 if (fs32_to_cpu(sb, ucg->cg_cs.cs_nbfree)) \ 584 if (fs32_to_cpu(sb, ucg->cg_frsum[k])) \ 652 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()
|
/kernel/linux/linux-5.10/fs/befs/ |
D | debug.c | 80 befs_debug(sb, " magic1 %08x", fs32_to_cpu(sb, inode->magic1)); in befs_dump_inode() 86 befs_debug(sb, " uid %u", fs32_to_cpu(sb, inode->uid)); in befs_dump_inode() 87 befs_debug(sb, " gid %u", fs32_to_cpu(sb, inode->gid)); in befs_dump_inode() 88 befs_debug(sb, " mode %08x", fs32_to_cpu(sb, inode->mode)); in befs_dump_inode() 89 befs_debug(sb, " flags %08x", fs32_to_cpu(sb, inode->flags)); in befs_dump_inode() 103 befs_debug(sb, " type %08x", fs32_to_cpu(sb, inode->type)); in befs_dump_inode() 104 befs_debug(sb, " inode_size %u", fs32_to_cpu(sb, inode->inode_size)); in befs_dump_inode() 106 if (S_ISLNK(fs32_to_cpu(sb, inode->mode))) { in befs_dump_inode() 165 befs_debug(sb, " magic1 %08x", fs32_to_cpu(sb, sup->magic1)); in befs_dump_super_block() 167 fs32_to_cpu(sb, sup->fs_byte_order)); in befs_dump_super_block() [all …]
|
D | super.c | 31 befs_sb->magic1 = fs32_to_cpu(sb, disk_sb->magic1); in befs_load_sb() 32 befs_sb->magic2 = fs32_to_cpu(sb, disk_sb->magic2); in befs_load_sb() 33 befs_sb->magic3 = fs32_to_cpu(sb, disk_sb->magic3); in befs_load_sb() 34 befs_sb->block_size = fs32_to_cpu(sb, disk_sb->block_size); in befs_load_sb() 35 befs_sb->block_shift = fs32_to_cpu(sb, disk_sb->block_shift); in befs_load_sb() 38 befs_sb->inode_size = fs32_to_cpu(sb, disk_sb->inode_size); in befs_load_sb() 40 befs_sb->blocks_per_ag = fs32_to_cpu(sb, disk_sb->blocks_per_ag); in befs_load_sb() 41 befs_sb->ag_shift = fs32_to_cpu(sb, disk_sb->ag_shift); in befs_load_sb() 42 befs_sb->num_ags = fs32_to_cpu(sb, disk_sb->num_ags); in befs_load_sb() 44 befs_sb->flags = fs32_to_cpu(sb, disk_sb->flags); in befs_load_sb()
|
D | inode.c | 22 u32 magic1 = fs32_to_cpu(sb, raw_inode->magic1); in befs_check_inode() 24 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()
|
/kernel/linux/linux-5.10/fs/freevxfs/ |
D | vxfs_bmap.c | 73 u32 indsize = fs32_to_cpu(sbi, vip->vii_ext4.ve4_indsize); in vxfs_bmap_ext4() 81 if (bn >= 0 && bn < fs32_to_cpu(sbi, d->size)) in vxfs_bmap_ext4() 82 return (bn + fs32_to_cpu(sbi, d->extent)); in vxfs_bmap_ext4() 83 bn -= fs32_to_cpu(sbi, d->size); in vxfs_bmap_ext4() 92 fs32_to_cpu(sbi, vip->vii_ext4.ve4_indir[0])); in vxfs_bmap_ext4() 97 bno = fs32_to_cpu(sbi, indir[(bn / indsize) % (indsize * bn)]) + in vxfs_bmap_ext4() 160 fs32_to_cpu(sbi, typ->vt_block), in vxfs_bmap_indir() 161 fs32_to_cpu(sbi, typ->vt_size), in vxfs_bmap_indir() 167 if ((block - off) >= fs32_to_cpu(sbi, typ->vt_size)) in vxfs_bmap_indir() 169 pblock = fs32_to_cpu(sbi, typ->vt_block) + block - off; in vxfs_bmap_indir() [all …]
|
D | vxfs_inode.c | 105 vip->vii_mode = fs32_to_cpu(sbi, dip->vdi_mode); in dip2vip_cpy() 106 vip->vii_nlink = fs32_to_cpu(sbi, dip->vdi_nlink); in dip2vip_cpy() 107 vip->vii_uid = fs32_to_cpu(sbi, dip->vdi_uid); in dip2vip_cpy() 108 vip->vii_gid = fs32_to_cpu(sbi, dip->vdi_gid); in dip2vip_cpy() 110 vip->vii_atime = fs32_to_cpu(sbi, dip->vdi_atime); in dip2vip_cpy() 111 vip->vii_autime = fs32_to_cpu(sbi, dip->vdi_autime); in dip2vip_cpy() 112 vip->vii_mtime = fs32_to_cpu(sbi, dip->vdi_mtime); in dip2vip_cpy() 113 vip->vii_mutime = fs32_to_cpu(sbi, dip->vdi_mutime); in dip2vip_cpy() 114 vip->vii_ctime = fs32_to_cpu(sbi, dip->vdi_ctime); in dip2vip_cpy() 115 vip->vii_cutime = fs32_to_cpu(sbi, dip->vdi_cutime); in dip2vip_cpy() [all …]
|
D | vxfs_olt.c | 46 infp->vsi_fshino = fs32_to_cpu(infp, fshp->olt_fsino[0]); in vxfs_get_fshead() 53 infp->vsi_iext = fs32_to_cpu(infp, ilistp->olt_iext[0]); in vxfs_get_ilist() 89 if (fs32_to_cpu(infp, op->olt_magic) != VXFS_OLT_MAGIC) { in vxfs_read_olt() 104 oaddr = bp->b_data + fs32_to_cpu(infp, op->olt_size); in vxfs_read_olt() 111 switch (fs32_to_cpu(infp, ocp->olt_type)) { in vxfs_read_olt() 120 oaddr += fs32_to_cpu(infp, ocp->olt_size); in vxfs_read_olt()
|
D | vxfs_super.c | 106 bufp->f_blocks = fs32_to_cpu(infp, raw_sb->vs_dsize); in vxfs_statfs() 107 bufp->f_bfree = fs32_to_cpu(infp, raw_sb->vs_free); in vxfs_statfs() 110 bufp->f_ffree = fs32_to_cpu(infp, raw_sb->vs_ifree); in vxfs_statfs() 250 j = fs32_to_cpu(infp, rsbp->vs_version); in vxfs_fill_super() 259 fs32_to_cpu(infp, rsbp->vs_bsize)); in vxfs_fill_super() 262 sbp->s_magic = fs32_to_cpu(infp, rsbp->vs_magic); in vxfs_fill_super() 264 infp->vsi_oltext = fs32_to_cpu(infp, rsbp->vs_oltext[0]); in vxfs_fill_super() 265 infp->vsi_oltsize = fs32_to_cpu(infp, rsbp->vs_oltsize); in vxfs_fill_super() 267 j = fs32_to_cpu(infp, rsbp->vs_bsize); in vxfs_fill_super()
|
D | vxfs_fshead.c | 153 fs32_to_cpu(infp, sfp->fsh_ilistino[0])); in vxfs_read_fshead() 164 infp->vsi_ilist = vxfs_stiget(sbp, fs32_to_cpu(infp, pfp->fsh_ilistino[0])); in vxfs_read_fshead()
|
D | vxfs_lookup.c | 164 ino = fs32_to_cpu(VXFS_SBI(dip->i_sb), de->d_ino); in vxfs_inode_by_name() 279 fs32_to_cpu(sbi, de->d_ino), in vxfs_readdir()
|
/kernel/linux/linux-5.10/fs/qnx6/ |
D | inode.c | 67 return fs32_to_cpu(sbi, block) + sbi->s_blks_off; in qnx6_get_devblock() 163 buf->f_blocks = fs32_to_cpu(sbi, sbi->sb->sb_num_blocks); in qnx6_statfs() 164 buf->f_bfree = fs32_to_cpu(sbi, sbi->sb->sb_free_blocks); in qnx6_statfs() 165 buf->f_files = fs32_to_cpu(sbi, sbi->sb->sb_num_inodes); in qnx6_statfs() 166 buf->f_ffree = fs32_to_cpu(sbi, sbi->sb->sb_free_inodes); in qnx6_statfs() 207 pr_debug("magic: %08x\n", fs32_to_cpu(sbi, sb->sb_magic)); in qnx6_superblock_debug() 208 pr_debug("checksum: %08x\n", fs32_to_cpu(sbi, sb->sb_checksum)); in qnx6_superblock_debug() 210 pr_debug("flags: %08x\n", fs32_to_cpu(sbi, sb->sb_flags)); in qnx6_superblock_debug() 211 pr_debug("blocksize: %08x\n", fs32_to_cpu(sbi, sb->sb_blocksize)); in qnx6_superblock_debug() 212 pr_debug("num_inodes: %08x\n", fs32_to_cpu(sbi, sb->sb_num_inodes)); in qnx6_superblock_debug() [all …]
|
D | super_mmi.c | 53 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() 97 if (fs32_to_cpu(sbi, sb2->sb_checksum) in qnx6_mmi_fill_super()
|
D | dir.c | 50 u32 s = fs32_to_cpu(sbi, de->de_long_inode); /* in block units */ in qnx6_longname() 96 if (!test_opt(s, MMI_FS) && fs32_to_cpu(sbi, de->de_checksum) != in qnx6_dir_longfilename() 141 u32 no_inode = fs32_to_cpu(sbi, de->de_inode); in qnx6_readdir() 194 return fs32_to_cpu(sbi, de->de_inode); in qnx6_long_match() 208 return fs32_to_cpu(sbi, de->de_inode); in qnx6_match()
|
/kernel/linux/linux-5.10/fs/sysv/ |
D | super.c | 76 sbi->s_nzones = fs32_to_cpu(sbi, sbd1->s_fsize); in detected_xenix() 104 sbi->s_nzones = fs32_to_cpu(sbi, sbd->s_fsize); in detected_sysv4() 132 sbi->s_nzones = fs32_to_cpu(sbi, sbd->s_fsize); in detected_sysv2() 155 sbi->s_nzones = fs32_to_cpu(sbi, sbd->s_fsize); in detected_coherent() 176 sbi->s_nzones = fs32_to_cpu(sbi, sbd->s_fsize); in detected_v7() 188 switch (fs32_to_cpu(sbi, sbd->s_type)) { in detect_xenix() 215 type = fs32_to_cpu(sbi, sbd->s_type); in detect_sysv() 228 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 | inode.c | 47 old_time = fs32_to_cpu(sbi, *sbi->s_sb_time); in sysv_sync_fs() 202 inode->i_size = fs32_to_cpu(sbi, raw_inode->i_size); in sysv_iget() 203 inode->i_atime.tv_sec = fs32_to_cpu(sbi, raw_inode->i_atime); in sysv_iget() 204 inode->i_mtime.tv_sec = fs32_to_cpu(sbi, raw_inode->i_mtime); in sysv_iget() 205 inode->i_ctime.tv_sec = fs32_to_cpu(sbi, raw_inode->i_ctime); in sysv_iget() 219 old_decode_dev(fs32_to_cpu(sbi, si->i_data[0]))); in sysv_iget()
|
D | balloc.c | 49 unsigned block = fs32_to_cpu(sbi, nr); in sysv_free_block() 117 block = fs32_to_cpu(sbi, nr); in sysv_new_block() 178 sb_count = fs32_to_cpu(sbi, *sbi->s_free_blocks); in sysv_count_free_blocks() 197 block = fs32_to_cpu(sbi, zone); in sysv_count_free_blocks()
|