Searched refs:agbno (Results 26 - 41 of 41) sorted by relevance

12

/linux-master/fs/xfs/
H A Dxfs_reflink.c133 xfs_agblock_t agbno,
149 error = xfs_refcount_find_shared(cur, agbno, aglen, fbno, flen,
176 xfs_agblock_t agbno; local
191 agbno = XFS_FSB_TO_AGBNO(mp, irec->br_startblock);
194 error = xfs_reflink_find_shared(pag, NULL, agbno, aglen, &fbno, &flen,
206 if (fbno == agbno) {
224 irec->br_blockcount = fbno - agbno;
1581 xfs_agblock_t agbno; local
1591 agbno = XFS_FSB_TO_AGBNO(mp, got.br_startblock);
1593 error = xfs_reflink_find_shared(pag, tp, agbno, agle
130 xfs_reflink_find_shared( struct xfs_perag *pag, struct xfs_trans *tp, xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno, xfs_extlen_t *flen, bool find_end_of_shared) argument
[all...]
H A Dxfs_iwalk.c104 xfs_agblock_t agbno; local
108 agbno = XFS_AGINO_TO_AGBNO(mp, irec->ir_startino);
117 XFS_AGB_TO_DADDR(mp, agno, agbno),
121 agbno += igeo->blocks_per_cluster;
/linux-master/fs/xfs/scrub/
H A Drmap.c115 xfs_agblock_t agbno = irec->rm_startblock; local
121 xchk_xref_is_used_space(sc, agbno, len);
123 xchk_xref_is_inode_chunk(sc, agbno, len);
125 xchk_xref_is_not_inode_chunk(sc, agbno, len);
378 xfs_agblock_t agbno,
383 return xagb_bitmap_set(bitmap, agbno, 1);
376 xchk_rmapbt_walk_agfl( struct xfs_mount *mp, xfs_agblock_t agbno, void *priv) argument
H A Drefcount_repair.c171 xfs_agblock_t agbno,
176 .rc_startblock = agbno,
201 xfs_agblock_t agbno,
204 return xrep_refc_stash(rr, XFS_REFC_DOMAIN_COW, agbno, len, 1);
168 xrep_refc_stash( struct xrep_refc *rr, enum xfs_refc_domain domain, xfs_agblock_t agbno, xfs_extlen_t len, uint64_t refcount) argument
199 xrep_refc_stash_cow( struct xrep_refc *rr, xfs_agblock_t agbno, xfs_extlen_t len) argument
H A Drepair.c460 xfs_agblock_t *agbno = priv; local
462 return (*agbno == bno) ? -ECANCELED : 0;
471 xfs_agblock_t agbno,
481 daddr = XFS_AGB_TO_DADDR(mp, ri->sc->sa.pag->pag_agno, agbno);
491 xrep_findroot_agfl_walk, &agbno);
606 fab->root = agbno;
610 trace_xrep_findroot_block(mp, ri->sc->sa.pag->pag_agno, agbno,
467 xrep_findroot_block( struct xrep_findroot *ri, struct xrep_find_ag_btree *fab, uint64_t owner, xfs_agblock_t agbno, bool *done_with_block) argument
H A Dbtree.c372 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 Dalloc_repair.c266 xfs_agblock_t agbno,
271 return xagb_bitmap_set(&ra->not_allocbt_blocks, agbno, 1);
538 xfs_agblock_t free_agbno = resv->agbno + resv->used;
546 xfs_rmap_alloc_extent(sc->tp, pag->pag_agno, resv->agbno,
264 xrep_abt_walk_agfl( struct xfs_mount *mp, xfs_agblock_t agbno, void *priv) argument
H A Dbmap_repair.c102 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,
/linux-master/fs/xfs/libxfs/
H A Dxfs_refcount.h85 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
H A Dxfs_ialloc.h89 xfs_agnumber_t agno, xfs_agblock_t agbno,
H A Dxfs_format.h670 #define XFS_AGB_TO_FSB(mp,agno,agbno) \
671 (((xfs_fsblock_t)(agno) << (mp)->m_sb.sb_agblklog) | (agbno))
676 #define XFS_AGB_TO_DADDR(mp,agno,agbno) \
678 (xfs_fsblock_t)(agno) * (mp)->m_sb.sb_agblocks + (agbno)))
H A Dxfs_rmap.h131 int xfs_rmap_insert(struct xfs_btree_cur *rcur, xfs_agblock_t agbno,
H A Dxfs_rmap.c122 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 Dxfs_btree.c102 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 Dxfs_refcount_btree.c88 new->s = cpu_to_be32(args.agbno);
H A Dxfs_ag.c973 if (!error && args.agbno == NULLAGBLOCK)

Completed in 170 milliseconds

12