Home
last modified time | relevance | path

Searched refs:s_fpbshift (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/fs/ufs/
Dufs_fs.h132 #define UFS_NDIR_FRAGMENT (UFS_NDADDR << uspi->s_fpbshift)
133 #define UFS_IND_FRAGMENT (UFS_IND_BLOCK << uspi->s_fpbshift)
134 #define UFS_DIND_FRAGMENT (UFS_DIND_BLOCK << uspi->s_fpbshift)
135 #define UFS_TIND_FRAGMENT (UFS_TIND_BLOCK << uspi->s_fpbshift)
260 #define ufs_fragstoblks(frags) ((frags) >> uspi->s_fpbshift)
261 #define ufs_blkstofrags(blks) ((blks) << uspi->s_fpbshift)
748 __u32 s_fpbshift; /* fragments per block shift */ member
Dinode.c89 u64 mask = (u64) 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()
101 uspi->s_fpbshift, uspi->s_apbmask, in ufs_frag_map()
448 << uspi->s_fpbshift)) in ufs_getfrag_block()
476 if (ptr < (1 << (uspi->s_apbshift + uspi->s_fpbshift))) { in ufs_getfrag_block()
480 ptr -= 1 << (uspi->s_apbshift + uspi->s_fpbshift); in ufs_getfrag_block()
481 if (ptr < (1 << (uspi->s_2apbshift + uspi->s_fpbshift))) { in ufs_getfrag_block()
485 ptr -= 1 << (uspi->s_2apbshift + uspi->s_fpbshift); in ufs_getfrag_block()
Dsuper.c1093 uspi->s_fpbshift = fs32_to_cpu(sb, usb1->fs_fragshift); in ufs_fill_super()
1141 uspi->s_nspb = uspi->s_nspf << uspi->s_fpbshift; in ufs_fill_super()
1142 uspi->s_inopf = uspi->s_inopb >> uspi->s_fpbshift; in ufs_fill_super()