Home
last modified time | relevance | path

Searched refs:agbno (Results 1 – 19 of 19) sorted by relevance

/linux/fs/xfs/scrub/
H A Dagheader.c43 xfs_agblock_t agbno; in xchk_superblock_xref() local
49 agbno = XFS_SB_BLOCK(mp); in xchk_superblock_xref()
52 if (!xchk_xref_process_error(sc, agno, agbno, &error)) in xchk_superblock_xref()
55 xchk_xref_is_used_space(sc, agbno, 1); in xchk_superblock_xref()
56 xchk_xref_is_not_inode_chunk(sc, agbno, 1); in xchk_superblock_xref()
57 xchk_xref_is_only_owned_by(sc, agbno, 1, &XFS_RMAP_OINFO_FS); in xchk_superblock_xref()
58 xchk_xref_is_not_shared(sc, agbno, 1); in xchk_superblock_xref()
59 xchk_xref_is_not_cow_staging(sc, agbno, 1); in xchk_superblock_xref()
473 xfs_agblock_t agbno; in xchk_agf_xref_cntbt() local
492 error = xfs_alloc_get_rec(sc->sa.cnt_cur, &agbno, &blocks, &have); in xchk_agf_xref_cntbt()
[all …]
H A Dalloc.c59 xfs_agblock_t agbno, in xchk_allocbt_xref_other() argument
75 error = xfs_alloc_lookup_le(*pcur, agbno, len, &has_otherrec); in xchk_allocbt_xref_other()
91 if (fbno != agbno || flen != len) in xchk_allocbt_xref_other()
101 xfs_agblock_t agbno = irec->ar_startblock; in xchk_allocbt_xref() local
107 xchk_allocbt_xref_other(sc, agbno, len); in xchk_allocbt_xref()
108 xchk_xref_is_not_inode_chunk(sc, agbno, len); in xchk_allocbt_xref()
109 xchk_xref_has_no_owner(sc, agbno, len); in xchk_allocbt_xref()
110 xchk_xref_is_not_shared(sc, agbno, len); in xchk_allocbt_xref()
111 xchk_xref_is_not_cow_staging(sc, agbno, len); in xchk_allocbt_xref()
181 xfs_agblock_t agbno, in xchk_xref_is_used_space() argument
[all …]
H A Dscrub.h307 void xchk_xref_is_used_space(struct xfs_scrub *sc, xfs_agblock_t agbno,
309 void xchk_xref_is_not_inode_chunk(struct xfs_scrub *sc, xfs_agblock_t agbno,
311 void xchk_xref_is_inode_chunk(struct xfs_scrub *sc, xfs_agblock_t agbno,
313 void xchk_xref_is_only_owned_by(struct xfs_scrub *sc, xfs_agblock_t agbno,
315 void xchk_xref_is_not_owned_by(struct xfs_scrub *sc, xfs_agblock_t agbno,
317 void xchk_xref_has_no_owner(struct xfs_scrub *sc, xfs_agblock_t agbno,
H A Dbmap.c391 xfs_agblock_t agbno; in xchk_bmap_iextent_xref() local
396 agbno = XFS_FSB_TO_AGBNO(mp, irec->br_startblock); in xchk_bmap_iextent_xref()
404 xchk_xref_is_used_space(info->sc, agbno, len); in xchk_bmap_iextent_xref()
405 xchk_xref_is_not_inode_chunk(info->sc, agbno, len); in xchk_bmap_iextent_xref()
408 xchk_bmap_xref_rmap(info, irec, agbno); in xchk_bmap_iextent_xref()
412 xchk_xref_is_only_owned_by(info->sc, agbno, in xchk_bmap_iextent_xref()
414 xchk_xref_is_not_shared(info->sc, agbno, in xchk_bmap_iextent_xref()
417 xchk_xref_is_not_cow_staging(info->sc, agbno, in xchk_bmap_iextent_xref()
421 xchk_bmap_xref_rmap(info, irec, agbno); in xchk_bmap_iextent_xref()
424 xchk_xref_is_only_owned_by(info->sc, agbno, irec->br_blockcount, in xchk_bmap_iextent_xref()
[all …]
H A Dnewbt.h21 xfs_agblock_t agbno; member
69 xfs_agblock_t agbno, xfs_extlen_t len);
H A Dtrace.h367 __field(xfs_agblock_t, agbno)
374 __entry->agbno = xfs_daddr_to_agbno(sc->mp, daddr);
381 __entry->agbno,
1959 TP_PROTO(const struct xfs_group *xg, xfs_agblock_t agbno,
1961 TP_ARGS(xg, agbno, len),
1966 __field(xfs_agblock_t, agbno)
1973 __entry->agbno = agbno;
1981 __entry->agbno,
1986 TP_PROTO(const struct xfs_group *xg, xfs_agblock_t agbno, \
1988 TP_ARGS(xg, agbno, len))
[all …]
H A Drefcount.c552 xfs_agblock_t agbno, in xchk_xref_is_cow_staging() argument
564 agbno, &has_refcount); in xchk_xref_is_cow_staging()
596 xfs_agblock_t agbno, in xchk_xref_is_not_shared() argument
606 XFS_REFC_DOMAIN_SHARED, agbno, len, &outcome); in xchk_xref_is_not_shared()
617 xfs_agblock_t agbno, in xchk_xref_is_not_cow_staging() argument
627 agbno, len, &outcome); in xchk_xref_is_not_cow_staging()
H A Drmap.c115 xfs_agblock_t agbno = irec->rm_startblock; in xchk_rmapbt_xref() local
121 xchk_xref_is_used_space(sc, agbno, len); in xchk_rmapbt_xref()
123 xchk_xref_is_inode_chunk(sc, agbno, len); in xchk_rmapbt_xref()
125 xchk_xref_is_not_inode_chunk(sc, agbno, len); in xchk_rmapbt_xref()
378 xfs_agblock_t agbno, in xchk_rmapbt_walk_agfl() argument
383 return xagb_bitmap_set(bitmap, agbno, 1); in xchk_rmapbt_walk_agfl()
H A Dagheader_repair.c115 xfs_agblock_t agbno, in xrep_agf_check_agfl_block() argument
120 if (!xfs_verify_agbno(sc->sa.pag, agbno)) in xrep_agf_check_agfl_block()
491 uint32_t agbno, in xrep_agfl_check_extent() argument
496 xfs_agblock_t last_agbno = agbno + len - 1; in xrep_agfl_check_extent()
499 while (agbno <= last_agbno) { in xrep_agfl_check_extent()
502 error = xfs_rmap_has_other_keys(ra->rmap_cur, agbno, 1, in xrep_agfl_check_extent()
508 error = xagb_bitmap_set(&ra->crossed, agbno, 1); in xrep_agfl_check_extent()
515 agbno++; in xrep_agfl_check_extent()
647 xfs_agblock_t agbno = start; in xrep_agfl_fill() local
650 trace_xrep_agfl_insert(pag_group(sc->sa.pag), agbno, len); in xrep_agfl_fill()
[all …]
H A Drefcount_repair.c165 xfs_agblock_t agbno, in xrep_refc_stash() argument
170 .rc_startblock = agbno, in xrep_refc_stash()
195 xfs_agblock_t agbno, in xrep_refc_stash_cow() argument
198 return xrep_refc_stash(rr, XFS_REFC_DOMAIN_COW, agbno, len, 1); in xrep_refc_stash_cow()
H A Dalloc_repair.c265 xfs_agblock_t agbno, in xrep_abt_walk_agfl() argument
270 return xagb_bitmap_set(&ra->not_allocbt_blocks, agbno, 1); in xrep_abt_walk_agfl()
537 xfs_agblock_t free_agbno = resv->agbno + resv->used; in xrep_abt_dispose_one()
546 xfs_agbno_to_fsb(pag, resv->agbno), resv->used, in xrep_abt_dispose_one()
H A Dbtree.c374 xfs_agblock_t agbno; in xchk_btree_check_block_owner() local
385 agbno = xfs_daddr_to_agbno(bs->cur->bc_mp, daddr); in xchk_btree_check_block_owner()
400 xchk_xref_is_used_space(bs->sc, agbno, 1); in xchk_btree_check_block_owner()
409 xchk_xref_is_only_owned_by(bs->sc, agbno, 1, bs->oinfo); in xchk_btree_check_block_owner()
/linux/fs/xfs/libxfs/
H A Dxfs_refcount.c43 xfs_agblock_t agbno, xfs_extlen_t aglen);
45 xfs_agblock_t agbno, xfs_extlen_t aglen);
426 xfs_agblock_t agbno, in xfs_refcount_split_extent() argument
434 error = xfs_refcount_lookup_le(cur, domain, agbno, &found_rec); in xfs_refcount_split_extent()
450 if (rcext.rc_startblock == agbno || xfs_refc_next(&rcext) <= agbno) in xfs_refcount_split_extent()
454 trace_xfs_refcount_split_extent(cur, &rcext, agbno); in xfs_refcount_split_extent()
458 tmp.rc_startblock = agbno; in xfs_refcount_split_extent()
459 tmp.rc_blockcount -= (agbno - rcext.rc_startblock); in xfs_refcount_split_extent()
466 tmp.rc_blockcount = agbno - rcext.rc_startblock; in xfs_refcount_split_extent()
572 xfs_agblock_t *agbno, in xfs_refcount_merge_left_extent() argument
[all …]
H A Dxfs_alloc.h41 xfs_agblock_t agbno; /* allocation group-relative block # */ member
147 xfs_agblock_t agbno,
157 xfs_agblock_t agbno, in xfs_free_extent() argument
162 return __xfs_free_extent(tp, pag, agbno, len, oinfo, type, false); in xfs_free_extent()
H A Dxfs_ialloc.h92 xfs_agnumber_t agno, xfs_agblock_t agbno,
H A Dxfs_refcount.h90 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
/linux/fs/xfs/
H A Dxfs_icreate_item.h18 xfs_agblock_t agbno, unsigned int count,
H A Dxfs_iwalk.c103 xfs_agblock_t agbno; in xfs_iwalk_ichunk_ra() local
107 agbno = XFS_AGINO_TO_AGBNO(mp, irec->ir_startino); in xfs_iwalk_ichunk_ra()
116 xfs_agbno_to_daddr(pag, agbno), in xfs_iwalk_ichunk_ra()
120 agbno += igeo->blocks_per_cluster; in xfs_iwalk_ichunk_ra()
H A Dxfs_trace.h1964 TP_PROTO(const struct xfs_group *xg, xfs_agblock_t agbno,
1966 TP_ARGS(xg, agbno, len),
1971 __field(xfs_agblock_t, agbno)
1978 __entry->agbno = agbno;
1986 __entry->agbno,
1991 TP_PROTO(const struct xfs_group *xg, xfs_agblock_t agbno, \
1993 TP_ARGS(xg, agbno, len))
2000 TP_PROTO(const struct xfs_group *xg, xfs_agblock_t agbno,
2002 TP_ARGS(xg, agbno, len, tbno, tlen),
2007 __field(xfs_agblock_t, agbno)
[all …]