Home
last modified time | relevance | path

Searched refs:b_maps (Results 1 – 4 of 4) sorted by relevance

/linux/fs/xfs/
H A Dxfs_buf_item.c252 offset += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_size()
398 offset += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_format()
888 chunks = DIV_ROUND_UP(BBTOB(bp->b_maps[i].bm_len), in xfs_buf_item_init()
898 BBTOB(bp->b_maps[i].bm_len)); in xfs_buf_item_init()
903 bip->bli_formats[i].blf_blkno = bp->b_maps[i].bm_bn; in xfs_buf_item_init()
904 bip->bli_formats[i].blf_len = bp->b_maps[i].bm_len; in xfs_buf_item_init()
1020 end = start + BBTOB(bp->b_maps[i].bm_len) - 1; in xfs_buf_item_log()
1024 start += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_log()
1041 start += BBTOB(bp->b_maps[i].bm_len); in xfs_buf_item_log()
H A Dxfs_buf.c125 if (bp->b_maps != &bp->__b_map) in xfs_buf_free_callback()
126 kfree(bp->b_maps); in xfs_buf_free_callback()
330 bp->b_maps = &bp->__b_map; in xfs_buf_alloc()
332 bp->b_maps = kzalloc_objs(struct xfs_buf_map, nmaps, in xfs_buf_alloc()
335 bp->b_maps[i].bm_bn = map[i].bm_bn; in xfs_buf_alloc()
336 bp->b_maps[i].bm_len = map[i].bm_len; in xfs_buf_alloc()
620 ASSERT(bp->b_maps[0].bm_bn != XFS_BUF_DADDR_NULL); in _xfs_buf_read()
815 bp->b_maps[0].bm_bn = daddr; in xfs_buf_read_uncached()
1312 split = bio_split(bio, bp->b_maps[map].bm_len, GFP_NOFS, in xfs_buf_submit_bio()
1314 split->bi_iter.bi_sector = bp->b_maps[map].bm_bn; in xfs_buf_submit_bio()
[all …]
H A Dxfs_buf.h167 struct xfs_buf_map *b_maps; /* compound buffer map */ member
317 return bp->b_maps[0].bm_bn; in xfs_buf_daddr()
H A Dxfs_rtalloc.c847 rtsb_bp->b_maps[0].bm_bn = XFS_RTSB_DADDR; in xfs_growfs_rt_init_rtsb()