Searched refs:oinfo (Results 1 - 25 of 37) sorted by last modified time

12

/linux-master/fs/xfs/scrub/
H A Dcommon.c358 const struct xfs_owner_info *oinfo; member in struct:xchk_rmap_ownedby_info
373 oinfo_attr = sroi->oinfo->oi_flags & XFS_OWNER_INFO_ATTR_FORK;
375 if (rec->rm_owner != sroi->oinfo->oi_owner)
392 const struct xfs_owner_info *oinfo,
396 .oinfo = oinfo,
389 xchk_count_rmap_ownedby_ag( struct xfs_scrub *sc, struct xfs_btree_cur *cur, const struct xfs_owner_info *oinfo, xfs_filblks_t *blocks) argument
H A Dtrace.h2260 xfs_owner_info_unpack(&p->oinfo, &__entry->owner,
H A Dscrub.h203 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
205 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
H A Drmap_repair.c284 const struct xfs_owner_info *oinfo)
288 .owner = oinfo->oi_owner,
292 if (oinfo->oi_flags & XFS_OWNER_INFO_ATTR_FORK)
294 if (oinfo->oi_flags & XFS_OWNER_INFO_BMBT_BLOCK)
410 struct xfs_owner_info oinfo; local
423 xfs_rmap_ino_bmbt_owner(&oinfo, rf->accum.rm_owner, rf->whichfork);
424 error = xrep_rmap_stash_bitmap(rr, &rf->bmbt_blocks, &oinfo);
1385 rr->new_btree.oinfo = XFS_RMAP_OINFO_AG;
1575 if (!xrep_rmapbt_want_live_update(&rr->iscan, &p->oinfo))
1587 p->blockcount, &p->oinfo,
281 xrep_rmap_stash_bitmap( struct xrep_rmap *rr, struct xagb_bitmap *bitmap, const struct xfs_owner_info *oinfo) argument
[all...]
H A Drmap.c588 const struct xfs_owner_info *oinfo)
596 error = xfs_rmap_count_owners(sc->sa.rmap_cur, bno, len, oinfo, &res);
613 const struct xfs_owner_info *oinfo)
621 error = xfs_rmap_count_owners(sc->sa.rmap_cur, bno, len, oinfo, &res);
584 xchk_xref_is_only_owned_by( struct xfs_scrub *sc, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo) argument
609 xchk_xref_is_not_owned_by( struct xfs_scrub *sc, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo) argument
H A Dreap.c58 * if the rmapbt says there is an owner of this block other than @oinfo, then
91 const struct xfs_owner_info *oinfo; member in struct:xreap_state
314 error = xfs_rmap_has_other_keys(cur, agbno, 1, rs->oinfo,
330 error = xfs_rmap_has_other_keys(cur, bno, 1, rs->oinfo,
385 if (rs->oinfo == &XFS_RMAP_OINFO_COW) {
396 *aglenp, rs->oinfo);
420 if (rs->oinfo == &XFS_RMAP_OINFO_COW) {
450 error = xfs_free_extent_later(sc->tp, fsbno, *aglenp, rs->oinfo,
515 const struct xfs_owner_info *oinfo,
520 .oinfo
512 xrep_reap_agblocks( struct xfs_scrub *sc, struct xagb_bitmap *bitmap, const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type) argument
625 xrep_reap_fsblocks( struct xfs_scrub *sc, struct xfsb_bitmap *bitmap, const struct xfs_owner_info *oinfo) argument
[all...]
H A Dnewbt.h48 struct xfs_owner_info oinfo; member in struct:xrep_newbt
62 const struct xfs_owner_info *oinfo, xfs_fsblock_t alloc_hint,
65 int whichfork, const struct xfs_owner_info *oinfo);
H A Dnewbt.c87 const struct xfs_owner_info *oinfo,
93 xnr->oinfo = *oinfo; /* structure copy */
107 const struct xfs_owner_info *oinfo)
115 xrep_newbt_init_ag(xnr, sc, oinfo,
161 ASSERT(xnr->oinfo.oi_offset == 0);
191 .oinfo = xnr->oinfo,
232 .oinfo = xnr->oinfo,
84 xrep_newbt_init_ag( struct xrep_newbt *xnr, struct xfs_scrub *sc, const struct xfs_owner_info *oinfo, xfs_fsblock_t alloc_hint, enum xfs_ag_resv_type resv) argument
103 xrep_newbt_init_inode( struct xrep_newbt *xnr, struct xfs_scrub *sc, int whichfork, const struct xfs_owner_info *oinfo) argument
[all...]
H A Dcow_repair.c327 .oinfo = XFS_RMAP_OINFO_SKIP_UPDATE,
H A Dcommon.h160 const struct xfs_owner_info *oinfo, xfs_filblks_t *blocks);
H A Dbtree.c404 xchk_xref_is_only_owned_by(bs->sc, agbno, 1, bs->oinfo);
681 const struct xfs_owner_info *oinfo,
711 bs->oinfo = oinfo;
677 xchk_btree( struct xfs_scrub *sc, struct xfs_btree_cur *cur, xchk_btree_rec_fn scrub_fn, const struct xfs_owner_info *oinfo, void *private) argument
H A Dbmap_repair.c619 struct xfs_owner_info oinfo; local
633 xfs_rmap_ino_bmbt_owner(&oinfo, sc->ip->i_ino, rb->whichfork);
635 &oinfo);
703 struct xfs_owner_info oinfo; local
706 xfs_rmap_ino_bmbt_owner(&oinfo, sc->ip->i_ino, rb->whichfork);
707 return xrep_reap_fsblocks(sc, &rb->old_bmbt_blocks, &oinfo);
H A Dbmap.c328 struct xfs_owner_info oinfo; local
350 xfs_rmap_ino_owner(&oinfo, info->sc->ip->i_ino,
353 irec->br_blockcount, &oinfo);
362 xfs_rmap_ino_owner(&oinfo, info->sc->ip->i_ino,
365 &oinfo);
527 struct xfs_owner_info oinfo; local
543 xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, whichfork);
544 error = xchk_btree(sc, cur, xchk_bmapbt_rec, &oinfo, info);
H A Dalloc_repair.c558 free_aglen, ra->new_bnobt.oinfo.oi_owner);
561 &ra->new_bnobt.oinfo, XFS_AG_RESV_IGNORE, true);
/linux-master/fs/xfs/
H A Dxfs_trace.h2759 const struct xfs_owner_info *oinfo),
2760 TP_ARGS(mp, agno, agbno, len, unwritten, oinfo),
2775 __entry->owner = oinfo->oi_owner;
2776 __entry->offset = oinfo->oi_offset;
2777 __entry->flags = oinfo->oi_flags;
2794 const struct xfs_owner_info *oinfo), \
2795 TP_ARGS(mp, agno, agbno, len, unwritten, oinfo))
H A Dxfs_extfree_item.c449 struct xfs_owner_info oinfo = { }; local
461 oinfo.oi_owner = xefi->xefi_owner;
463 oinfo.oi_flags |= XFS_OWNER_INFO_ATTR_FORK;
465 oinfo.oi_flags |= XFS_OWNER_INFO_BMBT_BLOCK;
478 xefi->xefi_blockcount, &oinfo, xefi->xefi_agresv,
530 struct xfs_owner_info oinfo = { }; local
543 oinfo.oi_owner = xefi->xefi_owner;
551 agbno, agbp, &oinfo);
/linux-master/fs/xfs/libxfs/
H A Dxfs_rmap.c620 const struct xfs_owner_info *oinfo)
632 xfs_owner_info_unpack(oinfo, &owner, &offset, &flags);
638 unwritten, oinfo);
816 unwritten, oinfo);
859 const struct xfs_owner_info *oinfo)
866 .oinfo = *oinfo, /* struct copy */
914 const struct xfs_owner_info *oinfo)
924 xfs_rmap_update_hook(tp, pag, XFS_RMAP_UNMAP, bno, len, false, oinfo);
925 error = xfs_rmap_unmap(cur, bno, len, false, oinfo);
615 xfs_rmap_unmap( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) argument
852 xfs_rmap_update_hook( struct xfs_trans *tp, struct xfs_perag *pag, enum xfs_rmap_intent_type op, xfs_agblock_t startblock, xfs_extlen_t blockcount, bool unwritten, const struct xfs_owner_info *oinfo) argument
908 xfs_rmap_free( struct xfs_trans *tp, struct xfs_buf *agbp, struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo) argument
965 xfs_rmap_map( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) argument
1160 xfs_rmap_alloc( struct xfs_trans *tp, struct xfs_buf *agbp, struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo) argument
1200 xfs_rmap_convert( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) argument
1712 xfs_rmap_convert_shared( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) argument
2148 xfs_rmap_unmap_shared( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) argument
2343 xfs_rmap_map_shared( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) argument
2500 struct xfs_owner_info oinfo; local
2594 __xfs_rmap_finish_intent( struct xfs_btree_cur *rcur, enum xfs_rmap_intent_type op, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, bool unwritten) argument
2641 struct xfs_owner_info oinfo; local
2937 xfs_rmap_ownercount_init( struct xfs_rmap_ownercount *roc, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, struct xfs_rmap_matches *results) argument
3017 xfs_rmap_count_owners( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, struct xfs_rmap_matches *results) argument
3048 xfs_rmap_has_other_keys( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, bool *has_other) argument
[all...]
H A Dxfs_rmap.h86 const struct xfs_owner_info *oinfo,
93 *owner = oinfo->oi_owner;
94 *offset = oinfo->oi_offset;
95 if (oinfo->oi_flags & XFS_OWNER_INFO_ATTR_FORK)
97 if (oinfo->oi_flags & XFS_OWNER_INFO_BMBT_BLOCK)
104 struct xfs_owner_info *oinfo,
109 oinfo->oi_owner = owner;
110 oinfo->oi_offset = XFS_RMAP_OFF(offset);
111 oinfo->oi_flags = 0;
113 oinfo
85 xfs_owner_info_unpack( const struct xfs_owner_info *oinfo, uint64_t *owner, uint64_t *offset, unsigned int *flags) argument
103 xfs_owner_info_pack( struct xfs_owner_info *oinfo, uint64_t owner, uint64_t offset, unsigned int flags) argument
249 struct xfs_owner_info oinfo; member in struct:xfs_rmap_update_params
[all...]
H A Dxfs_refcount_btree.c72 args.oinfo = XFS_RMAP_OINFO_REFC;
H A Dxfs_ialloc_btree.c116 args.oinfo = XFS_RMAP_OINFO_INOBT;
H A Dxfs_ialloc.c717 args.oinfo = XFS_RMAP_OINFO_INODES;
H A Dxfs_bmap_btree.c220 xfs_rmap_ino_bmbt_owner(&args.oinfo, cur->bc_ino.ip->i_ino,
280 struct xfs_owner_info oinfo; local
283 xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, cur->bc_ino.whichfork);
284 error = xfs_free_extent_later(cur->bc_tp, fsbno, 1, &oinfo,
H A Dxfs_bmap.c575 struct xfs_owner_info oinfo; local
605 xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, whichfork);
606 error = xfs_free_extent_later(cur->bc_tp, cbno, 1, &oinfo,
680 xfs_rmap_ino_bmbt_owner(&args.oinfo, ip->i_ino, whichfork);
823 xfs_rmap_ino_owner(&args.oinfo, ip->i_ino, whichfork, 0);
3516 args.oinfo = XFS_RMAP_OINFO_SKIP_UPDATE;
3782 .oinfo = XFS_RMAP_OINFO_SKIP_UPDATE,
H A Dxfs_alloc.c1944 const struct xfs_owner_info *oinfo,
1965 if (!xfs_rmap_should_skip_owner_update(oinfo)) {
1966 error = xfs_rmap_free(tp, agbp, pag, bno, len, oinfo);
2433 struct xfs_owner_info *oinfo)
2438 error = xfs_free_ag_extent(tp, agbp, agno, agbno, 1, oinfo,
2556 struct xfs_owner_info *oinfo)
2563 ASSERT(oinfo != NULL);
2572 xefi->xefi_owner = oinfo->oi_owner;
2591 const struct xfs_owner_info *oinfo,
2626 if (oinfo) {
1938 xfs_free_ag_extent( struct xfs_trans *tp, struct xfs_buf *agbp, xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type) argument
2428 xfs_free_agfl_block( struct xfs_trans *tp, xfs_agnumber_t agno, xfs_agblock_t agbno, struct xfs_buf *agbp, struct xfs_owner_info *oinfo) argument
2552 xfs_defer_agfl_block( struct xfs_trans *tp, xfs_agnumber_t agno, xfs_agblock_t agbno, struct xfs_owner_info *oinfo) argument
2587 xfs_defer_extent_free( struct xfs_trans *tp, xfs_fsblock_t bno, xfs_filblks_t len, const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type, bool skip_discard, struct xfs_defer_pending **dfpp) argument
2647 xfs_free_extent_later( struct xfs_trans *tp, xfs_fsblock_t bno, xfs_filblks_t len, const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type, bool skip_discard) argument
3933 __xfs_free_extent( struct xfs_trans *tp, struct xfs_perag *pag, xfs_agblock_t agbno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type, bool skip_discard) argument
[all...]
H A Dxfs_ag.c923 .oinfo = XFS_RMAP_OINFO_SKIP_UPDATE,

Completed in 472 milliseconds

12