Lines Matching refs:bm_bn
245 bp->b_bn = map[0].bm_bn; in _xfs_buf_alloc()
248 bp->b_maps[i].bm_bn = map[i].bm_bn; in _xfs_buf_alloc()
389 start = BBTOB(bp->b_maps[0].bm_bn) >> PAGE_SHIFT; in xfs_buf_allocate_memory()
390 end = (BBTOB(bp->b_maps[0].bm_bn + bp->b_length) + PAGE_SIZE - 1) in xfs_buf_allocate_memory()
504 BUILD_BUG_ON(offsetof(struct xfs_buf_map, bm_bn) != 0); in _xfs_buf_obj_cmp()
506 if (bp->b_bn != map->bm_bn) in _xfs_buf_obj_cmp()
578 struct xfs_buf_map cmap = { .bm_bn = map[0].bm_bn }; in xfs_buf_find()
589 ASSERT(!(BBTOB(cmap.bm_bn) & (xfs_off_t)btp->bt_meta_sectormask)); in xfs_buf_find()
596 if (cmap.bm_bn < 0 || cmap.bm_bn >= eofs) { in xfs_buf_find()
599 __func__, cmap.bm_bn, eofs); in xfs_buf_find()
605 xfs_daddr_to_agno(btp->bt_mount, cmap.bm_bn)); in xfs_buf_find()
766 ASSERT(bp->b_maps[0].bm_bn != XFS_BUF_DADDR_NULL); in _xfs_buf_read()
893 bp->b_maps[0].bm_bn = daddr; in xfs_buf_read_uncached()
1273 sector_t sector = bp->b_maps[map].bm_bn; in xfs_buf_ioapply_map()
1897 diff = ap->b_maps[0].bm_bn - bp->b_maps[0].bm_bn; in xfs_buf_cmp()