Searched refs:BTOBB (Results 1 – 12 of 12) sorted by relevance
| /linux-6.15/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_ag.c | 669 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers() 677 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers() 685 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers() 693 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers() 701 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers() 709 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
|
| 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_symlink_remote.c | 268 error = xfs_buf_read(mp->m_ddev_targp, d, BTOBB(byte_cnt), 0, in xfs_symlink_remote_read() 362 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 | 1104 #define BTOBB(bytes) (((__u64)(bytes) + BBSIZE - 1) >> BBSHIFT) macro
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_notify_failure.c | 193 *daddr = BTOBB(offset); in xfs_dax_translate_range() 194 *bblen = BTOBB(len); in xfs_dax_translate_range()
|
| H A D | xfs_log.c | 1536 for (i = 0; i < BTOBB(size); i++) { in xlog_pack_data() 1547 for ( ; i < BTOBB(size); i++) { in xlog_pack_data() 1706 if (bno + BTOBB(count) > log->l_logBBsize) { in xlog_write_iclog() 1831 XFS_STATS_ADD(log->l_mp, xs_log_blocks, BTOBB(count)); in xlog_sync() 1836 if (bno + BTOBB(count) > log->l_logBBsize) in xlog_sync() 2822 log->l_curr_block += BTOBB(eventual_size)+BTOBB(log->l_iclog_hsize); in xlog_state_switch_iclogs() 2826 uint32_t sunit_bb = BTOBB(log->l_iclog_roundoff); in xlog_state_switch_iclogs() 3297 if (blocks < BTOBB(iclog->ic_offset) + in xlog_verify_tail_lsn() 3298 BTOBB(log->l_iclog_hsize)) { in xlog_verify_tail_lsn() 3318 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() 2868 for (i = 0; i < BTOBB(be32_to_cpu(rhead->h_len)) && in xlog_unpack_data() 2876 for ( ; i < BTOBB(be32_to_cpu(rhead->h_len)); i++) { in xlog_unpack_data() 3082 dbp = xlog_alloc_buffer(log, BTOBB(h_size)); in xlog_do_recovery_pass() 3147 bblks = (int)BTOBB(be32_to_cpu(rhead->h_len)); in xlog_do_recovery_pass() 3229 bblks = (int)BTOBB(be32_to_cpu(rhead->h_len)); in xlog_do_recovery_pass()
|
| H A D | xfs_discard.c | 884 start = BTOBB(range.start); in xfs_ioc_trim()
|
| H A D | xfs_mount.c | 189 BTOBB(sector_size), &bp, buf_ops); in xfs_readsb()
|