Home
last modified time | relevance | path

Searched refs:BTOBB (Results 1 – 12 of 12) sorted by relevance

/fs/xfs/
Dxfs_log_priv.h52 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) ? \
Dxfs_log.c1401 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 …]
Dxfs_fsops.c253 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()
Dxfs_log_recover.c505 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()
Dxfs_fs.h487 #define BTOBB(bytes) (((__u64)(bytes) + BBSIZE - 1) >> BBSHIFT) macro
Dxfs_buf_item.c739 bip->bli_format.blf_len = (ushort)BTOBB(XFS_BUF_COUNT(bp)); in xfs_buf_item_init()
Dxfs_mount.c491 BTOBB(sector_size), extra_flags); in xfs_readsb()
532 BTOBB(sector_size), extra_flags); in xfs_readsb()
Dxfs_vnodeops.c527 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()
Dxfs_da_btree.c2276 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()
Dxfs_dir2_leaf.c968 (int)BTOBB(mp->m_dirblksize)); in xfs_dir2_leaf_getdents()
/fs/xfs/linux-2.6/
Dxfs_linux.h141 #define BLKDEV_BB BTOBB(BLKDEV_IOSIZE)
Dxfs_iops.c718 bm.bmv_offset = BTOBB(start); in xfs_vn_fiemap()
723 bm.bmv_length = BTOBB(length); in xfs_vn_fiemap()