Searched refs:BTOBB (Results 1 – 12 of 12) sorted by relevance
/fs/xfs/ |
D | xfs_log_priv.h | 52 BTOBB(1 << (xfs_sb_version_haslogv2(&log->l_mp->m_sb) ? \ 55 BTOBB(XLOG_MAX_ICLOGS << (xfs_sb_version_haslogv2(&log->l_mp->m_sb) ? \
|
D | xfs_log.c | 1401 ASSERT(BTOBB(need_bytes) < log->l_logBBsize); in xlog_grant_push_ail() 1415 free_threshold = BTOBB(need_bytes); in xlog_grant_push_ail() 1496 count = BBTOB(BTOBB(count_init)); in xlog_sync() 1528 XFS_STATS_ADD(xs_log_blocks, BTOBB(count)); in xlog_sync() 1531 if (XFS_BUF_ADDR(bp) + BTOBB(count) > log->l_logBBsize) { in xlog_sync() 1551 ASSERT(XFS_BUF_ADDR(bp) + BTOBB(count) <= log->l_logBBsize); in xlog_sync() 1597 ASSERT(XFS_BUF_ADDR(bp) + BTOBB(count) <= log->l_logBBsize); in xlog_sync() 2925 log->l_curr_block += BTOBB(eventual_size)+BTOBB(log->l_iclog_hsize); in xlog_state_switch_iclogs() 2930 __uint32_t sunit_bb = BTOBB(log->l_mp->m_sb.sb_logsunit); in xlog_state_switch_iclogs() 3386 if (blocks < BTOBB(iclog->ic_offset)+BTOBB(log->l_iclog_hsize)) in xlog_verify_tail_lsn() [all …]
|
D | xfs_fsops.c | 253 BTOBB(mp->m_sb.sb_blocksize), 0); in xfs_growfs_data_private() 274 BTOBB(mp->m_sb.sb_blocksize), 0); in xfs_growfs_data_private() 296 BTOBB(mp->m_sb.sb_blocksize), 0); in xfs_growfs_data_private()
|
D | xfs_log_recover.c | 505 BTOBB(be32_to_cpu(head->h_len)) + xhdrs) in xlog_find_verify_log_record() 920 BTOBB(be32_to_cpu(rhead->h_len))) % log->l_logBBsize; in xlog_find_tail() 3331 for (i = 0; i < BTOBB(size) && in xlog_pack_data() 3341 for ( ; i < BTOBB(size); i++) { in xlog_pack_data() 3399 for (i = 0; i < BTOBB(be32_to_cpu(rhead->h_len)) && in xlog_unpack_data() 3407 for ( ; i < BTOBB(be32_to_cpu(rhead->h_len)); i++) { in xlog_unpack_data() 3520 dbp = xlog_get_bp(log, BTOBB(h_size)); in xlog_do_recovery_pass() 3538 bblks = (int)BTOBB(be32_to_cpu(rhead->h_len)); in xlog_do_recovery_pass() 3617 bblks = (int)BTOBB(be32_to_cpu(rhead->h_len)); in xlog_do_recovery_pass() 3693 bblks = (int)BTOBB(be32_to_cpu(rhead->h_len)); in xlog_do_recovery_pass()
|
D | xfs_fs.h | 487 #define BTOBB(bytes) (((__u64)(bytes) + BBSIZE - 1) >> BBSHIFT) macro
|
D | xfs_buf_item.c | 739 bip->bli_format.blf_len = (ushort)BTOBB(XFS_BUF_COUNT(bp)); in xfs_buf_item_init()
|
D | xfs_mount.c | 491 BTOBB(sector_size), extra_flags); in xfs_readsb() 532 BTOBB(sector_size), extra_flags); in xfs_readsb()
|
D | xfs_vnodeops.c | 527 bp = xfs_buf_read(mp->m_ddev_targp, d, BTOBB(byte_cnt), 0); in xfs_readlink_bmap() 2510 BTOBB(byte_cnt), 0); in xfs_symlink()
|
D | xfs_da_btree.c | 2276 dabuf->bbcount = (short)BTOBB(XFS_BUF_COUNT(bp)); in xfs_da_buf_make() 2283 dabuf->bbcount += BTOBB(XFS_BUF_COUNT(bp)); in xfs_da_buf_make()
|
D | xfs_dir2_leaf.c | 968 (int)BTOBB(mp->m_dirblksize)); in xfs_dir2_leaf_getdents()
|
/fs/xfs/linux-2.6/ |
D | xfs_linux.h | 141 #define BLKDEV_BB BTOBB(BLKDEV_IOSIZE)
|
D | xfs_iops.c | 718 bm.bmv_offset = BTOBB(start); in xfs_vn_fiemap() 723 bm.bmv_length = BTOBB(length); in xfs_vn_fiemap()
|