Lines Matching refs:curbp

518 	struct xfs_buf		*curbp = NULL;	/* current data/free buffer */  in xfs_dir2_leafn_lookup_for_addname()  local
555 curbp = state->extrablk.bp; in xfs_dir2_leafn_lookup_for_addname()
557 free = curbp->b_addr; in xfs_dir2_leafn_lookup_for_addname()
602 if (curbp) in xfs_dir2_leafn_lookup_for_addname()
603 xfs_trans_brelse(tp, curbp); in xfs_dir2_leafn_lookup_for_addname()
608 &curbp); in xfs_dir2_leafn_lookup_for_addname()
611 free = curbp->b_addr; in xfs_dir2_leafn_lookup_for_addname()
613 xfs_dir2_free_hdr_check(dp, curbp, curdb); in xfs_dir2_leafn_lookup_for_addname()
627 xfs_trans_brelse(tp, curbp); in xfs_dir2_leafn_lookup_for_addname()
639 if (curbp) { in xfs_dir2_leafn_lookup_for_addname()
642 state->extrablk.bp = curbp; in xfs_dir2_leafn_lookup_for_addname()
673 struct xfs_buf *curbp = NULL; /* current data/free buffer */ in xfs_dir2_leafn_lookup_for_entry() local
706 curbp = state->extrablk.bp; in xfs_dir2_leafn_lookup_for_entry()
736 if (curbp && (args->cmpresult == XFS_CMP_DIFFERENT || in xfs_dir2_leafn_lookup_for_entry()
738 xfs_trans_brelse(tp, curbp); in xfs_dir2_leafn_lookup_for_entry()
746 curbp = state->extrablk.bp; in xfs_dir2_leafn_lookup_for_entry()
751 -1, &curbp); in xfs_dir2_leafn_lookup_for_entry()
755 xfs_dir3_data_check(dp, curbp); in xfs_dir2_leafn_lookup_for_entry()
761 dep = (xfs_dir2_data_entry_t *)((char *)curbp->b_addr + in xfs_dir2_leafn_lookup_for_entry()
780 state->extrablk.bp = curbp; in xfs_dir2_leafn_lookup_for_entry()
783 (char *)curbp->b_addr); in xfs_dir2_leafn_lookup_for_entry()
785 curbp->b_ops = &xfs_dir3_data_buf_ops; in xfs_dir2_leafn_lookup_for_entry()
786 xfs_trans_buf_set_type(tp, curbp, XFS_BLFT_DIR_DATA_BUF); in xfs_dir2_leafn_lookup_for_entry()
792 if (curbp) { in xfs_dir2_leafn_lookup_for_entry()
796 state->extrablk.bp = curbp; in xfs_dir2_leafn_lookup_for_entry()
800 curbp->b_ops = &xfs_dir3_data_buf_ops; in xfs_dir2_leafn_lookup_for_entry()
801 xfs_trans_buf_set_type(tp, curbp, XFS_BLFT_DIR_DATA_BUF); in xfs_dir2_leafn_lookup_for_entry()
804 if (state->extrablk.bp != curbp) in xfs_dir2_leafn_lookup_for_entry()
805 xfs_trans_brelse(tp, curbp); in xfs_dir2_leafn_lookup_for_entry()