Searched refs:BTOBB (Results 1 – 13 of 13) sorted by relevance
/linux/fs/xfs/libxfs/ |
H A D | xfs_log_rlimit.c | 209 lsunit = BTOBB(mp->m_sb.sb_logsunit); in xfs_log_calc_minimum_size() 240 min_logblks = roundup_64(BTOBB(max_logres), lsunit) + in xfs_log_calc_minimum_size() 243 min_logblks = BTOBB(max_logres) + 2 * BBSIZE; in xfs_log_calc_minimum_size()
|
H A D | xfs_attr_remote.c | 161 bno += BTOBB(blksize); in __xfs_attr3_rmt_read_verify() 236 bno += BTOBB(blksize); in xfs_attr3_rmt_write_verify() 330 bno += BTOBB(blksize); in xfs_attr_rmtval_copyout() 380 bno += BTOBB(blksize); in xfs_attr_rmtval_copyin()
|
H A D | xfs_ag.c | 746 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers() 754 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers() 762 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers() 770 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers() 778 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers() 786 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
|
H A D | xfs_symlink_remote.c | 266 error = xfs_buf_read(mp->m_ddev_targp, d, BTOBB(byte_cnt), 0, in xfs_symlink_remote_read() 360 BTOBB(byte_cnt), 0, &bp); in xfs_symlink_write_target()
|
H A D | xfs_log_format.h | 44 BTOBB(1 << (xfs_has_logv2(log->l_mp) ? \ 47 BTOBB(XLOG_MAX_ICLOGS << (xfs_has_logv2(log->l_mp) ? \
|
H A D | xfs_fs.h | 1039 #define BTOBB(bytes) (((__u64)(bytes) + BBSIZE - 1) >> BBSHIFT) macro
|
/linux/fs/xfs/ |
H A D | xfs_notify_failure.c | 325 return xfs_dax_notify_ddev_failure(mp, BTOBB(offset), BTOBB(len), in xfs_dax_notify_failure()
|
H A D | xfs_log.c | 1535 for (i = 0; i < BTOBB(size); i++) { in xlog_pack_data() 1546 for ( ; i < BTOBB(size); i++) { in xlog_pack_data() 1705 if (bno + BTOBB(count) > log->l_logBBsize) { in xlog_write_iclog() 1830 XFS_STATS_ADD(log->l_mp, xs_log_blocks, BTOBB(count)); in xlog_sync() 1835 if (bno + BTOBB(count) > log->l_logBBsize) in xlog_sync() 2823 log->l_curr_block += BTOBB(eventual_size)+BTOBB(log->l_iclog_hsize); in xlog_state_switch_iclogs() 2827 uint32_t sunit_bb = BTOBB(log->l_iclog_roundoff); in xlog_state_switch_iclogs() 3298 if (blocks < BTOBB(iclog->ic_offset) + in xlog_verify_tail_lsn() 3299 BTOBB(log->l_iclog_hsize)) { in xlog_verify_tail_lsn() 3319 if (blocks < BTOBB(iclog->ic_offset) + 1) { in xlog_verify_tail_lsn()
|
H A D | xfs_linux.h | 122 #define BLKDEV_BB BTOBB(BLKDEV_IOSIZE)
|
H A D | xfs_log_recover.c | 476 BTOBB(be32_to_cpu(head->h_len)) + xhdrs) in xlog_find_verify_log_record() 982 if (tail_distance > BTOBB(XLOG_MAX_ICLOGS * hsize)) in xlog_verify_tail() 1162 rhead_blk + hblks + BTOBB(be32_to_cpu(rhead->h_len))); in xlog_check_unmount_rec() 2864 for (i = 0; i < BTOBB(be32_to_cpu(rhead->h_len)) && in xlog_unpack_data() 2872 for ( ; i < BTOBB(be32_to_cpu(rhead->h_len)); i++) { in xlog_unpack_data() 3078 dbp = xlog_alloc_buffer(log, BTOBB(h_size)); in xlog_do_recovery_pass() 3143 bblks = (int)BTOBB(be32_to_cpu(rhead->h_len)); in xlog_do_recovery_pass() 3225 bblks = (int)BTOBB(be32_to_cpu(rhead->h_len)); in xlog_do_recovery_pass()
|
H A D | xfs_discard.c | 691 start = BTOBB(range.start); in xfs_ioc_trim()
|
H A D | xfs_mount.c | 186 BTOBB(sector_size), XBF_NO_IOACCT, &bp, in xfs_readsb()
|
H A D | xfs_buf.c | 1576 sector += BTOBB(nbytes); in xfs_buf_ioapply_map()
|