Searched refs:BBSHIFT (Results 1 – 6 of 6) sorted by relevance
493 #define BBSHIFT 9 macro494 #define BBSIZE (1<<BBSHIFT)496 #define BTOBB(bytes) (((__u64)(bytes) + BBSIZE - 1) >> BBSHIFT)497 #define BTOBBT(bytes) ((__u64)(bytes) >> BBSHIFT)498 #define BBTOB(bbs) ((bbs) << BBSHIFT)
290 ASSERT(sbp->sb_blocklog >= BBSHIFT); in xfs_sb_validate_fsb_count()296 if (nblocks << (sbp->sb_blocklog - BBSHIFT) > UINT_MAX) in xfs_sb_validate_fsb_count()765 mp->m_blkbb_log = sbp->sb_blocklog - BBSHIFT; in xfs_mount_common()766 mp->m_sectbb_log = sbp->sb_sectlog - BBSHIFT; in xfs_mount_common()
953 log->l_iclog_hsize = xhdrs << BBSHIFT; in xlog_get_iclog_buffer_size()1029 if (log2_size < BBSHIFT) { in xlog_alloc_log()1031 log2_size, BBSHIFT); in xlog_alloc_log()1035 log2_size -= BBSHIFT; in xlog_alloc_log()
487 offset += ((num_blks - 1) << BBSHIFT); in xlog_find_verify_log_record()
440 range_base = (ioff << BBSHIFT); in _xfs_buf_find()441 range_length = (isize << BBSHIFT); in _xfs_buf_find()1225 nr_pages = BIO_MAX_SECTORS >> (PAGE_SHIFT - BBSHIFT); in _xfs_buf_ioapply()1247 sector += nbytes >> BBSHIFT; in _xfs_buf_ioapply()
609 bn = (iomap_bn >> (inode->i_blkbits - BBSHIFT)) + in xfs_map_buffer()