Home
last modified time | relevance | path

Searched refs:nmap (Results 1 – 7 of 7) sorted by relevance

/fs/xfs/libxfs/
Dxfs_attr_remote.c391 int nmap; in xfs_attr_rmtval_get() local
404 nmap = ATTR_RMTVALUE_MAPSIZE; in xfs_attr_rmtval_get()
406 blkcnt, map, &nmap, in xfs_attr_rmtval_get()
410 ASSERT(nmap >= 1); in xfs_attr_rmtval_get()
412 for (i = 0; (i < nmap) && (valuelen > 0); i++) { in xfs_attr_rmtval_get()
467 int nmap; in xfs_attr_rmtval_set() local
504 nmap = 1; in xfs_attr_rmtval_set()
507 &nmap); in xfs_attr_rmtval_set()
514 ASSERT(nmap == 1); in xfs_attr_rmtval_set()
544 nmap = 1; in xfs_attr_rmtval_set()
[all …]
Dxfs_da_btree.c2082 int nmap, error, got, i, mapi; in xfs_da_grow_inode_int() local
2094 nmap = 1; in xfs_da_grow_inode_int()
2097 args->total, &map, &nmap); in xfs_da_grow_inode_int()
2101 ASSERT(nmap <= 1); in xfs_da_grow_inode_int()
2102 if (nmap == 1) { in xfs_da_grow_inode_int()
2105 } else if (nmap == 0 && count > 1) { in xfs_da_grow_inode_int()
2115 nmap = min(XFS_BMAP_MAX_NMAP, count); in xfs_da_grow_inode_int()
2119 args->total, &mapp[mapi], &nmap); in xfs_da_grow_inode_int()
2122 if (nmap < 1) in xfs_da_grow_inode_int()
2124 mapi += nmap; in xfs_da_grow_inode_int()
[all …]
Dxfs_bmap.h205 int *nmap, int flags);
208 xfs_extlen_t total, struct xfs_bmbt_irec *mval, int *nmap);
Dxfs_rtbitmap.c64 int nmap = 1; in xfs_rtbuf_get() local
69 error = xfs_bmapi_read(ip, block, 1, &map, &nmap, XFS_DATA_FORK); in xfs_rtbuf_get()
73 if (nmap == 0 || !xfs_bmap_is_written_extent(&map)) { in xfs_rtbuf_get()
Dxfs_bmap.c485 int nmap, in xfs_bmap_validate_ret() argument
490 ASSERT(ret_nmap <= nmap); in xfs_bmap_validate_ret()
516 #define xfs_bmap_validate_ret(bno,len,flags,mval,onmap,nmap) do { } while (0) argument
3802 int *nmap, in xfs_bmapi_read() argument
3816 ASSERT(*nmap >= 1); in xfs_bmapi_read()
3842 *nmap = 1; in xfs_bmapi_read()
3870 while (bno < end && n < *nmap) { in xfs_bmapi_read()
3893 if (bno >= end || n >= *nmap) in xfs_bmapi_read()
3900 *nmap = n; in xfs_bmapi_read()
4267 int *nmap) /* i/o: mval size/count */ in xfs_bmapi_write() argument
[all …]
/fs/xfs/
Dxfs_attr_inactive.c40 int nmap; in xfs_attr3_rmt_stale() local
51 nmap = 1; in xfs_attr3_rmt_stale()
53 &map, &nmap, XFS_BMAPI_ATTRFORK); in xfs_attr3_rmt_stale()
56 ASSERT(nmap == 1); in xfs_attr3_rmt_stale()
Dxfs_rtalloc.c779 int nmap; /* number of block maps */ in xfs_growfs_rt_alloc() local
804 nmap = 1; in xfs_growfs_rt_alloc()
807 &nmap); in xfs_growfs_rt_alloc()
808 if (!error && nmap < 1) in xfs_growfs_rt_alloc()