Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_log_rlimit.c96 lsunit = BTOBB(mp->m_sb.sb_logsunit); in xfs_log_calc_minimum_size()
127 min_logblks = roundup_64(BTOBB(max_logres), lsunit) + in xfs_log_calc_minimum_size()
130 min_logblks = BTOBB(max_logres) + 2 * BBSIZE; in xfs_log_calc_minimum_size()
Dxfs_ag.c414 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
421 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
428 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
436 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
444 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
451 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
Dxfs_attr_remote.c132 bno += BTOBB(blksize); in __xfs_attr3_rmt_read_verify()
207 bno += BTOBB(blksize); in xfs_attr3_rmt_write_verify()
299 bno += BTOBB(blksize); in xfs_attr_rmtval_copyout()
349 bno += BTOBB(blksize); in xfs_attr_rmtval_copyin()
Dxfs_log_format.h47 BTOBB(1 << (xfs_sb_version_haslogv2(&log->l_mp->m_sb) ? \
50 BTOBB(XLOG_MAX_ICLOGS << (xfs_sb_version_haslogv2(&log->l_mp->m_sb) ? \
Dxfs_fs.h820 #define BTOBB(bytes) (((__u64)(bytes) + BBSIZE - 1) >> BBSHIFT) macro
/fs/xfs/
Dxfs_discard.c174 minlen = BTOBB(range.minlen); in xfs_ioc_trim()
187 start = BTOBB(range.start); in xfs_ioc_trim()
Dxfs_log.c1559 ASSERT(BTOBB(need_bytes) < log->l_logBBsize); in xlog_grant_push_ail()
1569 free_threshold = BTOBB(need_bytes); in xlog_grant_push_ail()
1619 for (i = 0; i < BTOBB(size); i++) { in xlog_pack_data()
1630 for ( ; i < BTOBB(size); i++) { in xlog_pack_data()
1764 if (bno + BTOBB(count) > log->l_logBBsize) { in xlog_write_iclog()
1823 count = BBTOB(BTOBB(count_init)); in xlog_calc_iclog_size()
1888 XFS_STATS_ADD(log->l_mp, xs_log_blocks, BTOBB(count)); in xlog_sync()
1893 if (bno + BTOBB(count) > log->l_logBBsize) { in xlog_sync()
3241 log->l_curr_block += BTOBB(eventual_size)+BTOBB(log->l_iclog_hsize); in xlog_state_switch_iclogs()
3246 uint32_t sunit_bb = BTOBB(log->l_mp->m_sb.sb_logsunit); in xlog_state_switch_iclogs()
[all …]
Dxfs_symlink.c55 bp = xfs_buf_read(mp->m_ddev_targp, d, BTOBB(byte_cnt), 0, in xfs_readlink_bmap_ilocked()
293 BTOBB(byte_cnt), 0); in xfs_symlink()
Dxfs_linux.h122 #define BLKDEV_BB BTOBB(BLKDEV_IOSIZE)
Dxfs_log_recover.c528 BTOBB(be32_to_cpu(head->h_len)) + xhdrs) in xlog_find_verify_log_record()
1034 if (tail_distance > BTOBB(XLOG_MAX_ICLOGS * hsize)) in xlog_verify_tail()
1229 rhead_blk + hblks + BTOBB(be32_to_cpu(rhead->h_len))); in xlog_check_unmount_rec()
5109 for (i = 0; i < BTOBB(be32_to_cpu(rhead->h_len)) && in xlog_unpack_data()
5117 for ( ; i < BTOBB(be32_to_cpu(rhead->h_len)); i++) { in xlog_unpack_data()
5322 dbp = xlog_alloc_buffer(log, BTOBB(h_size)); in xlog_do_recovery_pass()
5387 bblks = (int)BTOBB(be32_to_cpu(rhead->h_len)); in xlog_do_recovery_pass()
5469 bblks = (int)BTOBB(be32_to_cpu(rhead->h_len)); in xlog_do_recovery_pass()
Dxfs_mount.c299 BTOBB(sector_size), XBF_NO_IOACCT, &bp, in xfs_readsb()
Dxfs_buf.c1314 sector += BTOBB(nbytes); in xfs_buf_ioapply_map()