Home
last modified time | relevance | path

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

/linux-2.6.39/fs/xfs/
Dxfs_fs.h493 #define BBSHIFT 9 macro
494 #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)
Dxfs_mount.c290 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()
Dxfs_log.c953 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()
Dxfs_log_recover.c487 offset += ((num_blks - 1) << BBSHIFT); in xlog_find_verify_log_record()
/linux-2.6.39/fs/xfs/linux-2.6/
Dxfs_buf.c440 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()
Dxfs_aops.c609 bn = (iomap_bn >> (inode->i_blkbits - BBSHIFT)) + in xfs_map_buffer()