Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_symlink.c57 int nmaps = XFS_SYMLINK_MAPS; in xfs_readlink_bmap() local
65 error = xfs_bmapi_read(ip, 0, fsblocks, mval, &nmaps, 0); in xfs_readlink_bmap()
70 for (n = 0; n < nmaps; n++) { in xfs_readlink_bmap()
181 int nmaps; in xfs_symlink() local
313 nmaps = XFS_SYMLINK_MAPS; in xfs_symlink()
317 mval, &nmaps, &dfops); in xfs_symlink()
328 for (n = 0; n < nmaps; n++) { in xfs_symlink()
434 int nmaps; in xfs_inactive_symlink_rmt() local
470 nmaps = ARRAY_SIZE(mval); in xfs_inactive_symlink_rmt()
472 mval, &nmaps, 0); in xfs_inactive_symlink_rmt()
[all …]
Dxfs_trans_buf.c41 int nmaps) in xfs_trans_buf_item_match() argument
48 for (i = 0; i < nmaps; i++) in xfs_trans_buf_item_match()
57 ASSERT(blip->bli_buf->b_map_count == nmaps); in xfs_trans_buf_item_match()
138 int nmaps, in xfs_trans_get_buf_map() argument
145 return xfs_buf_get_map(target, map, nmaps, flags); in xfs_trans_get_buf_map()
153 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_get_buf_map()
170 bp = xfs_buf_get_map(target, map, nmaps, flags); in xfs_trans_get_buf_map()
246 int nmaps, in xfs_trans_read_buf_map() argument
265 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_read_buf_map()
291 bp = xfs_buf_read_map(target, map, nmaps, flags, ops); in xfs_trans_read_buf_map()
Dxfs_buf.h219 struct xfs_buf_map *map, int nmaps,
234 struct xfs_buf_map *map, int nmaps,
249 struct xfs_buf_map *map, int nmaps,
252 struct xfs_buf_map *map, int nmaps,
256 struct xfs_buf_map *map, int nmaps,
Dxfs_buf.c214 int nmaps, in _xfs_buf_alloc() argument
248 error = xfs_buf_get_maps(bp, nmaps); in _xfs_buf_alloc()
256 for (i = 0; i < nmaps; i++) { in _xfs_buf_alloc()
501 int nmaps, in _xfs_buf_find() argument
514 for (i = 0; i < nmaps; i++) in _xfs_buf_find()
629 int nmaps, in xfs_buf_get_map() argument
636 bp = _xfs_buf_find(target, map, nmaps, flags, NULL); in xfs_buf_get_map()
640 new_bp = _xfs_buf_alloc(target, map, nmaps, flags); in xfs_buf_get_map()
650 bp = _xfs_buf_find(target, map, nmaps, flags, new_bp); in xfs_buf_get_map()
704 int nmaps, in xfs_buf_read_map() argument
[all …]
Dxfs_dquot.c313 int nmaps, error; in xfs_qm_dqalloc() local
336 nmaps = 1; in xfs_qm_dqalloc()
340 &map, &nmaps, &dfops); in xfs_qm_dqalloc()
344 ASSERT(nmaps == 1); in xfs_qm_dqalloc()
469 int nmaps = 1, error; in xfs_qm_dqtobp() local
494 XFS_DQUOT_CLUSTER_SIZE_FSB, &map, &nmaps, 0); in xfs_qm_dqtobp()
500 ASSERT(nmaps == 1); in xfs_qm_dqtobp()
Dxfs_reflink.c1607 int nmaps; in xfs_reflink_dirty_extents() local
1611 nmaps = 1; in xfs_reflink_dirty_extents()
1616 error = xfs_bmapi_read(ip, fbno, end - fbno, map, &nmaps, 0); in xfs_reflink_dirty_extents()
1619 if (nmaps == 0) in xfs_reflink_dirty_extents()
1679 int nmaps; in xfs_reflink_clear_inode_flag() local
1687 nmaps = 1; in xfs_reflink_clear_inode_flag()
1692 error = xfs_bmapi_read(ip, fbno, end - fbno, &map, &nmaps, 0); in xfs_reflink_clear_inode_flag()
1695 if (nmaps == 0) in xfs_reflink_clear_inode_flag()
Dxfs_trans.h172 struct xfs_buf_map *map, int nmaps,
190 struct xfs_buf_map *map, int nmaps,
Dxfs_qm.c973 int i, nmaps; /* number of map entries */ in xfs_qm_dqiterate() local
997 nmaps = XFS_DQITER_MAP_SIZE; in xfs_qm_dqiterate()
1005 map, &nmaps, 0); in xfs_qm_dqiterate()
1010 ASSERT(nmaps <= XFS_DQITER_MAP_SIZE); in xfs_qm_dqiterate()
1011 for (i = 0; i < nmaps; i++) { in xfs_qm_dqiterate()
1026 if ((i+1 < nmaps) && in xfs_qm_dqiterate()
1049 } while (nmaps > 0); in xfs_qm_dqiterate()
Dxfs_iomap.c158 int nmaps) in xfs_iomap_write_direct() argument
199 if (nmaps && (imap->br_startblock == HOLESTARTBLOCK)) in xfs_iomap_write_direct()
/fs/xfs/libxfs/
Dxfs_da_btree.c2420 int *nmaps, in xfs_buf_map_from_irec() argument
2427 ASSERT(*nmaps == 1); in xfs_buf_map_from_irec()
2438 *nmaps = nirecs; in xfs_buf_map_from_irec()
2440 for (i = 0; i < *nmaps; i++) { in xfs_buf_map_from_irec()
2464 int *nmaps) in xfs_dabuf_map() argument
2474 ASSERT(*nmaps == 1); in xfs_dabuf_map()
2514 for (i = 0; i < *nmaps; i++) { in xfs_dabuf_map()
2529 error = xfs_buf_map_from_irec(mp, map, nmaps, irecs, nirecs); in xfs_dabuf_map()