/linux-4.19.296/fs/xfs/scrub/ |
D | agheader_repair.c | 56 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xrep_superblock() 61 xfs_trans_log_buf(sc->tp, bp, 0, BBTOB(bp->b_length) - 1); in xrep_superblock() 192 memset(agf, 0, BBTOB(agf_bp->b_length)); in xrep_agf_init_header() 317 xfs_trans_log_buf(sc->tp, agf_bp, 0, BBTOB(agf_bp->b_length) - 1); in xrep_agf_commit_new() 603 memset(agfl, 0xFF, BBTOB(agfl_bp->b_length)); in xrep_agfl_init_header() 641 xfs_trans_log_buf(sc->tp, agfl_bp, 0, BBTOB(agfl_bp->b_length) - 1); in xrep_agfl_init_header() 782 memset(agi, 0, BBTOB(agi_bp->b_length)); in xrep_agi_init_header() 859 xfs_trans_log_buf(sc->tp, agi_bp, 0, BBTOB(agi_bp->b_length) - 1); in xrep_agi_commit_new()
|
D | repair.c | 367 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xrep_init_btblock()
|
D | agheader.c | 342 BBTOB(bp->b_length) - sizeof(struct xfs_dsb))) in xchk_superblock()
|
/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_attr_remote.c | 125 len = BBTOB(bp->b_length); in __xfs_attr3_rmt_read_verify() 190 len = BBTOB(bp->b_length); in xfs_attr3_rmt_write_verify() 278 int len = BBTOB(bp->b_length); in xfs_attr_rmtval_copyout() 326 int len = BBTOB(bp->b_length); in xfs_attr_rmtval_copyin()
|
D | xfs_dquot_buf.c | 27 return BBTOB(nbblks) / sizeof(xfs_dqblk_t); in xfs_calc_dquots_per_chunk()
|
D | xfs_symlink_remote.c | 190 ASSERT(BBTOB(bp->b_length) >= in xfs_symlink_local_to_remote()
|
D | xfs_fs.h | 639 #define BBTOB(bbs) ((bbs) << BBSHIFT) macro
|
D | xfs_ag.c | 37 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xfs_get_aghdr_buf()
|
D | xfs_dir2_data.c | 242 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_data_check()
|
D | xfs_sb.c | 1023 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xfs_update_secondary_sbs()
|
D | xfs_dir2_leaf.c | 72 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_leaf_check()
|
D | xfs_dir2_node.c | 75 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_leaf_check()
|
D | xfs_ialloc.c | 357 xfs_buf_zero(fbuf, 0, BBTOB(fbuf->b_length)); in xfs_ialloc_inode_init()
|
/linux-4.19.296/fs/xfs/ |
D | xfs_buf_item.c | 343 offset += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_format() 774 chunks = DIV_ROUND_UP(BBTOB(bp->b_maps[i].bm_len), in xfs_buf_item_init() 893 end = start + BBTOB(bp->b_maps[i].bm_len) - 1; in xfs_buf_item_log() 897 start += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_log() 914 start += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_log()
|
D | xfs_buf.h | 365 return xfs_verify_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_verify_cksum() 372 xfs_update_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_update_cksum()
|
D | xfs_buf.c | 369 size = BBTOB(bp->b_length); in xfs_buf_allocate_memory() 393 start = BBTOB(bp->b_maps[0].bm_bn) >> PAGE_SHIFT; in xfs_buf_allocate_memory() 394 end = (BBTOB(bp->b_maps[0].bm_bn + bp->b_length) + PAGE_SIZE - 1) in xfs_buf_allocate_memory() 592 ASSERT(!(BBTOB(cmap.bm_len) < btp->bt_meta_sectorsize)); in xfs_buf_find() 593 ASSERT(!(BBTOB(cmap.bm_bn) & (xfs_off_t)btp->bt_meta_sectormask)); in xfs_buf_find() 1331 size = min_t(int, BBTOB(bp->b_maps[map].bm_len), *count); in xfs_buf_ioapply_map() 1461 size = BBTOB(bp->b_io_length); in _xfs_buf_ioapply() 1599 BBTOB(bp->b_io_length) - boff); in xfs_buf_iomove()
|
D | xfs_fsmap.c | 40 dest->fmr_physical = BBTOB(src->fmr_physical); in xfs_fsmap_from_internal() 42 dest->fmr_offset = BBTOB(src->fmr_offset); in xfs_fsmap_from_internal() 43 dest->fmr_length = BBTOB(src->fmr_length); in xfs_fsmap_from_internal()
|
D | xfs_log.c | 1218 tail_bytes = BBTOB(tail_bytes); in xlog_space_left() 1437 log->l_logsize = BBTOB(num_bblks); in xlog_alloc_log() 1554 iclog->ic_size = BBTOB(bp->b_length) - log->l_iclog_hsize; in xlog_alloc_log() 1859 count = BBTOB(BTOBB(count_init)); in xlog_sync() 1867 roundoff < BBTOB(1))); in xlog_sync() 1891 split = count - (BBTOB(log->l_logBBsize - XFS_BUF_ADDR(bp))); in xlog_sync() 1892 count = BBTOB(log->l_logBBsize - XFS_BUF_ADDR(bp)); in xlog_sync() 3768 if (space > BBTOB(tail_blocks) && in xlog_verify_grant_tail()
|
D | xfs_log_recover.c | 164 return bp->b_addr + BBTOB(offset); in xlog_align() 236 int orig_len = BBTOB(bp->b_length); in xlog_bread_offset() 239 error = xfs_buf_associate_memory(bp, offset, BBTOB(nbblks)); in xlog_bread_offset() 1362 BBTOB(log->l_curr_block)); in xlog_set_state() 1364 BBTOB(log->l_curr_block)); in xlog_set_state() 1708 offset = bp->b_addr + BBTOB(ealign - start_block); in xlog_write_log_records() 2165 inodes_per_buf = BBTOB(bp->b_io_length) >> mp->m_sb.sb_inodelog; in xlog_recover_do_inode_buffer() 2208 BBTOB(bp->b_io_length)); in xlog_recover_do_inode_buffer() 2669 ASSERT(BBTOB(bp->b_io_length) >= in xlog_recover_do_reg_buffer() 2892 (BBTOB(bp->b_io_length) != max(log->l_mp->m_sb.sb_blocksize, in xlog_recover_buffer_pass2() [all …]
|
D | xfs_mount.c | 372 if ((BBTOB(mp->m_dalign) & mp->m_blockmask) || in xfs_update_alignment() 373 (BBTOB(mp->m_swidth) & mp->m_blockmask)) { in xfs_update_alignment()
|
D | xfs_dquot.c | 232 memset(d, 0, BBTOB(q->qi_dqchunklen)); in xfs_qm_init_dquot_blk() 249 xfs_trans_log_buf(tp, bp, 0, BBTOB(q->qi_dqchunklen) - 1); in xfs_qm_init_dquot_blk()
|
D | xfs_trans_buf.c | 499 ASSERT(first <= last && last < BBTOB(bp->b_length)); in xfs_trans_log_buf()
|
D | xfs_iomap.c | 53 iomap->addr = BBTOB(xfs_fsb_to_db(ip, imap->br_startblock)); in xfs_bmbt_to_iomap()
|
D | xfs_trace.h | 352 __entry->buffer_length = BBTOB(bp->b_length); 396 __entry->buffer_length = BBTOB(bp->b_length); 439 __entry->buf_len = BBTOB(bip->bli_buf->b_length);
|