Home
last modified time | relevance | path

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

/linux-6.6.21/fs/xfs/libxfs/
Dxfs_fs.h849 #define BBSHIFT 9 macro
850 #define BBSIZE (1<<BBSHIFT)
852 #define BTOBB(bytes) (((__u64)(bytes) + BBSIZE - 1) >> BBSHIFT)
853 #define BTOBBT(bytes) ((__u64)(bytes) >> BBSHIFT)
854 #define BBTOB(bbs) ((bbs) << BBSHIFT)
Dxfs_sb.c972 mp->m_blkbb_log = sbp->sb_blocklog - BBSHIFT; in xfs_sb_mount_common()
973 mp->m_sectbb_log = sbp->sb_sectlog - BBSHIFT; in xfs_sb_mount_common()
/linux-6.6.21/fs/xfs/
Dxfs_log.c1436 log->l_iclog_hsize = log->l_iclog_heads << BBSHIFT; in xlog_get_iclog_buffer_size()
1563 if (log2_size < BBSHIFT) { in xlog_alloc_log()
1565 log2_size, BBSHIFT); in xlog_alloc_log()
1569 log2_size -= BBSHIFT; in xlog_alloc_log()
Dxfs_mount.c135 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()