Searched refs:BBSHIFT (Results 1 – 5 of 5) sorted by relevance
843 #define BBSHIFT 9 macro844 #define BBSIZE (1<<BBSHIFT)846 #define BTOBB(bytes) (((__u64)(bytes) + BBSIZE - 1) >> BBSHIFT)847 #define BTOBBT(bytes) ((__u64)(bytes) >> BBSHIFT)848 #define BBTOB(bbs) ((bbs) << BBSHIFT)
915 mp->m_blkbb_log = sbp->sb_blocklog - BBSHIFT; in xfs_sb_mount_common()916 mp->m_sectbb_log = sbp->sb_sectlog - BBSHIFT; in xfs_sb_mount_common()
1443 log->l_iclog_hsize = log->l_iclog_heads << BBSHIFT; in xlog_get_iclog_buffer_size()1570 if (log2_size < BBSHIFT) { in xlog_alloc_log()1572 log2_size, BBSHIFT); in xlog_alloc_log()1576 log2_size -= BBSHIFT; in xlog_alloc_log()
134 ASSERT(sbp->sb_blocklog >= BBSHIFT); in xfs_sb_validate_fsb_count()
421 offset += ((num_blks - 1) << BBSHIFT); in xlog_find_verify_log_record()