/linux-5.19.10/fs/xfs/ |
D | xfs_buf_item.c | 241 offset += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_size() 442 offset += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_format() 824 chunks = DIV_ROUND_UP(BBTOB(bp->b_maps[i].bm_len), in xfs_buf_item_init() 833 BBTOB(bp->b_maps[i].bm_len)); in xfs_buf_item_init() 955 end = start + BBTOB(bp->b_maps[i].bm_len) - 1; in xfs_buf_item_log() 959 start += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_log() 976 start += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_log()
|
D | xfs_buf_item_recover.c | 472 ASSERT(BBTOB(bp->b_length) >= in xlog_recover_do_reg_buffer() 612 inodes_per_buf = BBTOB(bp->b_length) >> mp->m_sb.sb_inodelog; in xlog_recover_do_inode_buffer() 654 ASSERT((reg_buf_offset + reg_buf_bytes) <= BBTOB(bp->b_length)); in xlog_recover_do_inode_buffer() 981 (BBTOB(bp->b_length) != M_IGEO(log->l_mp)->inode_cluster_size)) { in xlog_recover_buf_commit_pass2()
|
D | xfs_buf.h | 328 return xfs_verify_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_verify_cksum() 335 xfs_update_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_update_cksum()
|
D | xfs_buf.c | 320 size_t size = BBTOB(bp->b_length); in xfs_buf_alloc_kmem() 359 bp->b_page_count = DIV_ROUND_UP(BBTOB(bp->b_length), PAGE_SIZE); in xfs_buf_alloc_pages() 545 ASSERT(!(BBTOB(cmap.bm_len) < btp->bt_meta_sectorsize)); in xfs_buf_find() 546 ASSERT(!(BBTOB(cmap.bm_bn) & (xfs_off_t)btp->bt_meta_sectormask)); in xfs_buf_find() 670 if (BBTOB(new_bp->b_length) >= PAGE_SIZE || in xfs_buf_get_map() 1441 size = min_t(int, BBTOB(bp->b_maps[map].bm_len), *count); in xfs_buf_ioapply_map() 1555 size = BBTOB(bp->b_length); in _xfs_buf_ioapply() 1699 BBTOB(bp->b_length) - boff); in xfs_buf_zero()
|
D | xfs_log_recover.c | 104 return kvzalloc(BBTOB(nbblks), GFP_KERNEL | __GFP_RETRY_MAYFAIL); in xlog_alloc_buffer() 116 return BBTOB(blk_no & ((xfs_daddr_t)log->l_sectBBsize - 1)); in xlog_align() 141 BBTOB(nbblks), data, op); in xlog_do_io() 1217 BBTOB(log->l_curr_block)); in xlog_set_state() 1219 BBTOB(log->l_curr_block)); in xlog_set_state() 1566 buffer + BBTOB(ealign - start_block)); in xlog_write_log_records() 3069 offset + BBTOB(split_hblks)); in xlog_do_recovery_pass() 3130 offset + BBTOB(split_bblks)); in xlog_do_recovery_pass()
|
D | xfs_fsmap.c | 37 dest->fmr_physical = BBTOB(src->fmr_physical); in xfs_fsmap_from_internal() 39 dest->fmr_offset = BBTOB(src->fmr_offset); in xfs_fsmap_from_internal() 40 dest->fmr_length = BBTOB(src->fmr_length); in xfs_fsmap_from_internal()
|
D | xfs_log_priv.h | 352 min_t(int, (log)->l_logsize >> 3, BBTOB(XLOG_TOTAL_REC_SHIFT(log)) << 4)
|
D | xfs_mount.c | 297 if ((BBTOB(mp->m_dalign) & mp->m_blockmask) || in xfs_validate_new_dalign() 298 (BBTOB(mp->m_swidth) & mp->m_blockmask)) { in xfs_validate_new_dalign()
|
D | xfs_dquot.c | 217 memset(d, 0, BBTOB(q->qi_dqchunklen)); in xfs_qm_init_dquot_blk() 253 xfs_trans_log_buf(tp, bp, 0, BBTOB(q->qi_dqchunklen) - 1); in xfs_qm_init_dquot_blk()
|
D | xfs_log.c | 1348 tail_bytes = BBTOB(tail_bytes); in xlog_space_left() 1542 log->l_logsize = BBTOB(num_bblks); in xlog_alloc_log() 1971 unsigned int split_offset = BBTOB(log->l_logBBsize - bno); in xlog_split_iclog() 3559 if (space > BBTOB(tail_blocks) && in xlog_verify_grant_tail()
|
D | xfs_trans_buf.c | 499 ASSERT(first <= last && last < BBTOB(bp->b_length)); in xfs_trans_log_buf()
|
D | xfs_iomap.c | 73 iomap->addr = BBTOB(xfs_fsb_to_db(ip, imap->br_startblock)); in xfs_bmbt_to_iomap()
|
/linux-5.19.10/fs/xfs/scrub/ |
D | agheader_repair.c | 52 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xrep_superblock() 69 xfs_trans_log_buf(sc->tp, bp, 0, BBTOB(bp->b_length) - 1); in xrep_superblock() 200 memset(agf, 0, BBTOB(agf_bp->b_length)); in xrep_agf_init_header() 326 xfs_trans_log_buf(sc->tp, agf_bp, 0, BBTOB(agf_bp->b_length) - 1); in xrep_agf_commit_new() 604 memset(agfl, 0xFF, BBTOB(agfl_bp->b_length)); in xrep_agfl_init_header() 643 xfs_trans_log_buf(sc->tp, agfl_bp, 0, BBTOB(agfl_bp->b_length) - 1); in xrep_agfl_init_header() 781 memset(agi, 0, BBTOB(agi_bp->b_length)); in xrep_agi_init_header() 880 xfs_trans_log_buf(sc->tp, agi_bp, 0, BBTOB(agi_bp->b_length) - 1); in xrep_agi_commit_new()
|
D | repair.c | 362 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xrep_init_btblock() 365 xfs_trans_log_buf(tp, bp, 0, BBTOB(bp->b_length) - 1); in xrep_init_btblock()
|
D | ialloc.c | 288 if (imap.im_boffset >= BBTOB(cluster_bp->b_length)) { in xchk_iallocbt_check_cluster()
|
D | agheader.c | 344 BBTOB(bp->b_length) - sizeof(struct xfs_dsb))) in xchk_superblock()
|
/linux-5.19.10/fs/xfs/libxfs/ |
D | xfs_attr_remote.c | 134 len = BBTOB(bp->b_length); in __xfs_attr3_rmt_read_verify() 199 len = BBTOB(bp->b_length); in xfs_attr3_rmt_write_verify() 288 int len = BBTOB(bp->b_length); in xfs_attr_rmtval_copyout() 336 int len = BBTOB(bp->b_length); in xfs_attr_rmtval_copyin()
|
D | xfs_symlink_remote.c | 187 ASSERT(BBTOB(bp->b_length) >= in xfs_symlink_local_to_remote()
|
D | xfs_dquot_buf.c | 25 return BBTOB(nbblks) / sizeof(struct xfs_dqblk); in xfs_calc_dquots_per_chunk()
|
D | xfs_fs.h | 848 #define BBTOB(bbs) ((bbs) << BBSHIFT) macro
|
D | xfs_dir2_data.c | 284 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_data_check()
|
D | xfs_sb.c | 1059 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xfs_update_secondary_sbs()
|
D | xfs_dir2_leaf.c | 130 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_leaf_check()
|
D | xfs_dir2_node.c | 90 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_leaf_check()
|
/linux-5.19.10/Documentation/filesystems/ |
D | xfs-self-describing-metadata.rst | 231 !xfs_verify_cksum(bp->b_addr, BBTOB(bp->b_length), 320 xfs_update_cksum(bp->b_addr, BBTOB(bp->b_length), XFS_FOO_CRC_OFF);
|