Searched refs:s_fpbshift (Results 1 – 4 of 4) sorted by relevance
81 #define UFS_NDIR_FRAGMENT (UFS_NDADDR << uspi->s_fpbshift)82 #define UFS_IND_FRAGMENT (UFS_IND_BLOCK << uspi->s_fpbshift)83 #define UFS_DIND_FRAGMENT (UFS_DIND_BLOCK << uspi->s_fpbshift)84 #define UFS_TIND_FRAGMENT (UFS_TIND_BLOCK << uspi->s_fpbshift)219 #define ufs_fragstoblks(frags) ((frags) >> uspi->s_fpbshift)220 #define ufs_blkstofrags(blks) ((blks) << uspi->s_fpbshift)
67 __u32 s_fpbshift; /* fragments per block shift */ member
89 int mask = uspi->s_apbmask>>uspi->s_fpbshift; in ufs_frag_map()90 int shift = uspi->s_apbshift-uspi->s_fpbshift; in ufs_frag_map()92 int depth = ufs_block_to_path(inode, frag >> uspi->s_fpbshift, offsets); in ufs_frag_map()344 << uspi->s_fpbshift)) in ufs_getfrag_block()370 if (ptr < (1 << (uspi->s_apbshift + uspi->s_fpbshift))) { in ufs_getfrag_block()374 ptr -= 1 << (uspi->s_apbshift + uspi->s_fpbshift); in ufs_getfrag_block()375 if (ptr < (1 << (uspi->s_2apbshift + uspi->s_fpbshift))) { in ufs_getfrag_block()379 ptr -= 1 << (uspi->s_2apbshift + uspi->s_fpbshift); in ufs_getfrag_block()
767 uspi->s_fpbshift = fs32_to_cpu(sb, usb1->fs_fragshift); in ufs_read_super()807 uspi->s_nspb = uspi->s_nspf << uspi->s_fpbshift; in ufs_read_super()808 uspi->s_inopf = uspi->s_inopb >> uspi->s_fpbshift; in ufs_read_super()