/fs/xfs/libxfs/ |
D | xfs_attr.c | 204 struct xfs_defer_ops dfops; in xfs_attr_set() local 222 args.dfops = &dfops; in xfs_attr_set() 317 xfs_defer_init(args.dfops, args.firstblock); in xfs_attr_set() 320 error = xfs_defer_finish(&args.trans, args.dfops, dp); in xfs_attr_set() 323 xfs_defer_cancel(&dfops); in xfs_attr_set() 383 struct xfs_defer_ops dfops; in xfs_attr_remove() local 397 args.dfops = &dfops; in xfs_attr_remove() 582 xfs_defer_init(args->dfops, args->firstblock); in xfs_attr_leaf_addname() 585 error = xfs_defer_finish(&args->trans, args->dfops, dp); in xfs_attr_leaf_addname() 588 xfs_defer_cancel(args->dfops); in xfs_attr_leaf_addname() [all …]
|
D | xfs_refcount.c | 51 struct xfs_defer_ops *dfops); 54 struct xfs_defer_ops *dfops); 832 struct xfs_defer_ops *dfops, in xfs_refcount_adjust_extents() argument 887 xfs_bmap_add_free(cur->bc_mp, dfops, fsbno, in xfs_refcount_adjust_extents() 930 xfs_bmap_add_free(cur->bc_mp, dfops, fsbno, in xfs_refcount_adjust_extents() 960 struct xfs_defer_ops *dfops, in xfs_refcount_adjust() argument 1005 adj, dfops, oinfo); in xfs_refcount_adjust() 1044 struct xfs_defer_ops *dfops, in xfs_refcount_finish_one() argument 1095 rcur = xfs_refcountbt_init_cursor(mp, tp, agbp, agno, dfops); in xfs_refcount_finish_one() 1108 new_len, XFS_REFCOUNT_ADJUST_INCREASE, dfops, NULL); in xfs_refcount_finish_one() [all …]
|
D | xfs_bmap.h | 35 struct xfs_defer_ops *dfops; /* bmap freelist */ member 202 void xfs_bmap_add_free(struct xfs_mount *mp, struct xfs_defer_ops *dfops, 222 struct xfs_defer_ops *dfops); 226 struct xfs_defer_ops *dfops); 230 struct xfs_defer_ops *dfops, int *done); 242 struct xfs_defer_ops *dfops, enum shift_direction direction, 266 int xfs_bmap_finish_one(struct xfs_trans *tp, struct xfs_defer_ops *dfops, 270 int xfs_bmap_map_extent(struct xfs_mount *mp, struct xfs_defer_ops *dfops, 272 int xfs_bmap_unmap_extent(struct xfs_mount *mp, struct xfs_defer_ops *dfops,
|
D | xfs_refcount.h | 45 struct xfs_defer_ops *dfops, struct xfs_bmbt_irec *irec); 47 struct xfs_defer_ops *dfops, struct xfs_bmbt_irec *irec); 52 struct xfs_defer_ops *dfops, enum xfs_refcount_intent_type type, 62 struct xfs_defer_ops *dfops, xfs_fsblock_t fsb, 65 struct xfs_defer_ops *dfops, xfs_fsblock_t fsb,
|
D | xfs_attr_remote.c | 464 xfs_defer_init(args->dfops, args->firstblock); in xfs_attr_rmtval_set() 468 args->total, &map, &nmap, args->dfops); in xfs_attr_rmtval_set() 470 error = xfs_defer_finish(&args->trans, args->dfops, dp); in xfs_attr_rmtval_set() 473 xfs_defer_cancel(args->dfops); in xfs_attr_rmtval_set() 507 xfs_defer_init(args->dfops, args->firstblock); in xfs_attr_rmtval_set() 607 xfs_defer_init(args->dfops, args->firstblock); in xfs_attr_rmtval_remove() 610 args->dfops, &done); in xfs_attr_rmtval_remove() 612 error = xfs_defer_finish(&args->trans, args->dfops, in xfs_attr_rmtval_remove() 616 xfs_defer_cancel(args->dfops); in xfs_attr_rmtval_remove()
|
D | xfs_dir2.c | 271 struct xfs_defer_ops *dfops, /* bmap's freeblock list */ in xfs_dir_createname() argument 298 args->dfops = dfops; in xfs_dir_createname() 448 struct xfs_defer_ops *dfops, /* bmap's freeblock list */ in xfs_dir_removename() argument 470 args->dfops = dfops; in xfs_dir_removename() 510 struct xfs_defer_ops *dfops, /* bmap's freeblock list */ in xfs_dir_replace() argument 535 args->dfops = dfops; in xfs_dir_replace() 693 args->firstblock, args->dfops, &done); in xfs_dir2_shrink_inode()
|
D | xfs_bmap.c | 596 struct xfs_defer_ops *dfops, in xfs_bmap_add_free() argument 628 xfs_defer_add(dfops, XFS_DEFER_OPS_TYPE_FREE, &new->xefi_list); in xfs_bmap_add_free() 684 xfs_bmap_add_free(mp, cur->bc_private.b.dfops, cbno, 1, &oinfo); in xfs_bmap_btree_to_extents() 707 struct xfs_defer_ops *dfops, /* blocks freed in xaction */ in xfs_bmap_extents_to_btree() argument 757 cur->bc_private.b.dfops = dfops; in xfs_bmap_extents_to_btree() 771 } else if (dfops->dop_low) { in xfs_bmap_extents_to_btree() 1011 struct xfs_defer_ops *dfops, /* blocks to free at commit */ in xfs_bmap_add_attrfork_btree() argument 1024 cur->bc_private.b.dfops = dfops; in xfs_bmap_add_attrfork_btree() 1054 struct xfs_defer_ops *dfops, /* blocks to free at commit */ in xfs_bmap_add_attrfork_extents() argument 1063 error = xfs_bmap_extents_to_btree(tp, ip, firstblock, dfops, &cur, 0, in xfs_bmap_add_attrfork_extents() [all …]
|
D | xfs_rmap.h | 186 int xfs_rmap_map_extent(struct xfs_mount *mp, struct xfs_defer_ops *dfops, 189 int xfs_rmap_unmap_extent(struct xfs_mount *mp, struct xfs_defer_ops *dfops, 192 int xfs_rmap_convert_extent(struct xfs_mount *mp, struct xfs_defer_ops *dfops, 195 int xfs_rmap_alloc_extent(struct xfs_mount *mp, struct xfs_defer_ops *dfops, 198 int xfs_rmap_free_extent(struct xfs_mount *mp, struct xfs_defer_ops *dfops,
|
D | xfs_bmap_btree.c | 415 new->bc_private.b.dfops = cur->bc_private.b.dfops; in xfs_bmbt_dup_cursor() 428 ASSERT(dst->bc_private.b.dfops == src->bc_private.b.dfops); in xfs_bmbt_update_cursor() 470 } else if (cur->bc_private.b.dfops->dop_low) { in xfs_bmbt_alloc_block() 513 cur->bc_private.b.dfops->dop_low = true; in xfs_bmbt_alloc_block() 551 xfs_bmap_add_free(mp, cur->bc_private.b.dfops, fsbno, 1, &oinfo); in xfs_bmbt_free_block() 814 cur->bc_private.b.dfops = NULL; in xfs_bmbt_init_cursor()
|
D | xfs_refcount_btree.c | 45 cur->bc_private.a.dfops); in xfs_refcountbt_dup_cursor() 343 struct xfs_defer_ops *dfops) in xfs_refcountbt_init_cursor() argument 362 cur->bc_private.a.dfops = dfops; in xfs_refcountbt_init_cursor()
|
D | xfs_dir2.h | 134 struct xfs_defer_ops *dfops, xfs_extlen_t tot); 141 struct xfs_defer_ops *dfops, xfs_extlen_t tot); 145 struct xfs_defer_ops *dfops, xfs_extlen_t tot);
|
D | xfs_rmap.c | 2169 struct xfs_defer_ops *dfops, in __xfs_rmap_add() argument 2192 xfs_defer_add(dfops, XFS_DEFER_OPS_TYPE_RMAP, &ri->ri_list); in __xfs_rmap_add() 2200 struct xfs_defer_ops *dfops, in xfs_rmap_map_extent() argument 2208 return __xfs_rmap_add(mp, dfops, xfs_is_reflink_inode(ip) ? in xfs_rmap_map_extent() 2217 struct xfs_defer_ops *dfops, in xfs_rmap_unmap_extent() argument 2225 return __xfs_rmap_add(mp, dfops, xfs_is_reflink_inode(ip) ? in xfs_rmap_unmap_extent() 2234 struct xfs_defer_ops *dfops, in xfs_rmap_convert_extent() argument 2242 return __xfs_rmap_add(mp, dfops, xfs_is_reflink_inode(ip) ? in xfs_rmap_convert_extent() 2251 struct xfs_defer_ops *dfops, in xfs_rmap_alloc_extent() argument 2267 return __xfs_rmap_add(mp, dfops, XFS_RMAP_ALLOC, owner, in xfs_rmap_alloc_extent() [all …]
|
D | xfs_refcount_btree.h | 62 struct xfs_defer_ops *dfops);
|
D | xfs_ialloc.h | 98 struct xfs_defer_ops *dfops, /* extents to free */
|
D | xfs_btree.h | 259 struct xfs_defer_ops *dfops; /* deferred updates */ member 265 struct xfs_defer_ops *dfops; /* deferred updates */ member
|
/fs/xfs/ |
D | xfs_reflink.c | 335 struct xfs_defer_ops *dfops) in xfs_reflink_convert_cow_extent() argument 350 0, &irec, &nimaps, dfops); in xfs_reflink_convert_cow_extent() 361 struct xfs_defer_ops dfops; in xfs_reflink_convert_cow() local 377 end_fsb - offset_fsb, &dfops); in xfs_reflink_convert_cow() 396 struct xfs_defer_ops dfops; in __xfs_reflink_allocate_cow() local 402 xfs_defer_init(&dfops, &first_block); in __xfs_reflink_allocate_cow() 434 &imap, &nimaps, &dfops); in __xfs_reflink_allocate_cow() 439 error = xfs_defer_finish(&tp, &dfops, NULL); in __xfs_reflink_allocate_cow() 450 xfs_defer_cancel(&dfops); in __xfs_reflink_allocate_cow() 593 struct xfs_defer_ops dfops; in xfs_reflink_cancel_cow_blocks() local [all …]
|
D | xfs_refcount_item.c | 411 struct xfs_defer_ops dfops; in xfs_cui_recover() local 467 xfs_defer_init(&dfops, &firstfsb); in xfs_cui_recover() 487 &dfops, type, refc->pe_startblock, refc->pe_len, in xfs_cui_recover() 499 tp->t_mountp, &dfops, &irec); in xfs_cui_recover() 503 tp->t_mountp, &dfops, &irec); in xfs_cui_recover() 507 tp->t_mountp, &dfops, in xfs_cui_recover() 513 tp->t_mountp, &dfops, in xfs_cui_recover() 527 error = xfs_defer_finish(&tp, &dfops, NULL); in xfs_cui_recover() 537 xfs_defer_cancel(&dfops); in xfs_cui_recover()
|
D | xfs_symlink.c | 176 struct xfs_defer_ops dfops; in xfs_symlink() local 273 xfs_defer_init(&dfops, &first_block); in xfs_symlink() 317 mval, &nmaps, &dfops); in xfs_symlink() 365 &first_block, &dfops, resblks); in xfs_symlink() 380 error = xfs_defer_finish(&tp, &dfops, NULL); in xfs_symlink() 396 xfs_defer_cancel(&dfops); in xfs_symlink() 430 struct xfs_defer_ops dfops; in xfs_inactive_symlink_rmt() local 469 xfs_defer_init(&dfops, &first_block); in xfs_inactive_symlink_rmt() 492 &first_block, &dfops, &done); in xfs_inactive_symlink_rmt() 499 error = xfs_defer_finish(&tp, &dfops, ip); in xfs_inactive_symlink_rmt() [all …]
|
D | xfs_inode.c | 1165 struct xfs_defer_ops dfops; in xfs_create() local 1225 xfs_defer_init(&dfops, &first_block); in xfs_create() 1262 &first_block, &dfops, resblks ? in xfs_create() 1296 error = xfs_defer_finish(&tp, &dfops, NULL); in xfs_create() 1312 xfs_defer_cancel(&dfops); in xfs_create() 1444 struct xfs_defer_ops dfops; in xfs_link() local 1495 xfs_defer_init(&dfops, &first_block); in xfs_link() 1507 &first_block, &dfops, resblks); in xfs_link() 1525 error = xfs_defer_finish(&tp, &dfops, NULL); in xfs_link() 1527 xfs_defer_cancel(&dfops); in xfs_link() [all …]
|
D | xfs_bmap_util.c | 832 struct xfs_defer_ops dfops; in xfs_bmap_punch_delalloc_range() local 868 xfs_defer_init(&dfops, &firstblock); in xfs_bmap_punch_delalloc_range() 870 &dfops, &done); in xfs_bmap_punch_delalloc_range() 874 ASSERT(!xfs_defer_has_unfinished_work(&dfops)); in xfs_bmap_punch_delalloc_range() 1023 struct xfs_defer_ops dfops; in xfs_alloc_file_space() local 1114 xfs_defer_init(&dfops, &firstfsb); in xfs_alloc_file_space() 1117 resblks, imapp, &nimaps, &dfops); in xfs_alloc_file_space() 1124 error = xfs_defer_finish(&tp, &dfops, NULL); in xfs_alloc_file_space() 1147 xfs_defer_cancel(&dfops); in xfs_alloc_file_space() 1165 struct xfs_defer_ops dfops; in xfs_unmap_extent() local [all …]
|
D | xfs_iomap.c | 170 struct xfs_defer_ops dfops; in xfs_iomap_write_direct() local 273 xfs_defer_init(&dfops, &firstfsb); in xfs_iomap_write_direct() 277 &nimaps, &dfops); in xfs_iomap_write_direct() 284 error = xfs_defer_finish(&tp, &dfops, NULL); in xfs_iomap_write_direct() 308 xfs_defer_cancel(&dfops); in xfs_iomap_write_direct() 684 struct xfs_defer_ops dfops; in xfs_iomap_write_allocate() local 734 xfs_defer_init(&dfops, &first_block); in xfs_iomap_write_allocate() 790 &dfops); in xfs_iomap_write_allocate() 794 error = xfs_defer_finish(&tp, &dfops, NULL); in xfs_iomap_write_allocate() 828 xfs_defer_cancel(&dfops); in xfs_iomap_write_allocate() [all …]
|
D | xfs_bmap_item.c | 406 struct xfs_defer_ops dfops; in xfs_bui_recover() local 466 xfs_defer_init(&dfops, &firstfsb); in xfs_bui_recover() 486 error = xfs_trans_log_finish_bmap_update(tp, budp, &dfops, type, in xfs_bui_recover() 498 error = xfs_bmap_unmap_extent(tp->t_mountp, &dfops, ip, &irec); in xfs_bui_recover() 504 error = xfs_defer_finish(&tp, &dfops, NULL); in xfs_bui_recover() 516 xfs_defer_cancel(&dfops); in xfs_bui_recover()
|
D | xfs_rtalloc.c | 773 struct xfs_defer_ops dfops; /* list of freed blocks */ in xfs_growfs_rt_alloc() local 798 xfs_defer_init(&dfops, &firstblock); in xfs_growfs_rt_alloc() 805 resblks, &map, &nmap, &dfops); in xfs_growfs_rt_alloc() 813 error = xfs_defer_finish(&tp, &dfops, NULL); in xfs_growfs_rt_alloc() 866 xfs_defer_cancel(&dfops); in xfs_growfs_rt_alloc()
|
D | xfs_dquot.c | 311 struct xfs_defer_ops dfops; in xfs_qm_dqalloc() local 324 xfs_defer_init(&dfops, &firstblock); in xfs_qm_dqalloc() 340 &map, &nmaps, &dfops); in xfs_qm_dqalloc() 386 error = xfs_defer_finish(tpp, &dfops, NULL); in xfs_qm_dqalloc() 402 xfs_defer_cancel(&dfops); in xfs_qm_dqalloc()
|
D | xfs_trans.h | 271 struct xfs_cud_log_item *cudp, struct xfs_defer_ops *dfops, 283 struct xfs_bud_log_item *rudp, struct xfs_defer_ops *dfops,
|