Lines Matching refs:bp

40 	xfs_buf_t	*bp)  in xfs_inobp_check()  argument
49 dip = xfs_buf_offset(bp, i * mp->m_sb.sb_inodesize); in xfs_inobp_check()
53 i, (long long)bp->b_bn); in xfs_inobp_check()
76 struct xfs_buf *bp, in xfs_inode_buf_verify() argument
79 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_inode_buf_verify()
86 ni = XFS_BB_TO_FSB(mp, bp->b_length) * mp->m_sb.sb_inopblock; in xfs_inode_buf_verify()
91 dip = xfs_buf_offset(bp, (i << mp->m_sb.sb_inodelog)); in xfs_inode_buf_verify()
98 bp->b_flags &= ~XBF_DONE; in xfs_inode_buf_verify()
99 xfs_buf_ioerror(bp, -EIO); in xfs_inode_buf_verify()
103 xfs_buf_ioerror(bp, -EFSCORRUPTED); in xfs_inode_buf_verify()
104 xfs_verifier_error(bp); in xfs_inode_buf_verify()
108 (unsigned long long)bp->b_bn, i, in xfs_inode_buf_verify()
113 xfs_inobp_check(mp, bp); in xfs_inode_buf_verify()
119 struct xfs_buf *bp) in xfs_inode_buf_read_verify() argument
121 xfs_inode_buf_verify(bp, false); in xfs_inode_buf_read_verify()
126 struct xfs_buf *bp) in xfs_inode_buf_readahead_verify() argument
128 xfs_inode_buf_verify(bp, true); in xfs_inode_buf_readahead_verify()
133 struct xfs_buf *bp) in xfs_inode_buf_write_verify() argument
135 xfs_inode_buf_verify(bp, false); in xfs_inode_buf_write_verify()
170 struct xfs_buf *bp; in xfs_imap_to_bp() local
175 (int)imap->im_len, buf_flags, &bp, in xfs_imap_to_bp()
192 *bpp = bp; in xfs_imap_to_bp()
193 *dipp = xfs_buf_offset(bp, imap->im_boffset); in xfs_imap_to_bp()
353 xfs_buf_t *bp; in xfs_iread() local
384 error = xfs_imap_to_bp(mp, tp, &ip->i_imap, &dip, &bp, 0, iget_flags); in xfs_iread()
463 xfs_buf_set_ref(bp, XFS_INO_REF); in xfs_iread()
478 xfs_trans_brelse(tp, bp); in xfs_iread()