Lines Matching refs:mapp
2149 struct xfs_bmbt_irec map, *mapp; in xfs_da_grow_inode_int() local
2171 mapp = ↦ in xfs_da_grow_inode_int()
2181 mapp = kmem_alloc(sizeof(*mapp) * count, 0); in xfs_da_grow_inode_int()
2187 args->total, &mapp[mapi], &nmap); in xfs_da_grow_inode_int()
2193 b = mapp[mapi - 1].br_startoff + in xfs_da_grow_inode_int()
2194 mapp[mapi - 1].br_blockcount; in xfs_da_grow_inode_int()
2198 mapp = NULL; in xfs_da_grow_inode_int()
2205 got += mapp[i].br_blockcount; in xfs_da_grow_inode_int()
2206 if (got != count || mapp[0].br_startoff != *bno || in xfs_da_grow_inode_int()
2207 mapp[mapi - 1].br_startoff + mapp[mapi - 1].br_blockcount != in xfs_da_grow_inode_int()
2217 if (mapp != &map) in xfs_da_grow_inode_int()
2218 kmem_free(mapp); in xfs_da_grow_inode_int()
2505 struct xfs_buf_map **mapp, in xfs_dabuf_map() argument
2511 struct xfs_buf_map *map = *mapp; in xfs_dabuf_map()
2534 *mapp = map; in xfs_dabuf_map()
2594 struct xfs_buf_map map, *mapp = ↦ in xfs_da_get_buf() local
2599 error = xfs_dabuf_map(dp, bno, 0, whichfork, &mapp, &nmap); in xfs_da_get_buf()
2603 error = xfs_trans_get_buf_map(tp, mp->m_ddev_targp, mapp, nmap, 0, &bp); in xfs_da_get_buf()
2610 if (mapp != &map) in xfs_da_get_buf()
2611 kmem_free(mapp); in xfs_da_get_buf()
2631 struct xfs_buf_map map, *mapp = ↦ in xfs_da_read_buf() local
2636 error = xfs_dabuf_map(dp, bno, flags, whichfork, &mapp, &nmap); in xfs_da_read_buf()
2640 error = xfs_trans_read_buf_map(mp, tp, mp->m_ddev_targp, mapp, nmap, 0, in xfs_da_read_buf()
2651 if (mapp != &map) in xfs_da_read_buf()
2652 kmem_free(mapp); in xfs_da_read_buf()
2669 struct xfs_buf_map *mapp; in xfs_da_reada_buf() local
2673 mapp = ↦ in xfs_da_reada_buf()
2675 error = xfs_dabuf_map(dp, bno, flags, whichfork, &mapp, &nmap); in xfs_da_reada_buf()
2679 xfs_buf_readahead_map(dp->i_mount->m_ddev_targp, mapp, nmap, ops); in xfs_da_reada_buf()
2682 if (mapp != &map) in xfs_da_reada_buf()
2683 kmem_free(mapp); in xfs_da_reada_buf()