Lines Matching refs:nmap
487 int nmap, in xfs_bmap_validate_ret() argument
492 ASSERT(ret_nmap <= nmap); in xfs_bmap_validate_ret()
518 #define xfs_bmap_validate_ret(bno,len,flags,mval,onmap,nmap) do { } while (0) argument
3870 int *nmap, in xfs_bmapi_read() argument
3884 ASSERT(*nmap >= 1); in xfs_bmapi_read()
3911 while (bno < end && n < *nmap) { in xfs_bmapi_read()
3934 if (bno >= end || n >= *nmap) in xfs_bmapi_read()
3941 *nmap = n; in xfs_bmapi_read()
4317 int *nmap) /* i/o: mval size/count */ in xfs_bmapi_write() argument
4344 orig_nmap = *nmap; in xfs_bmapi_write()
4347 ASSERT(*nmap >= 1); in xfs_bmapi_write()
4348 ASSERT(*nmap <= XFS_BMAP_MAX_NMAP); in xfs_bmapi_write()
4392 while (bno < end && n < *nmap) { in xfs_bmapi_write()
4469 if (bno >= end || n >= *nmap || bma.nallocs >= *nmap) in xfs_bmapi_write()
4477 *nmap = n; in xfs_bmapi_write()
4488 orig_nmap, *nmap); in xfs_bmapi_write()