Lines Matching refs:nmap
2005 int nmap, error, got, i, mapi; in xfs_da_grow_inode_int() local
2017 nmap = 1; in xfs_da_grow_inode_int()
2021 args->firstblock, args->total, &map, &nmap, in xfs_da_grow_inode_int()
2026 ASSERT(nmap <= 1); in xfs_da_grow_inode_int()
2027 if (nmap == 1) { in xfs_da_grow_inode_int()
2030 } else if (nmap == 0 && count > 1) { in xfs_da_grow_inode_int()
2040 nmap = MIN(XFS_BMAP_MAX_NMAP, count); in xfs_da_grow_inode_int()
2045 &mapp[mapi], &nmap, args->flist); in xfs_da_grow_inode_int()
2048 if (nmap < 1) in xfs_da_grow_inode_int()
2050 mapi += nmap; in xfs_da_grow_inode_int()
2377 int nmap, in xfs_da_map_covers_blocks() argument
2385 for (i = 0, off = bno; i < nmap; i++) { in xfs_da_map_covers_blocks()
2541 int nmap; in xfs_da_get_buf() local
2546 nmap = 1; in xfs_da_get_buf()
2548 &mapp, &nmap); in xfs_da_get_buf()
2557 mapp, nmap, 0); in xfs_da_get_buf()
2590 int nmap; in xfs_da_read_buf() local
2595 nmap = 1; in xfs_da_read_buf()
2597 &mapp, &nmap); in xfs_da_read_buf()
2607 mapp, nmap, 0, &bp, ops); in xfs_da_read_buf()
2636 int nmap; in xfs_da_reada_buf() local
2640 nmap = 1; in xfs_da_reada_buf()
2642 &mapp, &nmap); in xfs_da_reada_buf()
2651 xfs_buf_readahead_map(dp->i_mount->m_ddev_targp, mapp, nmap, ops); in xfs_da_reada_buf()