Home
last modified time | relevance | path

Searched refs:xfs_agblock_t (Results 1 – 25 of 49) sorted by relevance

12

/linux-6.1.9/fs/xfs/libxfs/
Dxfs_alloc.h59 xfs_agblock_t agbno; /* allocation group-relative block # */
68 xfs_agblock_t min_agbno; /* set an agbno range for NEAR allocs */
69 xfs_agblock_t max_agbno; /* ... */
99 struct xfs_buf *agfbp, xfs_agblock_t *bnop, int btreeblk);
102 xfs_agblock_t bno, int btreeblk);
153 xfs_agblock_t bno, /* starting block of extent */
160 xfs_agblock_t bno, /* starting block of extent */
167 xfs_agblock_t *bno, /* output: starting block of extent */
177 int xfs_free_agfl_block(struct xfs_trans *, xfs_agnumber_t, xfs_agblock_t,
197 int xfs_alloc_has_record(struct xfs_btree_cur *cur, xfs_agblock_t bno,
[all …]
Dxfs_refcount.h17 enum xfs_refc_domain domain, xfs_agblock_t bno, int *stat);
19 enum xfs_refc_domain domain, xfs_agblock_t bno, int *stat);
21 enum xfs_refc_domain domain, xfs_agblock_t bno, int *stat);
27 xfs_agblock_t startblock, in xfs_refcount_encode_startblock()
83 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
113 enum xfs_refc_domain domain, xfs_agblock_t bno,
Dxfs_rmap.h118 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len,
121 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len,
124 int xfs_rmap_lookup_le(struct xfs_btree_cur *cur, xfs_agblock_t bno,
127 int xfs_rmap_lookup_eq(struct xfs_btree_cur *cur, xfs_agblock_t bno,
130 int xfs_rmap_insert(struct xfs_btree_cur *rcur, xfs_agblock_t agbno,
176 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner);
178 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner);
187 int xfs_rmap_lookup_le_range(struct xfs_btree_cur *cur, xfs_agblock_t bno,
195 int xfs_rmap_has_record(struct xfs_btree_cur *cur, xfs_agblock_t bno,
197 int xfs_rmap_record_exists(struct xfs_btree_cur *cur, xfs_agblock_t bno,
[all …]
Dxfs_ag.h71 xfs_agblock_t block_count;
72 xfs_agblock_t min_block;
122 xfs_agblock_t xfs_ag_block_count(struct xfs_mount *mp, xfs_agnumber_t agno);
127 xfs_verify_agbno(struct xfs_perag *pag, xfs_agblock_t agbno) in xfs_verify_agbno()
139 xfs_agblock_t agbno, in xfs_verify_agbext()
140 xfs_agblock_t len) in xfs_verify_agbext()
224 xfs_agblock_t agno; /* ag to init */
Dxfs_ialloc.h87 xfs_agnumber_t agno, xfs_agblock_t agbno,
88 xfs_agblock_t length, unsigned int gen);
96 xfs_agblock_t bno, xfs_extlen_t len, bool *exists);
110 struct xfs_buf *agibp, xfs_agblock_t new_length);
Dxfs_alloc.c57 return size / sizeof(xfs_agblock_t); in xfs_agfl_size()
163 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_eq()
183 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_ge()
203 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_le()
230 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_update()
246 xfs_agblock_t *bno, /* output: starting block of extent */ in xfs_alloc_get_rec()
288 xfs_agblock_t foundbno, /* starting block in found extent */ in xfs_alloc_compute_aligned()
290 xfs_agblock_t *resbno, /* result block number */ in xfs_alloc_compute_aligned()
294 xfs_agblock_t bno = foundbno; in xfs_alloc_compute_aligned()
315 xfs_agblock_t aligned_bno = roundup(bno, args->alignment); in xfs_alloc_compute_aligned()
[all …]
Dxfs_refcount.c38 xfs_agblock_t agbno, xfs_extlen_t aglen);
40 xfs_agblock_t agbno, xfs_extlen_t aglen);
50 xfs_agblock_t bno, in xfs_refcount_lookup_le()
70 xfs_agblock_t bno, in xfs_refcount_lookup_ge()
90 xfs_agblock_t bno, in xfs_refcount_lookup_eq()
349 static inline xfs_agblock_t
363 xfs_agblock_t agbno, in xfs_refcount_split_extent()
507 xfs_agblock_t *agbno, in xfs_refcount_merge_left_extent()
639 xfs_agblock_t agbno, in xfs_refcount_find_left_extents()
732 xfs_agblock_t agbno, in xfs_refcount_find_right_extents()
[all …]
Dxfs_types.h11 typedef uint32_t xfs_agblock_t; /* blockno in alloc. group */ typedef
51 #define NULLAGBLOCK ((xfs_agblock_t)-1)
179 xfs_agblock_t rc_startblock; /* starting block number */
192 xfs_agblock_t rm_startblock; /* extent start block */
Dxfs_format.h107 xfs_agblock_t sb_rextsize; /* realtime extent size, blocks */
108 xfs_agblock_t sb_agblocks; /* size of an allocation group */
437 #define XFS_HDR_BLOCK(mp,d) ((xfs_agblock_t)XFS_BB_TO_FSBT(mp,d))
676 ((xfs_agblock_t)((fsbno) & xfs_mask32lo((mp)->m_sb.sb_agblklog)))
1115 (((xfs_agblock_t)(i) >> XFS_INO_OFFSET_BITS(mp)) & \
1389 xfs_agblock_t ar_startblock; /* starting block number */
1400 #define XFS_BNO_BLOCK(mp) ((xfs_agblock_t)(XFS_AGFL_BLOCK(mp) + 1))
1401 #define XFS_CNT_BLOCK(mp) ((xfs_agblock_t)(XFS_BNO_BLOCK(mp) + 1))
1482 #define XFS_IBT_BLOCK(mp) ((xfs_agblock_t)(XFS_CNT_BLOCK(mp) + 1))
1483 #define XFS_FIBT_BLOCK(mp) ((xfs_agblock_t)(XFS_IBT_BLOCK(mp) + 1))
Dxfs_types.c25 xfs_agblock_t agbno) in xfs_verify_agno_agbno()
27 xfs_agblock_t eoag; in xfs_verify_agno_agbno()
/linux-6.1.9/fs/xfs/scrub/
Dscrub.h141 void xchk_xref_is_used_space(struct xfs_scrub *sc, xfs_agblock_t agbno,
143 void xchk_xref_is_not_inode_chunk(struct xfs_scrub *sc, xfs_agblock_t agbno,
145 void xchk_xref_is_inode_chunk(struct xfs_scrub *sc, xfs_agblock_t agbno,
147 void xchk_xref_is_owned_by(struct xfs_scrub *sc, xfs_agblock_t agbno,
149 void xchk_xref_is_not_owned_by(struct xfs_scrub *sc, xfs_agblock_t agbno,
151 void xchk_xref_has_no_owner(struct xfs_scrub *sc, xfs_agblock_t agbno,
153 void xchk_xref_is_cow_staging(struct xfs_scrub *sc, xfs_agblock_t bno,
155 void xchk_xref_is_not_shared(struct xfs_scrub *sc, xfs_agblock_t bno,
Dtrace.h144 xfs_agblock_t bno, int error, void *ret_ip),
150 __field(xfs_agblock_t, bno)
210 __field(xfs_agblock_t, agbno)
337 __field(xfs_agblock_t, bno)
380 __field(xfs_agblock_t, bno)
422 __field(xfs_agblock_t, bno)
460 __field(xfs_agblock_t, bno)
499 __field(xfs_agblock_t, bno)
665 xfs_agblock_t agbno, xfs_extlen_t len),
670 __field(xfs_agblock_t, agbno)
[all …]
Drefcount.c78 xfs_agblock_t bno;
101 xfs_agblock_t rm_last; in xchk_refcountbt_rmap_check()
102 xfs_agblock_t rc_last; in xchk_refcountbt_rmap_check()
155 xfs_agblock_t bno; in xchk_refcountbt_process_rmap_fragments()
156 xfs_agblock_t rbno; in xchk_refcountbt_process_rmap_fragments()
157 xfs_agblock_t next_rbno; in xchk_refcountbt_process_rmap_fragments()
335 xfs_agblock_t *cow_blocks = bs->private; in xchk_refcountbt_rec()
397 xfs_agblock_t cow_blocks = 0; in xchk_refcountbt()
414 xfs_agblock_t agbno, in xchk_xref_is_cow_staging()
458 xfs_agblock_t agbno, in xchk_xref_is_not_shared()
Dagheader.c31 xfs_agblock_t agbno; in xchk_superblock_xref()
394 xfs_agblock_t agbno; in xchk_agf_xref_cntbt()
427 xfs_agblock_t blocks; in xchk_agf_xref_btreeblks()
428 xfs_agblock_t btreeblks; in xchk_agf_xref_btreeblks()
476 xfs_agblock_t blocks; in xchk_agf_xref_refcblks()
495 xfs_agblock_t agbno; in xchk_agf_xref()
525 xfs_agblock_t agbno; in xchk_agf()
526 xfs_agblock_t eoag; in xchk_agf()
527 xfs_agblock_t agfl_first; in xchk_agf()
528 xfs_agblock_t agfl_last; in xchk_agf()
[all …]
Dalloc.c38 xfs_agblock_t agbno, in xchk_allocbt_xref_other()
42 xfs_agblock_t fbno; in xchk_allocbt_xref_other()
78 xfs_agblock_t agbno, in xchk_allocbt_xref()
97 xfs_agblock_t bno; in xchk_allocbt_rec()
141 xfs_agblock_t agbno, in xchk_xref_is_used_space()
Drmap.c38 xfs_agblock_t fbno; in xchk_rmapbt_xref_refc()
69 xfs_agblock_t agbno = irec->rm_startblock; in xchk_rmapbt_xref()
176 xfs_agblock_t bno, in xchk_xref_check_owner()
199 xfs_agblock_t bno, in xchk_xref_is_owned_by()
210 xfs_agblock_t bno, in xchk_xref_is_not_owned_by()
221 xfs_agblock_t bno, in xchk_xref_has_no_owner()
Dagheader_repair.c77 xfs_agblock_t freeblks;
78 xfs_agblock_t longest;
104 xfs_agblock_t agbno, in xrep_agf_check_agfl_block()
253 xfs_agblock_t btreeblks; in xrep_agf_calc_from_btrees()
254 xfs_agblock_t blocks; in xrep_agf_calc_from_btrees()
494 xfs_agblock_t *flcount) in xrep_agfl_collect_blocks()
557 xfs_agblock_t flcount) in xrep_agfl_update_agf()
583 xfs_agblock_t flcount) in xrep_agfl_init_header()
590 xfs_agblock_t agbno; in xrep_agfl_init_header()
651 xfs_agblock_t flcount; in xrep_agfl()
[all …]
Dialloc.c86 xfs_agblock_t agbno, in xchk_iallocbt_chunk_xref()
108 xfs_agblock_t bno; in xchk_iallocbt_chunk()
217 xfs_agblock_t agbno; in xchk_iallocbt_check_cluster()
622 xfs_agblock_t agbno, in xchk_xref_inode_check()
644 xfs_agblock_t agbno, in xchk_xref_is_not_inode_chunk()
655 xfs_agblock_t agbno, in xchk_xref_is_inode_chunk()
Drepair.c294 xfs_agblock_t bno; in xrep_alloc_ag_block()
499 xfs_agblock_t agbno) in xrep_put_freelist()
539 xfs_agblock_t agbno; in xrep_reap_block()
669 xfs_agblock_t bno, in xrep_findroot_agfl_walk()
672 xfs_agblock_t *agbno = priv; in xrep_findroot_agfl_walk()
683 xfs_agblock_t agbno, in xrep_findroot_block()
841 xfs_agblock_t b; in xrep_findroot_rmap()
/linux-6.1.9/fs/xfs/
Dxfs_extent_busy.c26 xfs_agblock_t bno, in xfs_extent_busy_insert()
82 xfs_agblock_t bno, in xfs_extent_busy_search()
130 xfs_agblock_t fbno, in xfs_extent_busy_update_extent()
135 xfs_agblock_t fend = fbno + flen; in xfs_extent_busy_update_extent()
136 xfs_agblock_t bbno = busyp->bno; in xfs_extent_busy_update_extent()
137 xfs_agblock_t bend = bbno + busyp->length; in xfs_extent_busy_update_extent()
277 xfs_agblock_t fbno, in xfs_extent_busy_reuse()
290 xfs_agblock_t bbno = busyp->bno; in xfs_extent_busy_reuse()
291 xfs_agblock_t bend = bbno + busyp->length; in xfs_extent_busy_reuse()
323 xfs_agblock_t *bno, in xfs_extent_busy_trim()
[all …]
Dxfs_extent_busy.h27 xfs_agblock_t bno;
36 xfs_agblock_t bno, xfs_extlen_t len, unsigned int flags);
44 xfs_agblock_t bno, xfs_extlen_t len);
48 xfs_agblock_t fbno, xfs_extlen_t flen, bool userdata);
51 xfs_extent_busy_trim(struct xfs_alloc_arg *args, xfs_agblock_t *bno,
Dxfs_notify_failure.c27 xfs_agblock_t startblock;
53 xfs_agblock_t end_rec; in xfs_failure_pgcnt()
54 xfs_agblock_t end_notify; in xfs_failure_pgcnt()
55 xfs_agblock_t start_cross; in xfs_failure_pgcnt()
56 xfs_agblock_t end_cross; in xfs_failure_pgcnt()
128 xfs_agblock_t agend; in xfs_dax_notify_ddev_failure()
Dxfs_icreate_item.h18 xfs_agblock_t agbno, unsigned int count,
19 unsigned int inode_size, xfs_agblock_t length,
Dxfs_icreate_item.c93 xfs_agblock_t agbno, in xfs_icreate_log()
96 xfs_agblock_t length, in xfs_icreate_log()
152 xfs_agblock_t agbno; in xlog_recover_icreate_commit_pass2()
155 xfs_agblock_t length; in xlog_recover_icreate_commit_pass2()
Dxfs_trace.h1622 xfs_agblock_t agbno, xfs_extlen_t len),
1627 __field(xfs_agblock_t, agbno)
1645 xfs_agblock_t agbno, xfs_extlen_t len), \
1655 xfs_agblock_t agbno, xfs_extlen_t len,
1656 xfs_agblock_t tbno, xfs_extlen_t tlen),
1661 __field(xfs_agblock_t, agbno)
1663 __field(xfs_agblock_t, tbno)
1748 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agblock_t agbno,
1755 __field(xfs_agblock_t, agbno)
1788 __field(xfs_agblock_t, agbno)
[all …]

12