Home
last modified time | relevance | path

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

/Linux-v5.4/fs/xfs/
Dxfs_buf.c573 struct xfs_buf *new_bp, in xfs_buf_find() argument
616 if (!new_bp) { in xfs_buf_find()
624 new_bp->b_pag = pag; in xfs_buf_find()
625 rhashtable_insert_fast(&pag->pag_buf_hash, &new_bp->b_rhash_head, in xfs_buf_find()
628 *found_bp = new_bp; in xfs_buf_find()
693 struct xfs_buf *new_bp; in xfs_buf_get_map() local
718 new_bp = _xfs_buf_alloc(target, map, nmaps, flags); in xfs_buf_get_map()
719 if (unlikely(!new_bp)) in xfs_buf_get_map()
722 error = xfs_buf_allocate_memory(new_bp, flags); in xfs_buf_get_map()
724 xfs_buf_free(new_bp); in xfs_buf_get_map()
[all …]
/Linux-v5.4/drivers/md/
Dmd-bitmap.c2074 struct bitmap_page *new_bp; in md_bitmap_resize() local
2125 new_bp = kcalloc(pages, sizeof(*new_bp), GFP_KERNEL); in md_bitmap_resize()
2127 if (!new_bp) { in md_bitmap_resize()
2146 bitmap->counts.bp = new_bp; in md_bitmap_resize()
2168 kfree(new_bp[k].map); in md_bitmap_resize()
2170 kfree(new_bp); in md_bitmap_resize()