Searched refs:nmap (Results 1 – 8 of 8) sorted by relevance
/fs/xfs/libxfs/ |
D | xfs_attr_remote.c | 390 int nmap; in xfs_attr_rmtval_get() local 403 nmap = ATTR_RMTVALUE_MAPSIZE; in xfs_attr_rmtval_get() 405 blkcnt, map, &nmap, in xfs_attr_rmtval_get() 409 ASSERT(nmap >= 1); in xfs_attr_rmtval_get() 411 for (i = 0; (i < nmap) && (valuelen > 0); i++) { in xfs_attr_rmtval_get() 482 int nmap; in xfs_attr_rmtval_set_value() local 502 nmap = 1; in xfs_attr_rmtval_set_value() 504 blkcnt, &map, &nmap, in xfs_attr_rmtval_set_value() 508 ASSERT(nmap == 1); in xfs_attr_rmtval_set_value() 611 int nmap; in xfs_attr_rmtval_set_blk() local [all …]
|
D | xfs_da_btree.c | 2162 int nmap, error, got, i, mapi; in xfs_da_grow_inode_int() local 2174 nmap = 1; in xfs_da_grow_inode_int() 2177 args->total, &map, &nmap); in xfs_da_grow_inode_int() 2181 ASSERT(nmap <= 1); in xfs_da_grow_inode_int() 2182 if (nmap == 1) { in xfs_da_grow_inode_int() 2185 } else if (nmap == 0 && count > 1) { in xfs_da_grow_inode_int() 2196 nmap = min(XFS_BMAP_MAX_NMAP, c); in xfs_da_grow_inode_int() 2199 args->total, &mapp[mapi], &nmap); in xfs_da_grow_inode_int() 2202 if (nmap < 1) in xfs_da_grow_inode_int() 2204 mapi += nmap; in xfs_da_grow_inode_int() [all …]
|
D | xfs_bmap.h | 186 int *nmap, uint32_t flags); 189 xfs_extlen_t total, struct xfs_bmbt_irec *mval, int *nmap);
|
D | xfs_rtbitmap.c | 64 int nmap = 1; in xfs_rtbuf_get() local 69 error = xfs_bmapi_read(ip, block, 1, &map, &nmap, 0); in xfs_rtbuf_get() 73 if (XFS_IS_CORRUPT(mp, nmap == 0 || !xfs_bmap_is_written_extent(&map))) in xfs_rtbuf_get()
|
D | xfs_bmap.c | 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 3864 int *nmap, in xfs_bmapi_read() argument 3878 ASSERT(*nmap >= 1); in xfs_bmapi_read() 3903 while (bno < end && n < *nmap) { in xfs_bmapi_read() 3926 if (bno >= end || n >= *nmap) in xfs_bmapi_read() 3933 *nmap = n; in xfs_bmapi_read() 4316 int *nmap) /* i/o: mval size/count */ in xfs_bmapi_write() argument 4343 orig_nmap = *nmap; in xfs_bmapi_write() [all …]
|
/fs/xfs/scrub/ |
D | rtbitmap.c | 68 int nmap; in xchk_rtbitmap_check_extents() local 77 nmap = 1; in xchk_rtbitmap_check_extents() 79 mp->m_sb.sb_rbmblocks - off, &map, &nmap, in xchk_rtbitmap_check_extents() 84 if (nmap != 1 || !xfs_bmap_is_written_extent(&map)) { in xchk_rtbitmap_check_extents()
|
/fs/xfs/ |
D | xfs_attr_inactive.c | 40 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 if (XFS_IS_CORRUPT(dp->i_mount, nmap != 1)) in xfs_attr3_rmt_stale()
|
D | xfs_rtalloc.c | 779 int nmap; /* number of block maps */ in xfs_growfs_rt_alloc() local 818 nmap = 1; in xfs_growfs_rt_alloc() 820 XFS_BMAPI_METADATA, 0, &map, &nmap); in xfs_growfs_rt_alloc() 821 if (!error && nmap < 1) in xfs_growfs_rt_alloc()
|