Lines Matching refs:usb3
152 struct ufs_super_block_third *usb3) in ufs_print_super_stuff() argument
154 u32 magic = fs32_to_cpu(sb, usb3->fs_magic); in ufs_print_super_stuff()
158 if (fs32_to_cpu(sb, usb3->fs_magic) == UFS2_MAGIC) { in ufs_print_super_stuff()
160 fs64_to_cpu(sb, usb3->fs_un1.fs_u2.fs_size)); in ufs_print_super_stuff()
162 fs64_to_cpu(sb, usb3->fs_un1.fs_u2.fs_dsize)); in ufs_print_super_stuff()
177 fs64_to_cpu(sb, usb3->fs_un1.fs_u2.cs_nifree)); in ufs_print_super_stuff()
180 fs64_to_cpu(sb, usb3->fs_un1.fs_u2.cs_nffree)); in ufs_print_super_stuff()
182 fs32_to_cpu(sb, usb3->fs_un2.fs_44.fs_maxsymlinklen)); in ufs_print_super_stuff()
212 pr_debug(" nrpos: %u\n", fs32_to_cpu(sb, usb3->fs_nrpos)); in ufs_print_super_stuff()
265 # define ufs_print_super_stuff(sb, usb1, usb2, usb3) /**/ argument
475 struct ufs_super_block_third *usb3; in ufs_setup_cstotal() local
481 usb3 = ubh_get_usb_third(uspi); in ufs_setup_cstotal()
489 uspi->cs_total.cs_nifree = fs64_to_cpu(sb, usb3->fs_un1.fs_u2.cs_nifree); in ufs_setup_cstotal()
490 uspi->cs_total.cs_nffree = fs64_to_cpu(sb, usb3->fs_un1.fs_u2.cs_nffree); in ufs_setup_cstotal()
595 struct ufs_super_block_third *usb3; in ufs_put_cstotal() local
600 usb3 = ubh_get_usb_third(uspi); in ufs_put_cstotal()
608 usb3->fs_un1.fs_u2.cs_nifree = in ufs_put_cstotal()
610 usb3->fs_un1.fs_u2.cs_nffree = in ufs_put_cstotal()
622 usb3->fs_un1.fs_u2.cs_nifree = in ufs_put_cstotal()
624 usb3->fs_un1.fs_u2.cs_nffree = in ufs_put_cstotal()
633 ufs_print_super_stuff(sb, usb1, usb2, usb3); in ufs_put_cstotal()
689 struct ufs_super_block_third * usb3; in ufs_sync_fs() local
699 usb3 = ubh_get_usb_third(uspi); in ufs_sync_fs()
705 ufs_set_fs_state(sb, usb1, usb3, in ufs_sync_fs()
783 struct ufs_super_block_third * usb3; in ufs_fill_super() local
1007 usb3 = ubh_get_usb_third(uspi); in ufs_fill_super()
1010 uspi->s_postblformat = fs32_to_cpu(sb, usb3->fs_postblformat); in ufs_fill_super()
1028 switch ((uspi->fs_magic = fs32_to_cpu(sb, usb3->fs_magic))) { in ufs_fill_super()
1038 switch ((uspi->fs_magic = fs32_to_cpu(sb, usb3->fs_magic))) { in ufs_fill_super()
1111 ufs_print_super_stuff(sb, usb1, usb2, usb3); in ufs_fill_super()
1122 (ufs_get_fs_state(sb, usb1, usb3) == (UFS_FSOK - fs32_to_cpu(sb, usb1->fs_time))))) { in ufs_fill_super()
1161 sb->s_magic = fs32_to_cpu(sb, usb3->fs_magic); in ufs_fill_super()
1171 uspi->s_size = fs64_to_cpu(sb, usb3->fs_un1.fs_u2.fs_size); in ufs_fill_super()
1172 uspi->s_dsize = fs64_to_cpu(sb, usb3->fs_un1.fs_u2.fs_dsize); in ufs_fill_super()
1197 uspi->s_npsect = ufs_get_fs_npsect(sb, usb1, usb3); in ufs_fill_super()
1202 uspi->s_csaddr = fs64_to_cpu(sb, usb3->fs_un1.fs_u2.fs_csaddr); in ufs_fill_super()
1214 uspi->s_contigsumsize = fs32_to_cpu(sb, usb3->fs_un2.fs_44.fs_contigsumsize); in ufs_fill_super()
1215 uspi->s_qbmask = ufs_get_fs_qbmask(sb, usb3); in ufs_fill_super()
1216 uspi->s_qfmask = ufs_get_fs_qfmask(sb, usb3); in ufs_fill_super()
1217 uspi->s_nrpos = fs32_to_cpu(sb, usb3->fs_nrpos); in ufs_fill_super()
1218 uspi->s_postbloff = fs32_to_cpu(sb, usb3->fs_postbloff); in ufs_fill_super()
1219 uspi->s_rotbloff = fs32_to_cpu(sb, usb3->fs_rotbloff); in ufs_fill_super()
1257 fs32_to_cpu(sb, usb3->fs_un2.fs_44.fs_maxsymlinklen); in ufs_fill_super()
1311 struct ufs_super_block_third * usb3; in ufs_remount() local
1320 usb3 = ubh_get_usb_third(uspi); in ufs_remount()
1356 ufs_set_fs_state(sb, usb1, usb3, in ufs_remount()