Lines Matching refs:curbp

571 	struct xfs_buf		*curbp = NULL;	/* current data/free buffer */  in xfs_dir2_leafn_lookup_for_addname()  local
608 curbp = state->extrablk.bp; in xfs_dir2_leafn_lookup_for_addname()
610 free = curbp->b_addr; in xfs_dir2_leafn_lookup_for_addname()
655 if (curbp) in xfs_dir2_leafn_lookup_for_addname()
656 xfs_trans_brelse(tp, curbp); in xfs_dir2_leafn_lookup_for_addname()
661 &curbp); in xfs_dir2_leafn_lookup_for_addname()
664 free = curbp->b_addr; in xfs_dir2_leafn_lookup_for_addname()
666 xfs_dir2_free_hdr_check(dp, curbp, curdb); in xfs_dir2_leafn_lookup_for_addname()
680 xfs_trans_brelse(tp, curbp); in xfs_dir2_leafn_lookup_for_addname()
692 if (curbp) { in xfs_dir2_leafn_lookup_for_addname()
695 state->extrablk.bp = curbp; in xfs_dir2_leafn_lookup_for_addname()
726 struct xfs_buf *curbp = NULL; /* current data/free buffer */ in xfs_dir2_leafn_lookup_for_entry() local
759 curbp = state->extrablk.bp; in xfs_dir2_leafn_lookup_for_entry()
789 if (curbp && (args->cmpresult == XFS_CMP_DIFFERENT || in xfs_dir2_leafn_lookup_for_entry()
791 xfs_trans_brelse(tp, curbp); in xfs_dir2_leafn_lookup_for_entry()
799 curbp = state->extrablk.bp; in xfs_dir2_leafn_lookup_for_entry()
804 -1, &curbp); in xfs_dir2_leafn_lookup_for_entry()
808 xfs_dir3_data_check(dp, curbp); in xfs_dir2_leafn_lookup_for_entry()
814 dep = (xfs_dir2_data_entry_t *)((char *)curbp->b_addr + in xfs_dir2_leafn_lookup_for_entry()
833 state->extrablk.bp = curbp; in xfs_dir2_leafn_lookup_for_entry()
836 (char *)curbp->b_addr); in xfs_dir2_leafn_lookup_for_entry()
838 curbp->b_ops = &xfs_dir3_data_buf_ops; in xfs_dir2_leafn_lookup_for_entry()
839 xfs_trans_buf_set_type(tp, curbp, XFS_BLFT_DIR_DATA_BUF); in xfs_dir2_leafn_lookup_for_entry()
845 if (curbp) { in xfs_dir2_leafn_lookup_for_entry()
849 state->extrablk.bp = curbp; in xfs_dir2_leafn_lookup_for_entry()
853 curbp->b_ops = &xfs_dir3_data_buf_ops; in xfs_dir2_leafn_lookup_for_entry()
854 xfs_trans_buf_set_type(tp, curbp, XFS_BLFT_DIR_DATA_BUF); in xfs_dir2_leafn_lookup_for_entry()
857 if (state->extrablk.bp != curbp) in xfs_dir2_leafn_lookup_for_entry()
858 xfs_trans_brelse(tp, curbp); in xfs_dir2_leafn_lookup_for_entry()