Home
last modified time | relevance | path

Searched refs:dfops (Results 1 – 25 of 33) sorted by relevance

12

/fs/xfs/libxfs/
Dxfs_attr.c217 struct xfs_defer_ops dfops; in xfs_attr_set() local
235 args.dfops = &dfops; in xfs_attr_set()
330 xfs_defer_init(args.dfops, args.firstblock); in xfs_attr_set()
340 xfs_defer_bjoin(args.dfops, leaf_bp); in xfs_attr_set()
341 xfs_defer_ijoin(args.dfops, dp); in xfs_attr_set()
342 error = xfs_defer_finish(&args.trans, args.dfops); in xfs_attr_set()
385 xfs_defer_cancel(&dfops); in xfs_attr_set()
407 struct xfs_defer_ops dfops; in xfs_attr_remove() local
421 args.dfops = &dfops; in xfs_attr_remove()
613 xfs_defer_init(args->dfops, args->firstblock); in xfs_attr_leaf_addname()
[all …]
Dxfs_refcount.c51 struct xfs_defer_ops *dfops);
54 struct xfs_defer_ops *dfops);
831 struct xfs_defer_ops *dfops, in xfs_refcount_adjust_extents() argument
886 xfs_bmap_add_free(cur->bc_mp, dfops, fsbno, in xfs_refcount_adjust_extents()
929 xfs_bmap_add_free(cur->bc_mp, dfops, fsbno, in xfs_refcount_adjust_extents()
959 struct xfs_defer_ops *dfops, in xfs_refcount_adjust() argument
1004 adj, dfops, oinfo); in xfs_refcount_adjust()
1043 struct xfs_defer_ops *dfops, in xfs_refcount_finish_one() argument
1093 rcur = xfs_refcountbt_init_cursor(mp, tp, agbp, agno, dfops); in xfs_refcount_finish_one()
1106 new_len, XFS_REFCOUNT_ADJUST_INCREASE, dfops, NULL); in xfs_refcount_finish_one()
[all …]
Dxfs_bmap.h35 struct xfs_defer_ops *dfops; /* bmap freelist */ member
214 void xfs_bmap_add_free(struct xfs_mount *mp, struct xfs_defer_ops *dfops,
234 struct xfs_defer_ops *dfops);
238 struct xfs_defer_ops *dfops);
242 struct xfs_defer_ops *dfops, int *done);
252 struct xfs_defer_ops *dfops, enum shift_direction direction,
272 int xfs_bmap_finish_one(struct xfs_trans *tp, struct xfs_defer_ops *dfops,
276 int xfs_bmap_map_extent(struct xfs_mount *mp, struct xfs_defer_ops *dfops,
278 int xfs_bmap_unmap_extent(struct xfs_mount *mp, struct xfs_defer_ops *dfops,
Dxfs_refcount.h45 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,
Dxfs_attr_remote.c465 xfs_defer_init(args->dfops, args->firstblock); in xfs_attr_rmtval_set()
469 args->total, &map, &nmap, args->dfops); in xfs_attr_rmtval_set()
472 xfs_defer_ijoin(args->dfops, dp); in xfs_attr_rmtval_set()
473 error = xfs_defer_finish(&args->trans, args->dfops); in xfs_attr_rmtval_set()
507 xfs_defer_init(args->dfops, args->firstblock); in xfs_attr_rmtval_set()
542 xfs_defer_cancel(args->dfops); in xfs_attr_rmtval_set()
611 xfs_defer_init(args->dfops, args->firstblock); in xfs_attr_rmtval_remove()
614 args->dfops, &done); in xfs_attr_rmtval_remove()
617 xfs_defer_ijoin(args->dfops, args->dp); in xfs_attr_rmtval_remove()
618 error = xfs_defer_finish(&args->trans, args->dfops); in xfs_attr_rmtval_remove()
[all …]
Dxfs_bmap.c583 struct xfs_defer_ops *dfops, in xfs_bmap_add_free() argument
615 xfs_defer_add(dfops, XFS_DEFER_OPS_TYPE_FREE, &new->xefi_list); in xfs_bmap_add_free()
671 xfs_bmap_add_free(mp, cur->bc_private.b.dfops, cbno, 1, &oinfo); in xfs_bmap_btree_to_extents()
694 struct xfs_defer_ops *dfops, /* blocks freed in xaction */ in xfs_bmap_extents_to_btree() argument
738 cur->bc_private.b.dfops = dfops; in xfs_bmap_extents_to_btree()
752 } else if (dfops->dop_low) { in xfs_bmap_extents_to_btree()
961 struct xfs_defer_ops *dfops, /* blocks to free at commit */ in xfs_bmap_add_attrfork_btree() argument
974 cur->bc_private.b.dfops = dfops; in xfs_bmap_add_attrfork_btree()
1004 struct xfs_defer_ops *dfops, /* blocks to free at commit */ in xfs_bmap_add_attrfork_extents() argument
1013 error = xfs_bmap_extents_to_btree(tp, ip, firstblock, dfops, &cur, 0, in xfs_bmap_add_attrfork_extents()
[all …]
Dxfs_dir2.c270 struct xfs_defer_ops *dfops, /* bmap's freeblock list */ in xfs_dir_createname() argument
297 args->dfops = dfops; in xfs_dir_createname()
447 struct xfs_defer_ops *dfops, /* bmap's freeblock list */ in xfs_dir_removename() argument
469 args->dfops = dfops; in xfs_dir_removename()
509 struct xfs_defer_ops *dfops, /* bmap's freeblock list */ in xfs_dir_replace() argument
534 args->dfops = dfops; in xfs_dir_replace()
692 args->firstblock, args->dfops, &done); in xfs_dir2_shrink_inode()
Dxfs_rmap.h188 int xfs_rmap_map_extent(struct xfs_mount *mp, struct xfs_defer_ops *dfops,
191 int xfs_rmap_unmap_extent(struct xfs_mount *mp, struct xfs_defer_ops *dfops,
194 int xfs_rmap_convert_extent(struct xfs_mount *mp, struct xfs_defer_ops *dfops,
197 int xfs_rmap_alloc_extent(struct xfs_mount *mp, struct xfs_defer_ops *dfops,
200 int xfs_rmap_free_extent(struct xfs_mount *mp, struct xfs_defer_ops *dfops,
Dxfs_bmap_btree.c383 new->bc_private.b.dfops = cur->bc_private.b.dfops; in xfs_bmbt_dup_cursor()
396 ASSERT(dst->bc_private.b.dfops == src->bc_private.b.dfops); in xfs_bmbt_update_cursor()
437 } else if (cur->bc_private.b.dfops->dop_low) { in xfs_bmbt_alloc_block()
464 cur->bc_private.b.dfops->dop_low = true; in xfs_bmbt_alloc_block()
502 xfs_bmap_add_free(mp, cur->bc_private.b.dfops, fsbno, 1, &oinfo); in xfs_bmbt_free_block()
784 cur->bc_private.b.dfops = NULL; in xfs_bmbt_init_cursor()
Dxfs_refcount_btree.c45 cur->bc_private.a.dfops); in xfs_refcountbt_dup_cursor()
339 struct xfs_defer_ops *dfops) in xfs_refcountbt_init_cursor() argument
359 cur->bc_private.a.dfops = dfops; in xfs_refcountbt_init_cursor()
Dxfs_dir2.h134 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);
Dxfs_rmap.c2183 struct xfs_defer_ops *dfops, in __xfs_rmap_add() argument
2206 xfs_defer_add(dfops, XFS_DEFER_OPS_TYPE_RMAP, &ri->ri_list); in __xfs_rmap_add()
2214 struct xfs_defer_ops *dfops, in xfs_rmap_map_extent() argument
2222 return __xfs_rmap_add(mp, dfops, xfs_is_reflink_inode(ip) ? in xfs_rmap_map_extent()
2231 struct xfs_defer_ops *dfops, in xfs_rmap_unmap_extent() argument
2239 return __xfs_rmap_add(mp, dfops, xfs_is_reflink_inode(ip) ? in xfs_rmap_unmap_extent()
2248 struct xfs_defer_ops *dfops, in xfs_rmap_convert_extent() argument
2256 return __xfs_rmap_add(mp, dfops, xfs_is_reflink_inode(ip) ? in xfs_rmap_convert_extent()
2265 struct xfs_defer_ops *dfops, in xfs_rmap_alloc_extent() argument
2281 return __xfs_rmap_add(mp, dfops, XFS_RMAP_ALLOC, owner, in xfs_rmap_alloc_extent()
[all …]
Dxfs_refcount_btree.h62 struct xfs_defer_ops *dfops);
/fs/xfs/
Dxfs_reflink.c332 struct xfs_defer_ops *dfops) in xfs_reflink_convert_cow_extent() argument
346 0, imap, &nimaps, dfops); in xfs_reflink_convert_cow_extent()
357 struct xfs_defer_ops dfops; in xfs_reflink_convert_cow() local
373 end_fsb - offset_fsb, &dfops); in xfs_reflink_convert_cow()
395 struct xfs_defer_ops dfops; in xfs_reflink_allocate_cow() local
456 xfs_defer_init(&dfops, &first_block); in xfs_reflink_allocate_cow()
462 resblks, imap, &nimaps, &dfops); in xfs_reflink_allocate_cow()
467 error = xfs_defer_finish(&tp, &dfops); in xfs_reflink_allocate_cow()
476 &dfops); in xfs_reflink_allocate_cow()
478 xfs_defer_cancel(&dfops); in xfs_reflink_allocate_cow()
[all …]
Dxfs_inode.c1158 struct xfs_defer_ops dfops; in xfs_create() local
1217 xfs_defer_init(&dfops, &first_block); in xfs_create()
1254 &first_block, &dfops, resblks ? in xfs_create()
1288 error = xfs_defer_finish(&tp, &dfops); in xfs_create()
1304 xfs_defer_cancel(&dfops); in xfs_create()
1436 struct xfs_defer_ops dfops; in xfs_link() local
1486 xfs_defer_init(&dfops, &first_block); in xfs_link()
1498 &first_block, &dfops, resblks); in xfs_link()
1516 error = xfs_defer_finish(&tp, &dfops); in xfs_link()
1518 xfs_defer_cancel(&dfops); in xfs_link()
[all …]
Dxfs_symlink.c178 struct xfs_defer_ops dfops; in xfs_symlink() local
274 xfs_defer_init(&dfops, &first_block); in xfs_symlink()
318 mval, &nmaps, &dfops); in xfs_symlink()
366 &first_block, &dfops, resblks); in xfs_symlink()
381 error = xfs_defer_finish(&tp, &dfops); in xfs_symlink()
397 xfs_defer_cancel(&dfops); in xfs_symlink()
431 struct xfs_defer_ops dfops; in xfs_inactive_symlink_rmt() local
470 xfs_defer_init(&dfops, &first_block); in xfs_inactive_symlink_rmt()
493 &first_block, &dfops, &done); in xfs_inactive_symlink_rmt()
500 xfs_defer_ijoin(&dfops, ip); in xfs_inactive_symlink_rmt()
[all …]
Dxfs_bmap_util.c848 struct xfs_defer_ops dfops; in xfs_bmap_punch_delalloc_range() local
884 xfs_defer_init(&dfops, &firstblock); in xfs_bmap_punch_delalloc_range()
886 &dfops, &done); in xfs_bmap_punch_delalloc_range()
890 ASSERT(!xfs_defer_has_unfinished_work(&dfops)); in xfs_bmap_punch_delalloc_range()
1039 struct xfs_defer_ops dfops; in xfs_alloc_file_space() local
1130 xfs_defer_init(&dfops, &firstfsb); in xfs_alloc_file_space()
1133 resblks, imapp, &nimaps, &dfops); in xfs_alloc_file_space()
1140 error = xfs_defer_finish(&tp, &dfops); in xfs_alloc_file_space()
1163 xfs_defer_cancel(&dfops); in xfs_alloc_file_space()
1181 struct xfs_defer_ops dfops; in xfs_unmap_extent() local
[all …]
Dxfs_iomap.c171 struct xfs_defer_ops dfops; in xfs_iomap_write_direct() local
267 xfs_defer_init(&dfops, &firstfsb); in xfs_iomap_write_direct()
271 &nimaps, &dfops); in xfs_iomap_write_direct()
278 error = xfs_defer_finish(&tp, &dfops); in xfs_iomap_write_direct()
302 xfs_defer_cancel(&dfops); in xfs_iomap_write_direct()
677 struct xfs_defer_ops dfops; in xfs_iomap_write_allocate() local
727 xfs_defer_init(&dfops, &first_block); in xfs_iomap_write_allocate()
783 &dfops); in xfs_iomap_write_allocate()
787 error = xfs_defer_finish(&tp, &dfops); in xfs_iomap_write_allocate()
821 xfs_defer_cancel(&dfops); in xfs_iomap_write_allocate()
[all …]
Dxfs_refcount_item.c397 struct xfs_defer_ops *dfops) in xfs_cui_recover() argument
486 dfops, type, refc->pe_startblock, refc->pe_len, in xfs_cui_recover()
498 tp->t_mountp, dfops, &irec); in xfs_cui_recover()
502 tp->t_mountp, dfops, &irec); in xfs_cui_recover()
506 tp->t_mountp, dfops, in xfs_cui_recover()
512 tp->t_mountp, dfops, in xfs_cui_recover()
Dxfs_bmap_item.c393 struct xfs_defer_ops *dfops) in xfs_bui_recover() argument
485 error = xfs_trans_log_finish_bmap_update(tp, budp, dfops, type, in xfs_bui_recover()
497 error = xfs_bmap_unmap_extent(tp->t_mountp, dfops, ip, &irec); in xfs_bui_recover()
Dxfs_dquot.c311 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); in xfs_qm_dqalloc()
402 xfs_defer_cancel(&dfops); in xfs_qm_dqalloc()
Dxfs_bmap_item.h97 struct xfs_defer_ops *dfops);
Dxfs_rtalloc.c773 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); in xfs_growfs_rt_alloc()
866 xfs_defer_cancel(&dfops); in xfs_growfs_rt_alloc()
Dxfs_refcount_item.h100 struct xfs_defer_ops *dfops);
Dxfs_trans.h266 struct xfs_cud_log_item *cudp, struct xfs_defer_ops *dfops,
278 struct xfs_bud_log_item *rudp, struct xfs_defer_ops *dfops,

12