Lines Matching refs:curbp

514 	struct xfs_buf		*curbp = NULL;	/* current data/free buffer */  in xfs_dir2_leafn_lookup_for_addname()  local
551 curbp = state->extrablk.bp; in xfs_dir2_leafn_lookup_for_addname()
553 free = curbp->b_addr; in xfs_dir2_leafn_lookup_for_addname()
598 if (curbp) in xfs_dir2_leafn_lookup_for_addname()
599 xfs_trans_brelse(tp, curbp); in xfs_dir2_leafn_lookup_for_addname()
604 &curbp); in xfs_dir2_leafn_lookup_for_addname()
607 free = curbp->b_addr; in xfs_dir2_leafn_lookup_for_addname()
609 xfs_dir2_free_hdr_check(dp, curbp, curdb); in xfs_dir2_leafn_lookup_for_addname()
623 xfs_trans_brelse(tp, curbp); in xfs_dir2_leafn_lookup_for_addname()
635 if (curbp) { in xfs_dir2_leafn_lookup_for_addname()
638 state->extrablk.bp = curbp; in xfs_dir2_leafn_lookup_for_addname()
669 struct xfs_buf *curbp = NULL; /* current data/free buffer */ in xfs_dir2_leafn_lookup_for_entry() local
702 curbp = state->extrablk.bp; in xfs_dir2_leafn_lookup_for_entry()
732 if (curbp && (args->cmpresult == XFS_CMP_DIFFERENT || in xfs_dir2_leafn_lookup_for_entry()
734 xfs_trans_brelse(tp, curbp); in xfs_dir2_leafn_lookup_for_entry()
742 curbp = state->extrablk.bp; in xfs_dir2_leafn_lookup_for_entry()
747 -1, &curbp); in xfs_dir2_leafn_lookup_for_entry()
751 xfs_dir3_data_check(dp, curbp); in xfs_dir2_leafn_lookup_for_entry()
757 dep = (xfs_dir2_data_entry_t *)((char *)curbp->b_addr + in xfs_dir2_leafn_lookup_for_entry()
776 state->extrablk.bp = curbp; in xfs_dir2_leafn_lookup_for_entry()
779 (char *)curbp->b_addr); in xfs_dir2_leafn_lookup_for_entry()
781 curbp->b_ops = &xfs_dir3_data_buf_ops; in xfs_dir2_leafn_lookup_for_entry()
782 xfs_trans_buf_set_type(tp, curbp, XFS_BLFT_DIR_DATA_BUF); in xfs_dir2_leafn_lookup_for_entry()
788 if (curbp) { in xfs_dir2_leafn_lookup_for_entry()
792 state->extrablk.bp = curbp; in xfs_dir2_leafn_lookup_for_entry()
796 curbp->b_ops = &xfs_dir3_data_buf_ops; in xfs_dir2_leafn_lookup_for_entry()
797 xfs_trans_buf_set_type(tp, curbp, XFS_BLFT_DIR_DATA_BUF); in xfs_dir2_leafn_lookup_for_entry()
800 if (state->extrablk.bp != curbp) in xfs_dir2_leafn_lookup_for_entry()
801 xfs_trans_brelse(tp, curbp); in xfs_dir2_leafn_lookup_for_entry()