Lines Matching refs:mapp

2015 	struct xfs_bmbt_irec	map, *mapp;  in xfs_da_grow_inode_int()  local
2039 mapp = ↦ in xfs_da_grow_inode_int()
2049 mapp = kmem_alloc(sizeof(*mapp) * count, KM_SLEEP); in xfs_da_grow_inode_int()
2056 &mapp[mapi], &nmap, args->flist); in xfs_da_grow_inode_int()
2062 b = mapp[mapi - 1].br_startoff + in xfs_da_grow_inode_int()
2063 mapp[mapi - 1].br_blockcount; in xfs_da_grow_inode_int()
2067 mapp = NULL; in xfs_da_grow_inode_int()
2074 got += mapp[i].br_blockcount; in xfs_da_grow_inode_int()
2075 if (got != count || mapp[0].br_startoff != *bno || in xfs_da_grow_inode_int()
2076 mapp[mapi - 1].br_startoff + mapp[mapi - 1].br_blockcount != in xfs_da_grow_inode_int()
2086 if (mapp != &map) in xfs_da_grow_inode_int()
2087 kmem_free(mapp); in xfs_da_grow_inode_int()
2389 xfs_bmbt_irec_t *mapp, in xfs_da_map_covers_blocks() argument
2397 if (mapp[i].br_startblock == HOLESTARTBLOCK || in xfs_da_map_covers_blocks()
2398 mapp[i].br_startblock == DELAYSTARTBLOCK) { in xfs_da_map_covers_blocks()
2401 if (off != mapp[i].br_startoff) { in xfs_da_map_covers_blocks()
2404 off += mapp[i].br_blockcount; in xfs_da_map_covers_blocks()
2420 struct xfs_buf_map **mapp, in xfs_buf_map_from_irec() argument
2436 *mapp = map; in xfs_buf_map_from_irec()
2440 map = *mapp; in xfs_buf_map_from_irec()
2551 struct xfs_buf_map *mapp; in xfs_da_get_buf() local
2556 mapp = ↦ in xfs_da_get_buf()
2559 &mapp, &nmap); in xfs_da_get_buf()
2568 mapp, nmap, 0); in xfs_da_get_buf()
2579 if (mapp != &map) in xfs_da_get_buf()
2580 kmem_free(mapp); in xfs_da_get_buf()
2600 struct xfs_buf_map *mapp; in xfs_da_read_buf() local
2605 mapp = ↦ in xfs_da_read_buf()
2608 &mapp, &nmap); in xfs_da_read_buf()
2618 mapp, nmap, 0, &bp, ops); in xfs_da_read_buf()
2628 if (mapp != &map) in xfs_da_read_buf()
2629 kmem_free(mapp); in xfs_da_read_buf()
2646 struct xfs_buf_map *mapp; in xfs_da_reada_buf() local
2650 mapp = ↦ in xfs_da_reada_buf()
2653 &mapp, &nmap); in xfs_da_reada_buf()
2661 mappedbno = mapp[0].bm_bn; in xfs_da_reada_buf()
2662 xfs_buf_readahead_map(dp->i_mount->m_ddev_targp, mapp, nmap, ops); in xfs_da_reada_buf()
2665 if (mapp != &map) in xfs_da_reada_buf()
2666 kmem_free(mapp); in xfs_da_reada_buf()