Searched refs:new_bp (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/fs/xfs/libxfs/ |
D | xfs_btree_staging.c | 294 struct xfs_buf *new_bp; in xfs_btree_bload_prep_block() local 327 ret = xfs_btree_get_buf_block(cur, &new_ptr, &new_block, &new_bp); in xfs_btree_bload_prep_block() 343 xfs_btree_init_block_cur(cur, new_bp, level, nr_this_block); in xfs_btree_bload_prep_block() 347 *bpp = new_bp; in xfs_btree_bload_prep_block()
|
/linux-6.12.1/fs/xfs/ |
D | xfs_buf.c | 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() [all …]
|
/linux-6.12.1/drivers/md/ |
D | md-bitmap.c | 2384 struct bitmap_page *new_bp; in __bitmap_resize() local 2436 new_bp = kcalloc(pages, sizeof(*new_bp), GFP_KERNEL); in __bitmap_resize() 2438 if (!new_bp) { in __bitmap_resize() 2458 bitmap->counts.bp = new_bp; in __bitmap_resize() 2479 kfree(new_bp[k].map); in __bitmap_resize() 2481 kfree(new_bp); in __bitmap_resize()
|