Home
last modified time | relevance | path

Searched refs:nmaps (Results 1 – 10 of 10) sorted by relevance

/fs/xfs/
Dxfs_symlink.c36 int nmaps = XFS_SYMLINK_MAPS; in xfs_readlink_bmap_ilocked() local
46 error = xfs_bmapi_read(ip, 0, fsblocks, mval, &nmaps, 0); in xfs_readlink_bmap_ilocked()
51 for (n = 0; n < nmaps; n++) { in xfs_readlink_bmap_ilocked()
160 int nmaps; in xfs_symlink() local
271 nmaps = XFS_SYMLINK_MAPS; in xfs_symlink()
274 XFS_BMAPI_METADATA, resblks, mval, &nmaps); in xfs_symlink()
285 for (n = 0; n < nmaps; n++) { in xfs_symlink()
389 int nmaps; in xfs_inactive_symlink_rmt() local
425 nmaps = ARRAY_SIZE(mval); in xfs_inactive_symlink_rmt()
427 mval, &nmaps, 0); in xfs_inactive_symlink_rmt()
[all …]
Dxfs_trans_buf.c27 int nmaps) in xfs_trans_buf_item_match() argument
34 for (i = 0; i < nmaps; i++) in xfs_trans_buf_item_match()
43 ASSERT(blip->bli_buf->b_map_count == nmaps); in xfs_trans_buf_item_match()
120 int nmaps, in xfs_trans_get_buf_map() argument
127 return xfs_buf_get_map(target, map, nmaps, flags); in xfs_trans_get_buf_map()
135 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_get_buf_map()
152 bp = xfs_buf_get_map(target, map, nmaps, flags); in xfs_trans_get_buf_map()
228 int nmaps, in xfs_trans_read_buf_map() argument
247 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_read_buf_map()
301 bp = xfs_buf_read_map(target, map, nmaps, flags, ops); in xfs_trans_read_buf_map()
Dxfs_buf.c205 int nmaps, in _xfs_buf_alloc() argument
239 error = xfs_buf_get_maps(bp, nmaps); in _xfs_buf_alloc()
247 for (i = 0; i < nmaps; i++) { in _xfs_buf_alloc()
571 int nmaps, in xfs_buf_find() argument
584 for (i = 0; i < nmaps; i++) in xfs_buf_find()
689 int nmaps, in xfs_buf_get_map() argument
696 error = xfs_buf_find(target, map, nmaps, flags, NULL, &bp); in xfs_buf_get_map()
718 new_bp = _xfs_buf_alloc(target, map, nmaps, flags); in xfs_buf_get_map()
728 error = xfs_buf_find(target, map, nmaps, flags, new_bp, &bp); in xfs_buf_get_map()
813 int nmaps, in xfs_buf_read_map() argument
[all …]
Dxfs_buf.h196 struct xfs_buf_map *map, int nmaps,
199 struct xfs_buf_map *map, int nmaps,
203 struct xfs_buf_map *map, int nmaps,
Dxfs_dquot.c320 int nmaps = 1; in xfs_dquot_disk_alloc() local
339 XFS_QM_DQALLOC_SPACE_RES(mp), &map, &nmaps); in xfs_dquot_disk_alloc()
343 ASSERT(nmaps == 1); in xfs_dquot_disk_alloc()
413 int nmaps = 1; in xfs_dquot_disk_read() local
430 XFS_DQUOT_CLUSTER_SIZE_FSB, &map, &nmaps, 0); in xfs_dquot_disk_read()
435 ASSERT(nmaps == 1); in xfs_dquot_disk_read()
Dxfs_trans.h176 struct xfs_buf_map *map, int nmaps,
194 struct xfs_buf_map *map, int nmaps,
Dxfs_qm.c986 int i, nmaps; /* number of map entries */ in xfs_qm_reset_dqcounts_buf() local
1010 nmaps = XFS_DQITER_MAP_SIZE; in xfs_qm_reset_dqcounts_buf()
1018 map, &nmaps, 0); in xfs_qm_reset_dqcounts_buf()
1023 ASSERT(nmaps <= XFS_DQITER_MAP_SIZE); in xfs_qm_reset_dqcounts_buf()
1024 for (i = 0; i < nmaps; i++) { in xfs_qm_reset_dqcounts_buf()
1039 if ((i+1 < nmaps) && in xfs_qm_reset_dqcounts_buf()
1062 } while (nmaps > 0); in xfs_qm_reset_dqcounts_buf()
Dxfs_reflink.c1436 int nmaps; in xfs_reflink_dirty_extents() local
1440 nmaps = 1; in xfs_reflink_dirty_extents()
1445 error = xfs_bmapi_read(ip, fbno, end - fbno, map, &nmaps, 0); in xfs_reflink_dirty_extents()
1448 if (nmaps == 0) in xfs_reflink_dirty_extents()
Dxfs_iomap.c173 int nmaps) in xfs_iomap_write_direct() argument
212 if (nmaps && (imap->br_startblock == HOLESTARTBLOCK)) in xfs_iomap_write_direct()
/fs/xfs/libxfs/
Dxfs_da_btree.c2483 int *nmaps, in xfs_buf_map_from_irec() argument
2490 ASSERT(*nmaps == 1); in xfs_buf_map_from_irec()
2501 *nmaps = nirecs; in xfs_buf_map_from_irec()
2503 for (i = 0; i < *nmaps; i++) { in xfs_buf_map_from_irec()
2527 int *nmaps) in xfs_dabuf_map() argument
2537 ASSERT(*nmaps == 1); in xfs_dabuf_map()
2577 for (i = 0; i < *nmaps; i++) { in xfs_dabuf_map()
2592 error = xfs_buf_map_from_irec(mp, map, nmaps, irecs, nirecs); in xfs_dabuf_map()