Home
last modified time | relevance | path

Searched refs:b_length (Results 1 – 12 of 12) sorted by relevance

/fs/xfs/
Dxfs_buf.c193 bp->b_length = 0; in _xfs_buf_alloc()
197 bp->b_length += map[i].bm_len; in _xfs_buf_alloc()
199 bp->b_io_length = bp->b_length; in _xfs_buf_alloc()
302 size = BBTOB(bp->b_length); 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()
503 if (bp->b_length != numblks) { in _xfs_buf_find()
746 bp->b_length = numblks; in xfs_buf_set_empty()
752 bp->b_maps[0].bm_len = bp->b_length; in xfs_buf_set_empty()
803 bp->b_length = BTOBB(buflen); in xfs_buf_associate_memory()
1083 (__uint64_t)XFS_BUF_ADDR(bp), func, -bp->b_error, bp->b_length); in xfs_buf_ioerror_alert()
[all …]
Dxfs_buf.h150 int b_length; /* size of buffer in BBs */ member
373 return xfs_verify_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_verify_cksum()
380 xfs_update_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_update_cksum()
Dxfs_trans_buf.c56 blip->bli_buf->b_length == len) { in xfs_trans_buf_item_match()
507 ASSERT(first <= last && last < BBTOB(bp->b_length)); in xfs_trans_log_buf()
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_trace.h324 __entry->nblks = bp->b_length;
397 __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);
Dxfs_log_recover.c159 ASSERT(offset + nbblks <= bp->b_length); in xlog_align()
187 ASSERT(nbblks <= bp->b_length); in xlog_bread_noalign()
231 int orig_len = BBTOB(bp->b_length); in xlog_bread_offset()
272 ASSERT(nbblks <= bp->b_length); in xlog_bwrite()
Dxfs_log.c1479 iclog->ic_size = BBTOB(bp->b_length) - log->l_iclog_hsize; in xlog_alloc_log()
/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_dquot_buf.c194 ndquots = xfs_calc_dquots_per_chunk(bp->b_length); in xfs_dquot_buf_verify_crc()
225 ndquots = xfs_calc_dquots_per_chunk(bp->b_length); in xfs_dquot_buf_verify()
Dxfs_symlink_remote.c199 ASSERT(BBTOB(bp->b_length) >= in xfs_symlink_local_to_remote()
Dxfs_inode_buf.c86 ni = XFS_BB_TO_FSB(mp, bp->b_length) * mp->m_sb.sb_inopblock; in xfs_inode_buf_verify()
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()