Lines Matching refs:nmap
2070 int nmap, error, got, i, mapi; in xfs_da_grow_inode_int() local
2082 nmap = 1; in xfs_da_grow_inode_int()
2085 args->total, &map, &nmap); in xfs_da_grow_inode_int()
2089 ASSERT(nmap <= 1); in xfs_da_grow_inode_int()
2090 if (nmap == 1) { in xfs_da_grow_inode_int()
2093 } else if (nmap == 0 && count > 1) { in xfs_da_grow_inode_int()
2103 nmap = min(XFS_BMAP_MAX_NMAP, count); in xfs_da_grow_inode_int()
2107 args->total, &mapp[mapi], &nmap); in xfs_da_grow_inode_int()
2110 if (nmap < 1) in xfs_da_grow_inode_int()
2112 mapi += nmap; in xfs_da_grow_inode_int()
2438 int nmap, in xfs_da_map_covers_blocks() argument
2446 for (i = 0, off = bno; i < nmap; i++) { in xfs_da_map_covers_blocks()
2602 int nmap; in xfs_da_get_buf() local
2607 nmap = 1; in xfs_da_get_buf()
2609 &mapp, &nmap); in xfs_da_get_buf()
2618 mapp, nmap, 0); in xfs_da_get_buf()
2651 int nmap; in xfs_da_read_buf() local
2656 nmap = 1; in xfs_da_read_buf()
2658 &mapp, &nmap); in xfs_da_read_buf()
2668 mapp, nmap, 0, &bp, ops); in xfs_da_read_buf()
2697 int nmap; in xfs_da_reada_buf() local
2701 nmap = 1; in xfs_da_reada_buf()
2703 &mapp, &nmap); in xfs_da_reada_buf()
2712 xfs_buf_readahead_map(dp->i_mount->m_ddev_targp, mapp, nmap, ops); in xfs_da_reada_buf()