Lines Matching defs:new_bp
569 * If @new_bp is supplied and we have a lookup miss, insert @new_bp into the
578 * -ENOENT if we fail to find a match and @new_bp was NULL
580 * - @new_bp if we inserted it into the cache
589 struct xfs_buf *new_bp,
632 if (!new_bp) {
640 new_bp->b_pag = pag;
641 rhashtable_insert_fast(&pag->pag_buf_hash, &new_bp->b_rhash_head,
644 *found_bp = new_bp;
709 struct xfs_buf *new_bp;
719 error = _xfs_buf_alloc(target, map, nmaps, flags, &new_bp);
723 error = xfs_buf_allocate_memory(new_bp, flags);
725 xfs_buf_free(new_bp);
729 error = xfs_buf_find(target, map, nmaps, flags, new_bp, &bp);
731 xfs_buf_free(new_bp);
735 if (bp != new_bp)
736 xfs_buf_free(new_bp);