Lines Matching refs:new_bp
635 struct xfs_buf *new_bp; in xfs_buf_find_insert() local
639 error = _xfs_buf_alloc(btp, map, nmaps, flags, &new_bp); in xfs_buf_find_insert()
643 if (xfs_buftarg_is_mem(new_bp->b_target)) { in xfs_buf_find_insert()
644 error = xmbuf_map_page(new_bp); in xfs_buf_find_insert()
645 } else if (BBTOB(new_bp->b_length) >= PAGE_SIZE || in xfs_buf_find_insert()
646 xfs_buf_alloc_kmem(new_bp, flags) < 0) { in xfs_buf_find_insert()
653 error = xfs_buf_alloc_pages(new_bp, flags); in xfs_buf_find_insert()
660 &new_bp->b_rhash_head, xfs_buf_hash_params); in xfs_buf_find_insert()
679 new_bp->b_pag = pag; in xfs_buf_find_insert()
681 *bpp = new_bp; in xfs_buf_find_insert()
685 xfs_buf_free(new_bp); in xfs_buf_find_insert()