Home
last modified time | relevance | path

Searched refs:new_bp (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/
Dxfs_buf.c589 struct xfs_buf *new_bp, in xfs_buf_find() argument
632 if (!new_bp) { in xfs_buf_find()
640 new_bp->b_pag = pag; in xfs_buf_find()
641 rhashtable_insert_fast(&pag->pag_buf_hash, &new_bp->b_rhash_head, in xfs_buf_find()
644 *found_bp = new_bp; in xfs_buf_find()
709 struct xfs_buf *new_bp; in xfs_buf_get_map() local
719 error = _xfs_buf_alloc(target, map, nmaps, flags, &new_bp); in xfs_buf_get_map()
723 error = xfs_buf_allocate_memory(new_bp, flags); in xfs_buf_get_map()
725 xfs_buf_free(new_bp); in xfs_buf_get_map()
729 error = xfs_buf_find(target, map, nmaps, flags, new_bp, &bp); in xfs_buf_get_map()
[all …]
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_btree_staging.c375 struct xfs_buf *new_bp; in xfs_btree_bload_prep_block() local
412 ret = xfs_btree_get_buf_block(cur, &new_ptr, &new_block, &new_bp); in xfs_btree_bload_prep_block()
425 xfs_btree_init_block_cur(cur, new_bp, level, nr_this_block); in xfs_btree_bload_prep_block()
429 *bpp = new_bp; in xfs_btree_bload_prep_block()
/kernel/linux/linux-5.10/drivers/md/
Dmd-bitmap.c2076 struct bitmap_page *new_bp; in md_bitmap_resize() local
2128 new_bp = kcalloc(pages, sizeof(*new_bp), GFP_KERNEL); in md_bitmap_resize()
2130 if (!new_bp) { in md_bitmap_resize()
2150 bitmap->counts.bp = new_bp; in md_bitmap_resize()
2171 kfree(new_bp[k].map); in md_bitmap_resize()
2173 kfree(new_bp); in md_bitmap_resize()