Lines Matching refs:mapp

2004 	struct xfs_bmbt_irec	map, *mapp;  in xfs_da_grow_inode_int()  local
2028 mapp = ↦ in xfs_da_grow_inode_int()
2038 mapp = kmem_alloc(sizeof(*mapp) * count, KM_SLEEP); in xfs_da_grow_inode_int()
2045 &mapp[mapi], &nmap, args->flist); in xfs_da_grow_inode_int()
2051 b = mapp[mapi - 1].br_startoff + in xfs_da_grow_inode_int()
2052 mapp[mapi - 1].br_blockcount; in xfs_da_grow_inode_int()
2056 mapp = NULL; in xfs_da_grow_inode_int()
2063 got += mapp[i].br_blockcount; in xfs_da_grow_inode_int()
2064 if (got != count || mapp[0].br_startoff != *bno || in xfs_da_grow_inode_int()
2065 mapp[mapi - 1].br_startoff + mapp[mapi - 1].br_blockcount != in xfs_da_grow_inode_int()
2075 if (mapp != &map) in xfs_da_grow_inode_int()
2076 kmem_free(mapp); in xfs_da_grow_inode_int()
2378 xfs_bmbt_irec_t *mapp, in xfs_da_map_covers_blocks() argument
2386 if (mapp[i].br_startblock == HOLESTARTBLOCK || in xfs_da_map_covers_blocks()
2387 mapp[i].br_startblock == DELAYSTARTBLOCK) { in xfs_da_map_covers_blocks()
2390 if (off != mapp[i].br_startoff) { in xfs_da_map_covers_blocks()
2393 off += mapp[i].br_blockcount; in xfs_da_map_covers_blocks()
2409 struct xfs_buf_map **mapp, in xfs_buf_map_from_irec() argument
2425 *mapp = map; in xfs_buf_map_from_irec()
2429 map = *mapp; in xfs_buf_map_from_irec()
2540 struct xfs_buf_map *mapp; in xfs_da_get_buf() local
2545 mapp = ↦ in xfs_da_get_buf()
2548 &mapp, &nmap); in xfs_da_get_buf()
2557 mapp, nmap, 0); in xfs_da_get_buf()
2568 if (mapp != &map) in xfs_da_get_buf()
2569 kmem_free(mapp); in xfs_da_get_buf()
2589 struct xfs_buf_map *mapp; in xfs_da_read_buf() local
2594 mapp = ↦ in xfs_da_read_buf()
2597 &mapp, &nmap); in xfs_da_read_buf()
2607 mapp, nmap, 0, &bp, ops); in xfs_da_read_buf()
2617 if (mapp != &map) in xfs_da_read_buf()
2618 kmem_free(mapp); in xfs_da_read_buf()
2635 struct xfs_buf_map *mapp; in xfs_da_reada_buf() local
2639 mapp = ↦ in xfs_da_reada_buf()
2642 &mapp, &nmap); in xfs_da_reada_buf()
2650 mappedbno = mapp[0].bm_bn; in xfs_da_reada_buf()
2651 xfs_buf_readahead_map(dp->i_mount->m_ddev_targp, mapp, nmap, ops); in xfs_da_reada_buf()
2654 if (mapp != &map) in xfs_da_reada_buf()
2655 kmem_free(mapp); in xfs_da_reada_buf()