Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/xfs/
Dxfs_fs.h519 #define BBSHIFT 9 macro
520 #define BBSIZE (1<<BBSHIFT)
522 #define BTOBB(bytes) (((__u64)(bytes) + BBSIZE - 1) >> BBSHIFT)
523 #define BTOBBT(bytes) ((__u64)(bytes) >> BBSHIFT)
524 #define BBTOB(bbs) ((bbs) << BBSHIFT)
Dxfs_mount.c282 ASSERT(sbp->sb_blocklog >= BBSHIFT);
290 (sbp->sb_dblocks << (sbp->sb_blocklog - BBSHIFT)) > UINT_MAX ||
291 (sbp->sb_rblocks << (sbp->sb_blocklog - BBSHIFT)) > UINT_MAX)) {
565 mp->m_blkbb_log = sbp->sb_blocklog - BBSHIFT;
566 mp->m_sectbb_log = sbp->sb_sectlog - BBSHIFT;
Dxfs_log.c1083 log->l_iclog_hsize = xhdrs << BBSHIFT; in xlog_get_iclog_buffer_size()
1175 log->l_sectbb_log = mp->m_sb.sb_logsectlog - BBSHIFT; in xlog_alloc_log()
1181 ASSERT(mp->m_sb.sb_logsectlog >= BBSHIFT); in xlog_alloc_log()
Dxfs_log_recover.c446 offset += ((num_blks - 1) << BBSHIFT); in xlog_find_verify_log_record()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_buf.c57 #define BN_ALIGN_MASK ((1 << (PAGE_CACHE_SHIFT - BBSHIFT)) - 1)
644 range_base = (ioff << BBSHIFT); in _pagebuf_find()
645 range_length = (isize << BBSHIFT); in _pagebuf_find()
1602 i = sector >> BBSHIFT; in _pagebuf_page_io()
1603 bn -= (pg_offset >> BBSHIFT); in _pagebuf_page_io()
1670 i = sector >> BBSHIFT; in _pagebuf_page_io()
1745 bn -= (pb->pb_offset >> BBSHIFT); in _pagebuf_page_apply()
1751 bn += (pb_offset + BBMASK) >> BBSHIFT; in _pagebuf_page_apply()
Dxfs_aops.c209 sector_shift = block_bits - BBSHIFT; in xfs_map_at_offset()
892 bn = iomap.iomap_bn >> (inode->i_blkbits - BBSHIFT); in linvfs_get_block_core()
1260 pb->pb_bn = iomap.iomap_bn + (iomap.iomap_delta >> BBSHIFT); in linvfs_direct_IO()