Searched defs:nmap (Results 1 - 9 of 9) sorted by relevance

/fs/xfs/
H A Dxfs_attr_inactive.c62 int nmap; local
75 nmap = 1;
77 &map, &nmap, XFS_BMAPI_ATTRFORK);
81 ASSERT(nmap == 1);
H A Dxfs_dir2_readdir.c277 int nmap; /* mappings to ask xfs_bmapi */ member in struct:xfs_dir2_leaf_map_info
349 mip->nmap = mip->map_size - mip->map_valid;
353 &map[mip->map_valid], &mip->nmap, 0);
368 if (mip->nmap == mip->map_size - mip->map_valid) {
369 i = mip->map_valid + mip->nmap - 1;
379 for (i = mip->map_valid; i < mip->map_valid + mip->nmap; ) {
381 mip->nmap--;
382 length = mip->map_valid + mip->nmap - i;
391 mip->map_valid += mip->nmap;
H A Dxfs_file.c1238 int nmap = 2; local
1241 error = xfs_bmapi_read(ip, fsbno, end - fsbno, map, &nmap,
1247 if (nmap == 0) {
1252 for (i = 0; i < nmap; i++) {
1284 if (nmap == 1) {
H A Dxfs_rtalloc.c779 int nmap; /* number of block maps */ local
809 nmap = 1;
813 resblks, &map, &nmap, &flist);
814 if (!error && nmap < 1)
H A Dxfs_bmap_util.c509 int nmap; /* number of map entries */ local
631 nmap = (nexleft > subnex) ? subnex : nexleft;
634 map, &nmap, bmapi_flags);
637 ASSERT(nmap <= subnex);
639 for (i = 0; i < nmap && nexleft && bmv->bmv_length; i++) {
698 } while (nmap && nexleft && bmv->bmv_length);
/fs/xfs/libxfs/
H A Dxfs_attr_remote.c343 int nmap; local
356 nmap = ATTR_RMTVALUE_MAPSIZE;
358 blkcnt, map, &nmap,
362 ASSERT(nmap >= 1);
364 for (i = 0; (i < nmap) && (valuelen > 0); i++) {
410 int nmap; local
441 nmap = 1;
445 args->firstblock, args->total, &map, &nmap,
465 ASSERT(nmap == 1);
496 nmap
557 int nmap; local
[all...]
H A Dxfs_rtbitmap.c62 int nmap = 1; local
67 error = xfs_bmapi_read(ip, block, 1, &map, &nmap, XFS_DATA_FORK);
H A Dxfs_bmap.c555 int nmap,
560 ASSERT(ret_nmap <= nmap);
586 #define xfs_bmap_validate_ret(bno,len,flags,mval,onmap,nmap)
4024 int *nmap,
4040 ASSERT(*nmap >= 1);
4070 while (bno < end && n < *nmap) {
4093 if (bno >= end || n >= *nmap)
4102 *nmap = n;
4221 int *nmap, /* i/o: mval size/count */
4235 ASSERT(*nmap >
550 xfs_bmap_validate_ret( xfs_fileoff_t bno, xfs_filblks_t len, int flags, xfs_bmbt_irec_t *mval, int nmap, int ret_nmap) argument
4019 xfs_bmapi_read( struct xfs_inode *ip, xfs_fileoff_t bno, xfs_filblks_t len, struct xfs_bmbt_irec *mval, int *nmap, int flags) argument
4216 xfs_bmapi_delay( struct xfs_inode *ip, xfs_fileoff_t bno, xfs_filblks_t len, struct xfs_bmbt_irec *mval, int *nmap, int flags) argument
4485 xfs_bmapi_write( struct xfs_trans *tp, struct xfs_inode *ip, xfs_fileoff_t bno, xfs_filblks_t len, int flags, xfs_fsblock_t *firstblock, xfs_extlen_t total, struct xfs_bmbt_irec *mval, int *nmap, struct xfs_bmap_free *flist) argument
[all...]
H A Dxfs_da_btree.c2009 int nmap, error, got, i, mapi; local
2021 nmap = 1;
2025 args->firstblock, args->total, &map, &nmap,
2030 ASSERT(nmap <= 1);
2031 if (nmap == 1) {
2034 } else if (nmap == 0 && count > 1) {
2044 nmap = MIN(XFS_BMAP_MAX_NMAP, count);
2049 &mapp[mapi], &nmap, args->flist);
2052 if (nmap < 1)
2054 mapi += nmap;
2382 xfs_da_map_covers_blocks( int nmap, xfs_bmbt_irec_t *mapp, xfs_dablk_t bno, int count) argument
2547 int nmap; local
2596 int nmap; local
2642 int nmap; local
[all...]

Completed in 114 milliseconds