Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
A Dxfs_symlink_remote.c249 int nmaps = XFS_SYMLINK_MAPS; in xfs_symlink_remote_read() local
259 error = xfs_bmapi_read(ip, 0, fsblocks, mval, &nmaps, 0); in xfs_symlink_remote_read()
264 for (n = 0; n < nmaps; n++) { in xfs_symlink_remote_read()
328 int nmaps; in xfs_symlink_write_target() local
345 nmaps = XFS_SYMLINK_MAPS; in xfs_symlink_write_target()
347 resblks, mval, &nmaps); in xfs_symlink_write_target()
356 for (n = 0; n < nmaps; n++) { in xfs_symlink_write_target()
396 int nmaps = XFS_SYMLINK_MAPS; in xfs_symlink_remote_truncate() local
402 error = xfs_bmapi_read(ip, 0, XFS_MAX_FILEOFF, mval, &nmaps, 0); in xfs_symlink_remote_truncate()
406 for (i = 0; i < nmaps; i++) { in xfs_symlink_remote_truncate()
[all …]
A Dxfs_da_btree.c2695 int *nmaps) in xfs_dabuf_map() argument
2743 *nmaps = nirecs; in xfs_dabuf_map()
2768 *nmaps = 0; in xfs_dabuf_map()
/fs/xfs/scrub/
A Ddqiterate.c51 int nmaps = 1; in xchk_dquot_iter_revalidate_bmap() local
67 XFS_MAX_FILEOFF - fileoff, &cursor->bmap, &nmaps, 0); in xchk_dquot_iter_revalidate_bmap()
70 if (!nmaps) { in xchk_dquot_iter_revalidate_bmap()
71 ASSERT(nmaps > 0); in xchk_dquot_iter_revalidate_bmap()
95 int nmaps = 1; in xchk_dquot_iter_advance_bmap() local
109 &nmaps, 0); in xchk_dquot_iter_advance_bmap()
112 if (!nmaps) { in xchk_dquot_iter_advance_bmap()
A Dtempfile.c426 int nmaps = 1; in xrep_tempfile_prealloc() local
432 error = xfs_bmapi_read(sc->tempip, off, end - off, &map, &nmaps, in xrep_tempfile_prealloc()
436 if (nmaps == 0) { in xrep_tempfile_prealloc()
437 ASSERT(nmaps != 0); in xrep_tempfile_prealloc()
455 nmaps = 1; in xrep_tempfile_prealloc()
458 &nmaps); in xrep_tempfile_prealloc()
461 if (nmaps != 1) in xrep_tempfile_prealloc()
502 int nmaps = 1; in xrep_tempfile_copyin() local
505 error = xfs_bmapi_read(sc->tempip, off, 1, &map, &nmaps, 0); in xrep_tempfile_copyin()
508 if (nmaps == 0 || !xfs_bmap_is_written_extent(&map)) { in xrep_tempfile_copyin()
A Drtbitmap_repair.c418 int nmaps = 1; in xrep_rtbitmap_data_mappings() local
424 error = xfs_bmapi_read(sc->ip, off, len - off, &map, &nmaps, in xrep_rtbitmap_data_mappings()
428 if (nmaps == 0) { in xrep_rtbitmap_data_mappings()
429 ASSERT(nmaps != 0); in xrep_rtbitmap_data_mappings()
457 nmaps = 1; in xrep_rtbitmap_data_mappings()
461 0, &map, &nmaps); in xrep_rtbitmap_data_mappings()
A Dquota_repair.c63 int nmaps = 1; in xrep_quota_item_fill_bmap_hole() local
76 irec, &nmaps); in xrep_quota_item_fill_bmap_hole()
115 int nmaps = 1; in xrep_quota_item_bmap() local
125 error = xfs_bmapi_read(sc->ip, offset, 1, &irec, &nmaps, 0); in xrep_quota_item_bmap()
129 if (nmaps < 1 || !xfs_bmap_is_real_extent(&irec)) { in xrep_quota_item_bmap()
A Dquota.c89 int nmaps = 1; in xchk_quota_item_bmap() local
102 error = xfs_bmapi_read(sc->ip, offset, 1, &irec, &nmaps, 0); in xchk_quota_item_bmap()
106 if (nmaps != 1) { in xchk_quota_item_bmap()
A Dsymlink_repair.c110 int nmaps = XFS_SYMLINK_MAPS; in xrep_symlink_salvage_remote() local
116 error = xfs_bmapi_read(ip, 0, fsblocks, mval, &nmaps, 0); in xrep_symlink_salvage_remote()
120 for (n = 0; n < nmaps; n++) { in xrep_symlink_salvage_remote()
/fs/xfs/
A 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
130 return xfs_buf_get_map(target, map, nmaps, flags, bpp); in xfs_trans_get_buf_map()
138 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_get_buf_map()
156 error = xfs_buf_get_map(target, map, nmaps, flags, &bp); in xfs_trans_get_buf_map()
231 int nmaps, in xfs_trans_read_buf_map() argument
250 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_read_buf_map()
304 error = xfs_buf_read_map(target, map, nmaps, flags, &bp, ops, in xfs_trans_read_buf_map()
A Dxfs_buf.c256 int nmaps, in xfs_buf_alloc() argument
294 bp->b_map_count = nmaps; in xfs_buf_alloc()
295 if (nmaps == 1) in xfs_buf_alloc()
298 bp->b_maps = kcalloc(nmaps, sizeof(struct xfs_buf_map), in xfs_buf_alloc()
300 for (i = 0; i < nmaps; i++) { in xfs_buf_alloc()
497 int nmaps, in xfs_buf_find_insert() argument
505 error = xfs_buf_alloc(btp, map, nmaps, flags, &new_bp); in xfs_buf_find_insert()
574 int nmaps, in xfs_buf_get_map() argument
587 for (i = 0; i < nmaps; i++) in xfs_buf_get_map()
688 int nmaps, in xfs_buf_read_map() argument
[all …]
A Dxfs_buf.h215 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp);
217 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp,
220 struct xfs_buf_map *map, int nmaps,
A Dxfs_trans.h174 struct xfs_buf_map *map, int nmaps, xfs_buf_flags_t flags,
193 struct xfs_buf_map *map, int nmaps,
A Dxfs_qm.c1204 int i, nmaps; /* number of map entries */ in xfs_qm_reset_dqcounts_buf() local
1229 nmaps = XFS_DQITER_MAP_SIZE; in xfs_qm_reset_dqcounts_buf()
1237 map, &nmaps, 0); in xfs_qm_reset_dqcounts_buf()
1242 ASSERT(nmaps <= XFS_DQITER_MAP_SIZE); in xfs_qm_reset_dqcounts_buf()
1243 for (i = 0; i < nmaps; i++) { in xfs_qm_reset_dqcounts_buf()
1258 if ((i+1 < nmaps) && in xfs_qm_reset_dqcounts_buf()
1281 } while (nmaps > 0); in xfs_qm_reset_dqcounts_buf()
A Dxfs_dquot.c353 int nmaps = 1; in xfs_dquot_disk_alloc() local
383 &nmaps); in xfs_dquot_disk_alloc()
466 int nmaps = 1; in xfs_dquot_disk_read() local
483 XFS_DQUOT_CLUSTER_SIZE_FSB, &map, &nmaps, 0); in xfs_dquot_disk_read()
488 ASSERT(nmaps == 1); in xfs_dquot_disk_read()
A Dxfs_reflink.c798 int nmaps; in xfs_reflink_end_cow_extent_locked() local
836 nmaps = 1; in xfs_reflink_end_cow_extent_locked()
838 &nmaps, 0); in xfs_reflink_end_cow_extent_locked()
A Dxfs_zone_alloc.c221 int nmaps = 1; in xfs_zoned_map_extent() local
226 &nmaps, 0); in xfs_zoned_map_extent()
A Dxfs_iomap.c1099 int nmaps = 1; in xfs_atomic_write_cow_iomap_begin() local
1178 XFS_BMAPI_EXTSZALIGN, 0, &cmap, &nmaps); in xfs_atomic_write_cow_iomap_begin()

Completed in 47 milliseconds