Home
last modified time | relevance | path

Searched refs:BBTOB (Results 1 – 17 of 17) sorted by relevance

/linux-4.4.14/fs/xfs/libxfs/
Dxfs_attr_remote.c134 len = BBTOB(bp->b_length); in xfs_attr3_rmt_read_verify()
173 len = BBTOB(bp->b_length); in xfs_attr3_rmt_write_verify()
259 int len = BBTOB(bp->b_length); in xfs_attr_rmtval_copyout()
307 int len = BBTOB(bp->b_length); in xfs_attr_rmtval_copyin()
Dxfs_symlink_remote.c199 ASSERT(BBTOB(bp->b_length) >= in xfs_symlink_local_to_remote()
Dxfs_dquot_buf.c41 ndquots = BBTOB(nbblks); in xfs_calc_dquots_per_chunk()
Dxfs_fs.h584 #define BBTOB(bbs) ((bbs) << BBSHIFT) macro
Dxfs_ialloc.c328 xfs_buf_zero(fbuf, 0, BBTOB(fbuf->b_length)); in xfs_ialloc_inode_init()
371 BBTOB(fbuf->b_length) - 1); in xfs_ialloc_inode_init()
/linux-4.4.14/fs/xfs/
Dxfs_buf.c302 size = BBTOB(bp->b_length); in xfs_buf_allocate_memory()
326 start = BBTOB(bp->b_maps[0].bm_bn) >> PAGE_SHIFT; in xfs_buf_allocate_memory()
327 end = (BBTOB(bp->b_maps[0].bm_bn + bp->b_length) + PAGE_SIZE - 1) in xfs_buf_allocate_memory()
455 ASSERT(!(BBTOB(numblks) < btp->bt_meta_sectorsize)); in _xfs_buf_find()
456 ASSERT(!(BBTOB(blkno) & (xfs_off_t)btp->bt_meta_sectormask)); in _xfs_buf_find()
1158 size = min_t(int, BBTOB(bp->b_maps[map].bm_len), *count); in xfs_buf_ioapply_map()
1288 size = BBTOB(bp->b_io_length); in _xfs_buf_ioapply()
1464 BBTOB(bp->b_io_length) - boff); in xfs_buf_iomove()
Dxfs_buf.h372 return xfs_verify_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_verify_cksum()
379 xfs_update_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_update_cksum()
Dxfs_buf_item.c793 chunks = DIV_ROUND_UP(BBTOB(bp->b_maps[i].bm_len), in xfs_buf_item_init()
918 end = start + BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_log()
920 start += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_log()
Dxfs_log_recover.c160 return bp->b_addr + BBTOB(offset); in xlog_align()
231 int orig_len = BBTOB(bp->b_length); in xlog_bread_offset()
234 error = xfs_buf_associate_memory(bp, offset, BBTOB(nbblks)); in xlog_bread_offset()
987 BBTOB(log->l_curr_block)); in xlog_find_tail()
989 BBTOB(log->l_curr_block)); in xlog_find_tail()
1279 offset = bp->b_addr + BBTOB(ealign - start_block); in xlog_write_log_records()
1730 inodes_per_buf = BBTOB(bp->b_io_length) >> mp->m_sb.sb_inodelog; in xlog_recover_do_inode_buffer()
1773 BBTOB(bp->b_io_length)); in xlog_recover_do_inode_buffer()
2198 ASSERT(BBTOB(bp->b_io_length) >= in xlog_recover_do_reg_buffer()
2417 (BBTOB(bp->b_io_length) != MAX(log->l_mp->m_sb.sb_blocksize, in xlog_recover_buffer_pass2()
[all …]
Dxfs_log.c1149 tail_bytes = BBTOB(tail_bytes); in xlog_space_left()
1363 log->l_logsize = BBTOB(num_bblks); in xlog_alloc_log()
1479 iclog->ic_size = BBTOB(bp->b_length) - log->l_iclog_hsize; in xlog_alloc_log()
1782 count = BBTOB(BTOBB(count_init)); in xlog_sync()
1790 roundoff < BBTOB(1))); in xlog_sync()
1814 split = count - (BBTOB(log->l_logBBsize - XFS_BUF_ADDR(bp))); in xlog_sync()
1815 count = BBTOB(log->l_logBBsize - XFS_BUF_ADDR(bp)); in xlog_sync()
3747 if (space > BBTOB(tail_blocks) && in xlog_verify_grant_tail()
Dxfs_iops.c1030 logical = BBTOB(bmv->bmv_offset); in xfs_fiemap_format()
1031 physical = BBTOB(bmv->bmv_block); in xfs_fiemap_format()
1032 length = BBTOB(bmv->bmv_length); in xfs_fiemap_format()
Dxfs_fsops.c135 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xfs_growfs_get_hdr_buf()
528 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xfs_growfs_data_private()
Dxfs_dquot.c247 memset(d, 0, BBTOB(q->qi_dqchunklen)); in xfs_qm_init_dquot_blk()
264 xfs_trans_log_buf(tp, bp, 0, BBTOB(q->qi_dqchunklen) - 1); in xfs_qm_init_dquot_blk()
Dxfs_mount.c375 if ((BBTOB(mp->m_dalign) & mp->m_blockmask) || in xfs_update_alignment()
376 (BBTOB(mp->m_swidth) & mp->m_blockmask)) { in xfs_update_alignment()
Dxfs_trans_buf.c507 ASSERT(first <= last && last < BBTOB(bp->b_length)); in xfs_trans_log_buf()
Dxfs_trace.h397 __entry->buffer_length = BBTOB(bp->b_length);
441 __entry->buffer_length = BBTOB(bp->b_length);
485 __entry->buf_len = BBTOB(bip->bli_buf->b_length);
/linux-4.4.14/Documentation/filesystems/
Dxfs-self-describing-metadata.txt228 !xfs_verify_cksum(bp->b_addr, BBTOB(bp->b_length),
317 xfs_update_cksum(bp->b_addr, BBTOB(bp->b_length), XFS_FOO_CRC_OFF);