Lines Matching refs:map
336 struct xfs_bmbt_irec map[ATTR_RMTVALUE_MAPSIZE]; in xfs_attr_rmtval_get() local
355 blkcnt, map, &nmap, in xfs_attr_rmtval_get()
365 ASSERT((map[i].br_startblock != DELAYSTARTBLOCK) && in xfs_attr_rmtval_get()
366 (map[i].br_startblock != HOLESTARTBLOCK)); in xfs_attr_rmtval_get()
367 dblkno = XFS_FSB_TO_DADDR(mp, map[i].br_startblock); in xfs_attr_rmtval_get()
368 dblkcnt = XFS_FSB_TO_BB(mp, map[i].br_blockcount); in xfs_attr_rmtval_get()
383 lblkno += map[i].br_blockcount; in xfs_attr_rmtval_get()
384 blkcnt -= map[i].br_blockcount; in xfs_attr_rmtval_get()
401 struct xfs_bmbt_irec map; in xfs_attr_rmtval_set() local
442 args->firstblock, args->total, &map, &nmap, in xfs_attr_rmtval_set()
463 ASSERT((map.br_startblock != DELAYSTARTBLOCK) && in xfs_attr_rmtval_set()
464 (map.br_startblock != HOLESTARTBLOCK)); in xfs_attr_rmtval_set()
465 lblkno += map.br_blockcount; in xfs_attr_rmtval_set()
466 blkcnt -= map.br_blockcount; in xfs_attr_rmtval_set()
495 blkcnt, &map, &nmap, in xfs_attr_rmtval_set()
500 ASSERT((map.br_startblock != DELAYSTARTBLOCK) && in xfs_attr_rmtval_set()
501 (map.br_startblock != HOLESTARTBLOCK)); in xfs_attr_rmtval_set()
503 dblkno = XFS_FSB_TO_DADDR(mp, map.br_startblock), in xfs_attr_rmtval_set()
504 dblkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount); in xfs_attr_rmtval_set()
521 lblkno += map.br_blockcount; in xfs_attr_rmtval_set()
522 blkcnt -= map.br_blockcount; in xfs_attr_rmtval_set()
555 struct xfs_bmbt_irec map; in xfs_attr_rmtval_remove() local
566 blkcnt, &map, &nmap, XFS_BMAPI_ATTRFORK); in xfs_attr_rmtval_remove()
570 ASSERT((map.br_startblock != DELAYSTARTBLOCK) && in xfs_attr_rmtval_remove()
571 (map.br_startblock != HOLESTARTBLOCK)); in xfs_attr_rmtval_remove()
573 dblkno = XFS_FSB_TO_DADDR(mp, map.br_startblock), in xfs_attr_rmtval_remove()
574 dblkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount); in xfs_attr_rmtval_remove()
586 lblkno += map.br_blockcount; in xfs_attr_rmtval_remove()
587 blkcnt -= map.br_blockcount; in xfs_attr_rmtval_remove()