Home
last modified time | relevance | path

Searched refs:BBSHIFT (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/fs/xfs/libxfs/
Dxfs_fs.h843 #define BBSHIFT 9 macro
844 #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)
Dxfs_sb.c915 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()
/linux-6.1.9/fs/xfs/
Dxfs_log.c1443 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()
Dxfs_mount.c134 ASSERT(sbp->sb_blocklog >= BBSHIFT); in xfs_sb_validate_fsb_count()
Dxfs_log_recover.c421 offset += ((num_blks - 1) << BBSHIFT); in xlog_find_verify_log_record()