/linux-master/fs/xfs/scrub/ |
H A D | ialloc_repair.c | 341 xfs_agblock_t agbno, 351 if (!xfs_verify_agbext(sc->sa.pag, agbno, len)) 355 if (!IS_ALIGNED(agbno, igeo->blocks_per_cluster) || 356 !IS_ALIGNED(agbno + len, igeo->blocks_per_cluster)) 364 (!IS_ALIGNED(agbno, igeo->cluster_align) || 365 !IS_ALIGNED(agbno + len, igeo->cluster_align))) 373 (!IS_ALIGNED(agbno, mp->m_sb.sb_spino_align) || 374 !IS_ALIGNED(agbno + len, mp->m_sb.sb_spino_align))) 378 agino = XFS_AGB_TO_AGINO(mp, agbno); 382 agino = XFS_AGB_TO_AGINO(mp, agbno 339 xrep_ibt_check_inode_ext( struct xfs_scrub *sc, xfs_agblock_t agbno, xfs_extlen_t len) argument [all...] |
H A D | btree.c | 372 xfs_agblock_t agbno; local 380 agbno = xfs_daddr_to_agbno(bs->cur->bc_mp, daddr); 395 xchk_xref_is_used_space(bs->sc, agbno, 1); 404 xchk_xref_is_only_owned_by(bs->sc, agbno, 1, bs->oinfo);
|
H A D | bmap_repair.c | 102 xfs_agblock_t agbno; local 107 agbno = XFS_FSB_TO_AGBNO(sc->mp, startblock); 108 error = xfs_refcount_find_shared(sc->sa.refc_cur, agbno, blockcount,
|
H A D | bmap.c | 145 xfs_agblock_t agbno, 174 error = xfs_rmap_lookup_le_range(info->sc->sa.rmap_cur, agbno, 177 error = xfs_rmap_lookup_le(info->sc->sa.rmap_cur, agbno, 194 xfs_agblock_t agbno) 204 if (!xchk_bmap_get_rmap(info, irec, agbno, owner, &rmap)) 211 if (rmap.rm_startblock != agbno) 216 if (rmap_end != agbno + irec->br_blockcount) 261 xfs_agblock_t agbno) 271 if (!xchk_bmap_get_rmap(info, irec, agbno, owner, &rmap)) 279 if (rmap.rm_startblock > agbno) 142 xchk_bmap_get_rmap( struct xchk_bmap_info *info, struct xfs_bmbt_irec *irec, xfs_agblock_t agbno, uint64_t owner, struct xfs_rmap_irec *rmap) argument 191 xchk_bmap_xref_rmap( struct xchk_bmap_info *info, struct xfs_bmbt_irec *irec, xfs_agblock_t agbno) argument 258 xchk_bmap_xref_rmap_cow( struct xchk_bmap_info *info, struct xfs_bmbt_irec *irec, xfs_agblock_t agbno) argument 331 xfs_agblock_t agbno; local [all...] |
H A D | alloc.c | 59 xfs_agblock_t agbno, 75 error = xfs_alloc_lookup_le(*pcur, agbno, len, &has_otherrec); 91 if (fbno != agbno || flen != len) 101 xfs_agblock_t agbno = irec->ar_startblock; local 107 xchk_allocbt_xref_other(sc, agbno, len); 108 xchk_xref_is_not_inode_chunk(sc, agbno, len); 109 xchk_xref_has_no_owner(sc, agbno, len); 110 xchk_xref_is_not_shared(sc, agbno, len); 111 xchk_xref_is_not_cow_staging(sc, agbno, len); 180 xfs_agblock_t agbno, 57 xchk_allocbt_xref_other( struct xfs_scrub *sc, xfs_agblock_t agbno, xfs_extlen_t len) argument 178 xchk_xref_is_used_space( struct xfs_scrub *sc, xfs_agblock_t agbno, xfs_extlen_t len) argument [all...] |
H A D | agb_bitmap.c | 61 xfs_agblock_t agbno; local 68 agbno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno); 70 return xagb_bitmap_set(bitmap, agbno, 1);
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_rmap.c | 122 xfs_agblock_t agbno, 131 trace_xfs_rmap_insert(rcur->bc_mp, rcur->bc_ag.pag->pag_agno, agbno, 134 error = xfs_rmap_lookup_eq(rcur, agbno, len, owner, offset, flags, &i); 143 rcur->bc_rec.r.rm_startblock = agbno; 166 xfs_agblock_t agbno, 175 trace_xfs_rmap_delete(rcur->bc_mp, rcur->bc_ag.pag->pag_agno, agbno, 178 error = xfs_rmap_lookup_eq(rcur, agbno, len, owner, offset, flags, &i); 960 * the extent in the rmap btree. This takes the form of a [agbno, length, 120 xfs_rmap_insert( struct xfs_btree_cur *rcur, xfs_agblock_t agbno, xfs_extlen_t len, uint64_t owner, uint64_t offset, unsigned int flags) argument 164 xfs_rmap_delete( struct xfs_btree_cur *rcur, xfs_agblock_t agbno, xfs_extlen_t len, uint64_t owner, uint64_t offset, unsigned int flags) argument
|
H A D | xfs_rmap.h | 131 int xfs_rmap_insert(struct xfs_btree_cur *rcur, xfs_agblock_t agbno,
|
H A D | xfs_refcount_btree.c | 88 new->s = cpu_to_be32(args.agbno);
|
H A D | xfs_refcount.c | 39 xfs_agblock_t agbno, xfs_extlen_t aglen); 41 xfs_agblock_t agbno, xfs_extlen_t aglen); 382 * Split a refcount extent that crosses agbno. 388 xfs_agblock_t agbno, 396 error = xfs_refcount_lookup_le(cur, domain, agbno, &found_rec); 412 if (rcext.rc_startblock == agbno || xfs_refc_next(&rcext) <= agbno) 417 &rcext, agbno); 421 tmp.rc_startblock = agbno; 422 tmp.rc_blockcount -= (agbno 385 xfs_refcount_split_extent( struct xfs_btree_cur *cur, enum xfs_refc_domain domain, xfs_agblock_t agbno, bool *shape_changed) argument 534 xfs_refcount_merge_left_extent( struct xfs_btree_cur *cur, struct xfs_refcount_irec *left, struct xfs_refcount_irec *cleft, xfs_agblock_t *agbno, xfs_extlen_t *aglen) argument 671 xfs_refcount_find_left_extents( struct xfs_btree_cur *cur, struct xfs_refcount_irec *left, struct xfs_refcount_irec *cleft, enum xfs_refc_domain domain, xfs_agblock_t agbno, xfs_extlen_t aglen) argument 766 xfs_refcount_find_right_extents( struct xfs_btree_cur *cur, struct xfs_refcount_irec *right, struct xfs_refcount_irec *cright, enum xfs_refc_domain domain, xfs_agblock_t agbno, xfs_extlen_t aglen) argument 993 xfs_refcount_merge_extents( struct xfs_btree_cur *cur, enum xfs_refc_domain domain, xfs_agblock_t *agbno, xfs_extlen_t *aglen, enum xfs_refc_adjust_op adjust, bool *shape_changed) argument 1108 xfs_refcount_adjust_extents( struct xfs_btree_cur *cur, xfs_agblock_t *agbno, xfs_extlen_t *aglen, enum xfs_refc_adjust_op adj) argument 1264 xfs_refcount_adjust( struct xfs_btree_cur *cur, xfs_agblock_t *agbno, xfs_extlen_t *aglen, enum xfs_refc_adjust_op adj) argument 1527 xfs_refcount_find_shared( struct xfs_btree_cur *cur, xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno, xfs_extlen_t *flen, bool find_end_of_shared) argument 1691 xfs_refcount_adjust_cow_extents( struct xfs_btree_cur *cur, xfs_agblock_t agbno, xfs_extlen_t aglen, enum xfs_refc_adjust_op adj) argument 1798 xfs_refcount_adjust_cow( struct xfs_btree_cur *cur, xfs_agblock_t agbno, xfs_extlen_t aglen, enum xfs_refc_adjust_op adj) argument 1845 __xfs_refcount_cow_alloc( struct xfs_btree_cur *rcur, xfs_agblock_t agbno, xfs_extlen_t aglen) argument 1862 __xfs_refcount_cow_free( struct xfs_btree_cur *rcur, xfs_agblock_t agbno, xfs_extlen_t aglen) argument [all...] |
H A D | xfs_btree.c | 102 xfs_agblock_t agbno, 111 if (sibling == agbno) 230 xfs_agblock_t agbno; local 247 agbno = xfs_daddr_to_agbno(mp, xfs_buf_daddr(bp)); 248 fa = xfs_btree_check_agblock_siblings(pag, agbno, 251 fa = xfs_btree_check_agblock_siblings(pag, agbno, 4817 xfs_agblock_t agbno; local 4827 agbno = xfs_daddr_to_agbno(mp, xfs_buf_daddr(bp)); 4828 fa = xfs_btree_check_agblock_siblings(bp->b_pag, agbno, 4831 fa = xfs_btree_check_agblock_siblings(bp->b_pag, agbno, 100 xfs_btree_check_agblock_siblings( struct xfs_perag *pag, xfs_agblock_t agbno, __be32 dsibling) argument [all...] |
H A D | xfs_ag.h | 178 xfs_verify_agbno(struct xfs_perag *pag, xfs_agblock_t agbno) argument 180 if (agbno >= pag->block_count) 182 if (agbno <= pag->min_block) 190 xfs_agblock_t agbno, 193 if (agbno + len <= agbno) 196 if (!xfs_verify_agbno(pag, agbno)) 199 return xfs_verify_agbno(pag, agbno + len - 1); 188 xfs_verify_agbext( struct xfs_perag *pag, xfs_agblock_t agbno, xfs_agblock_t len) argument
|
H A D | xfs_refcount.h | 85 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
|
H A D | xfs_alloc.h | 41 xfs_agblock_t agbno; /* allocation group-relative block # */ member in struct:xfs_alloc_arg 50 xfs_agblock_t min_agbno; /* set an agbno range for NEAR allocs */ 146 xfs_agblock_t agbno, 156 xfs_agblock_t agbno, 161 return __xfs_free_extent(tp, pag, agbno, len, oinfo, type, false); 153 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) argument
|
H A D | xfs_types.c | 25 xfs_agblock_t agbno) 30 if (agbno >= eoag) 32 if (agbno <= XFS_AGFL_BLOCK(mp)) 22 xfs_verify_agno_agbno( struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agblock_t agbno) argument
|
/linux-master/fs/xfs/ |
H A D | xfs_icreate_item.h | 18 xfs_agblock_t agbno, unsigned int count,
|