Home
last modified time | relevance | path

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

/Linux-v4.19/fs/xfs/
Dxfs_buf.c551 struct xfs_buf *new_bp, in xfs_buf_find() argument
594 if (!new_bp) { in xfs_buf_find()
602 new_bp->b_pag = pag; in xfs_buf_find()
603 rhashtable_insert_fast(&pag->pag_buf_hash, &new_bp->b_rhash_head, in xfs_buf_find()
606 *found_bp = new_bp; in xfs_buf_find()
671 struct xfs_buf *new_bp; in xfs_buf_get_map() local
696 new_bp = _xfs_buf_alloc(target, map, nmaps, flags); in xfs_buf_get_map()
697 if (unlikely(!new_bp)) in xfs_buf_get_map()
700 error = xfs_buf_allocate_memory(new_bp, flags); in xfs_buf_get_map()
702 xfs_buf_free(new_bp); in xfs_buf_get_map()
[all …]
/Linux-v4.19/drivers/md/
Dmd-bitmap.c2067 struct bitmap_page *new_bp; in md_bitmap_resize() local
2118 new_bp = kcalloc(pages, sizeof(*new_bp), GFP_KERNEL); in md_bitmap_resize()
2120 if (!new_bp) { in md_bitmap_resize()
2139 bitmap->counts.bp = new_bp; in md_bitmap_resize()
2161 kfree(new_bp[k].map); in md_bitmap_resize()
2163 kfree(new_bp); in md_bitmap_resize()