Lines Matching refs:curbp
631 struct xfs_buf *curbp = NULL; /* current data/free buffer */
666 curbp = state->extrablk.bp;
668 free = curbp->b_addr;
713 if (curbp)
714 xfs_trans_brelse(tp, curbp);
719 &curbp);
722 free = curbp->b_addr;
724 xfs_dir2_free_hdr_check(dp, curbp, curdb);
738 xfs_trans_brelse(tp, curbp);
750 if (curbp) {
753 state->extrablk.bp = curbp;
784 struct xfs_buf *curbp = NULL; /* current data/free buffer */
818 curbp = state->extrablk.bp;
848 if (curbp && (args->cmpresult == XFS_CMP_DIFFERENT ||
850 xfs_trans_brelse(tp, curbp);
858 curbp = state->extrablk.bp;
863 0, &curbp);
867 xfs_dir3_data_check(dp, curbp);
873 dep = (xfs_dir2_data_entry_t *)((char *)curbp->b_addr +
892 state->extrablk.bp = curbp;
895 (char *)curbp->b_addr);
897 curbp->b_ops = &xfs_dir3_data_buf_ops;
898 xfs_trans_buf_set_type(tp, curbp, XFS_BLFT_DIR_DATA_BUF);
904 if (curbp) {
908 state->extrablk.bp = curbp;
912 curbp->b_ops = &xfs_dir3_data_buf_ops;
913 xfs_trans_buf_set_type(tp, curbp, XFS_BLFT_DIR_DATA_BUF);
915 /* If the curbp is not the CI match block, drop it */
916 if (state->extrablk.bp != curbp)
917 xfs_trans_brelse(tp, curbp);