Home
last modified time | relevance | path

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

/linux-4.19.296/fs/xfs/libxfs/
Dxfs_fs.h634 #define BBSHIFT 9 macro
635 #define BBSIZE (1<<BBSHIFT)
637 #define BTOBB(bytes) (((__u64)(bytes) + BBSIZE - 1) >> BBSHIFT)
638 #define BTOBBT(bytes) ((__u64)(bytes) >> BBSHIFT)
639 #define BBTOB(bbs) ((bbs) << BBSHIFT)
Dxfs_sb.c809 mp->m_blkbb_log = sbp->sb_blocklog - BBSHIFT; in xfs_sb_mount_common()
810 mp->m_sectbb_log = sbp->sb_sectlog - BBSHIFT; in xfs_sb_mount_common()
/linux-4.19.296/fs/xfs/
Dxfs_log.c1336 log->l_iclog_hsize = xhdrs << BBSHIFT; in xlog_get_iclog_buffer_size()
1456 if (log2_size < BBSHIFT) { in xlog_alloc_log()
1458 log2_size, BBSHIFT); in xlog_alloc_log()
1462 log2_size -= BBSHIFT; in xlog_alloc_log()
Dxfs_mount.c168 ASSERT(sbp->sb_blocklog >= BBSHIFT); in xfs_sb_validate_fsb_count()
Dxfs_buf.c964 page_count = PAGE_ALIGN(numblks << BBSHIFT) >> PAGE_SHIFT; in xfs_buf_get_uncached()
Dxfs_log_recover.c543 offset += ((num_blks - 1) << BBSHIFT); in xlog_find_verify_log_record()