Searched refs:new_bp (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/fs/xfs/libxfs/ |
D | xfs_btree_staging.c | 375 struct xfs_buf *new_bp; in xfs_btree_bload_prep_block() local 411 ret = xfs_btree_get_buf_block(cur, &new_ptr, &new_block, &new_bp); in xfs_btree_bload_prep_block() 424 xfs_btree_init_block_cur(cur, new_bp, level, nr_this_block); in xfs_btree_bload_prep_block() 428 *bpp = new_bp; in xfs_btree_bload_prep_block()
|
/linux-6.6.21/fs/xfs/ |
D | xfs_buf.c | 617 struct xfs_buf *new_bp; in xfs_buf_find_insert() local 621 error = _xfs_buf_alloc(btp, map, nmaps, flags, &new_bp); in xfs_buf_find_insert() 631 if (BBTOB(new_bp->b_length) >= PAGE_SIZE || in xfs_buf_find_insert() 632 xfs_buf_alloc_kmem(new_bp, flags) < 0) { in xfs_buf_find_insert() 633 error = xfs_buf_alloc_pages(new_bp, flags); in xfs_buf_find_insert() 640 &new_bp->b_rhash_head, xfs_buf_hash_params); in xfs_buf_find_insert() 659 new_bp->b_pag = pag; in xfs_buf_find_insert() 661 *bpp = new_bp; in xfs_buf_find_insert() 665 xfs_buf_free(new_bp); in xfs_buf_find_insert()
|
/linux-6.6.21/drivers/md/ |
D | md-bitmap.c | 2145 struct bitmap_page *new_bp; in md_bitmap_resize() local 2197 new_bp = kcalloc(pages, sizeof(*new_bp), GFP_KERNEL); in md_bitmap_resize() 2199 if (!new_bp) { in md_bitmap_resize() 2219 bitmap->counts.bp = new_bp; in md_bitmap_resize() 2240 kfree(new_bp[k].map); in md_bitmap_resize() 2242 kfree(new_bp); in md_bitmap_resize()
|