Lines Matching refs:nmap
488 int nmap, in xfs_bmap_validate_ret() argument
493 ASSERT(ret_nmap <= nmap); in xfs_bmap_validate_ret()
519 #define xfs_bmap_validate_ret(bno,len,flags,mval,onmap,nmap) do { } while (0) argument
3875 int *nmap, in xfs_bmapi_read() argument
3889 ASSERT(*nmap >= 1); in xfs_bmapi_read()
3914 while (bno < end && n < *nmap) { in xfs_bmapi_read()
3937 if (bno >= end || n >= *nmap) in xfs_bmapi_read()
3944 *nmap = n; in xfs_bmapi_read()
4361 int *nmap) /* i/o: mval size/count */ in xfs_bmapi_write() argument
4388 orig_nmap = *nmap; in xfs_bmapi_write()
4391 ASSERT(*nmap >= 1); in xfs_bmapi_write()
4392 ASSERT(*nmap <= XFS_BMAP_MAX_NMAP); in xfs_bmapi_write()
4434 while (bno < end && n < *nmap) { in xfs_bmapi_write()
4517 if (bno >= end || n >= *nmap || bma.nallocs >= *nmap) in xfs_bmapi_write()
4547 ASSERT(bma.nallocs >= *nmap); in xfs_bmapi_write()
4550 *nmap = n; in xfs_bmapi_write()