Home
last modified time | relevance | path

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

/linux-6.6.21/fs/xfs/libxfs/
Dxfs_log_rlimit.c163 lsunit = BTOBB(mp->m_sb.sb_logsunit); in xfs_log_calc_minimum_size()
194 min_logblks = roundup_64(BTOBB(max_logres), lsunit) + in xfs_log_calc_minimum_size()
197 min_logblks = BTOBB(max_logres) + 2 * BBSIZE; in xfs_log_calc_minimum_size()
Dxfs_attr_remote.c148 bno += BTOBB(blksize); in __xfs_attr3_rmt_read_verify()
223 bno += BTOBB(blksize); in xfs_attr3_rmt_write_verify()
315 bno += BTOBB(blksize); in xfs_attr_rmtval_copyout()
365 bno += BTOBB(blksize); in xfs_attr_rmtval_copyin()
Dxfs_ag.c830 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
837 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
844 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
852 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
860 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
867 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
Dxfs_log_format.h44 BTOBB(1 << (xfs_has_logv2(log->l_mp) ? \
47 BTOBB(XLOG_MAX_ICLOGS << (xfs_has_logv2(log->l_mp) ? \
Dxfs_fs.h852 #define BTOBB(bytes) (((__u64)(bytes) + BBSIZE - 1) >> BBSHIFT) macro
/linux-6.6.21/fs/xfs/
Dxfs_notify_failure.c229 return xfs_dax_notify_ddev_failure(mp, BTOBB(offset), BTOBB(len), in xfs_dax_notify_failure()
Dxfs_discard.c393 minlen = BTOBB(range.minlen); in xfs_ioc_trim()
406 start = BTOBB(range.start); in xfs_ioc_trim()
Dxfs_log.c1694 ASSERT(BTOBB(need_bytes) < log->l_logBBsize); in xlog_grant_push_threshold()
1704 free_threshold = BTOBB(need_bytes); in xlog_grant_push_threshold()
1774 for (i = 0; i < BTOBB(size); i++) { in xlog_pack_data()
1785 for ( ; i < BTOBB(size); i++) { in xlog_pack_data()
1944 if (bno + BTOBB(count) > log->l_logBBsize) { in xlog_write_iclog()
2069 XFS_STATS_ADD(log->l_mp, xs_log_blocks, BTOBB(count)); in xlog_sync()
2074 if (bno + BTOBB(count) > log->l_logBBsize) in xlog_sync()
3096 log->l_curr_block += BTOBB(eventual_size)+BTOBB(log->l_iclog_hsize); in xlog_state_switch_iclogs()
3100 uint32_t sunit_bb = BTOBB(log->l_iclog_roundoff); in xlog_state_switch_iclogs()
3585 if (blocks < BTOBB(iclog->ic_offset)+BTOBB(log->l_iclog_hsize)) in xlog_verify_tail_lsn()
[all …]
Dxfs_symlink.c58 error = xfs_buf_read(mp->m_ddev_targp, d, BTOBB(byte_cnt), 0, in xfs_readlink_bmap_ilocked()
288 BTOBB(byte_cnt), 0, &bp); in xfs_symlink()
Dxfs_linux.h122 #define BLKDEV_BB BTOBB(BLKDEV_IOSIZE)
Dxfs_log_recover.c476 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()
2825 for (i = 0; i < BTOBB(be32_to_cpu(rhead->h_len)) && in xlog_unpack_data()
2833 for ( ; i < BTOBB(be32_to_cpu(rhead->h_len)); i++) { in xlog_unpack_data()
3032 dbp = xlog_alloc_buffer(log, BTOBB(h_size)); in xlog_do_recovery_pass()
3097 bblks = (int)BTOBB(be32_to_cpu(rhead->h_len)); in xlog_do_recovery_pass()
3179 bblks = (int)BTOBB(be32_to_cpu(rhead->h_len)); in xlog_do_recovery_pass()
Dxfs_mount.c181 BTOBB(sector_size), XBF_NO_IOACCT, &bp, in xfs_readsb()
Dxfs_buf.c1506 sector += BTOBB(nbytes); in xfs_buf_ioapply_map()