Home
last modified time | relevance | path

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

123

/linux-6.15/fs/xfs/libxfs/
H A Dxfs_alloc.h41 xfs_agblock_t agbno; /* allocation group-relative block # */
50 xfs_agblock_t min_agbno; /* set an agbno range for NEAR allocs */
51 xfs_agblock_t max_agbno; /* ... */
77 struct xfs_buf *agfbp, xfs_agblock_t *bnop, int btreeblk);
80 xfs_agblock_t bno, int btreeblk);
82 xfs_agblock_t bno, xfs_extlen_t len,
147 xfs_agblock_t agbno,
157 xfs_agblock_t agbno, in xfs_free_extent()
168 xfs_agblock_t bno, /* starting block of extent */
175 xfs_agblock_t bno, /* starting block of extent */
[all …]
H A Dxfs_refcount.h18 enum xfs_refc_domain domain, xfs_agblock_t bno, int *stat);
20 enum xfs_refc_domain domain, xfs_agblock_t bno, int *stat);
22 enum xfs_refc_domain domain, xfs_agblock_t bno, int *stat);
28 xfs_agblock_t startblock, in xfs_refcount_encode_startblock()
90 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
119 enum xfs_refc_domain domain, xfs_agblock_t bno,
H A Dxfs_rmap.h120 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len,
123 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len,
126 int xfs_rmap_lookup_le(struct xfs_btree_cur *cur, xfs_agblock_t bno,
129 int xfs_rmap_lookup_eq(struct xfs_btree_cur *cur, xfs_agblock_t bno,
132 int xfs_rmap_insert(struct xfs_btree_cur *rcur, xfs_agblock_t agbno,
197 enum xfs_rmap_intent_type op, xfs_agblock_t bno,
201 int xfs_rmap_lookup_le_range(struct xfs_btree_cur *cur, xfs_agblock_t bno,
214 int xfs_rmap_has_records(struct xfs_btree_cur *cur, xfs_agblock_t bno,
228 int xfs_rmap_count_owners(struct xfs_btree_cur *cur, xfs_agblock_t bno,
231 int xfs_rmap_has_other_keys(struct xfs_btree_cur *cur, xfs_agblock_t bno,
[all …]
H A Dxfs_ialloc.h92 xfs_agnumber_t agno, xfs_agblock_t agbno,
93 xfs_agblock_t length, unsigned int gen);
103 xfs_agblock_t bno, xfs_extlen_t len,
116 struct xfs_buf *agibp, xfs_agblock_t new_length);
H A Dxfs_ag.h214 xfs_agblock_t xfs_ag_block_count(struct xfs_mount *mp, xfs_agnumber_t agno);
219 xfs_verify_agbno(struct xfs_perag *pag, xfs_agblock_t agbno) in xfs_verify_agbno()
227 xfs_agblock_t agbno, in xfs_verify_agbext()
228 xfs_agblock_t len) in xfs_verify_agbext()
320 xfs_agblock_t agno; /* ag to init */
341 xfs_agblock_t agbno) in xfs_agbno_to_fsb()
349 xfs_agblock_t agbno) in xfs_agbno_to_daddr()
H A Dxfs_alloc.c158 xfs_agblock_t bno, in xfs_alloc_lookup()
1140 xfs_agblock_t bno; in xfs_alloc_cntbt_iter()
1611 xfs_agblock_t *bno, in xfs_alloc_ag_vextent_lastblock()
1681 xfs_agblock_t bno; in xfs_alloc_ag_vextent_near()
2042 xfs_agblock_t bno, in xfs_free_ag_extent()
2215 xfs_agblock_t xxbno; in xfs_free_ag_extent()
2792 xfs_agblock_t fbno; in xfs_exact_minlen_extent_available()
3031 xfs_agblock_t *bnop, in xfs_alloc_get_freelist()
3036 xfs_agblock_t bno; in xfs_alloc_get_freelist()
3138 xfs_agblock_t bno, in xfs_alloc_put_freelist()
[all …]
H A Dxfs_types.h11 typedef uint32_t xfs_agblock_t; /* blockno in alloc. group */ typedef
57 #define NULLAGBLOCK ((xfs_agblock_t)-1)
172 xfs_agblock_t rc_startblock; /* starting block number */
185 xfs_agblock_t rm_startblock; /* extent start block */
H A Dxfs_group.h94 static inline xfs_agblock_t
112 xfs_agblock_t gbno) in xfs_gbno_to_fsb()
120 xfs_agblock_t gbno) in xfs_gbno_to_daddr()
145 static inline xfs_agblock_t
H A Dxfs_refcount.c55 xfs_agblock_t bno, in xfs_refcount_lookup_le()
75 xfs_agblock_t bno, in xfs_refcount_lookup_ge()
95 xfs_agblock_t bno, in xfs_refcount_lookup_eq()
426 xfs_agblock_t agbno, in xfs_refcount_split_extent()
706 xfs_agblock_t agbno, in xfs_refcount_find_left_extents()
799 xfs_agblock_t agbno, in xfs_refcount_find_right_extents()
1393 xfs_agblock_t bno; in xfs_refcount_finish_one()
1803 xfs_agblock_t agbno, in xfs_refcount_adjust_cow_extents()
1907 xfs_agblock_t agbno, in xfs_refcount_adjust_cow()
1953 xfs_agblock_t agbno, in __xfs_refcount_cow_alloc()
[all …]
/linux-6.15/fs/xfs/
H A Dxfs_extent_busy.h23 xfs_agblock_t bno;
47 xfs_agblock_t bno, xfs_extlen_t len, unsigned int flags);
48 void xfs_extent_busy_insert_discard(struct xfs_group *xg, xfs_agblock_t bno,
51 int xfs_extent_busy_search(struct xfs_group *xg, xfs_agblock_t bno,
53 void xfs_extent_busy_reuse(struct xfs_group *xg, xfs_agblock_t fbno,
56 xfs_extlen_t maxlen, xfs_agblock_t *bno, xfs_extlen_t *len,
H A Dxfs_extent_busy.c33 xfs_agblock_t bno, in xfs_extent_busy_insert_list()
84 xfs_agblock_t bno, in xfs_extent_busy_insert()
94 xfs_agblock_t bno, in xfs_extent_busy_insert_discard()
114 xfs_agblock_t bno, in xfs_extent_busy_search()
162 xfs_agblock_t fbno, in xfs_extent_busy_update_extent()
169 xfs_agblock_t fend = fbno + flen; in xfs_extent_busy_update_extent()
170 xfs_agblock_t bbno = busyp->bno; in xfs_extent_busy_update_extent()
310 xfs_agblock_t fbno, in xfs_extent_busy_reuse()
324 xfs_agblock_t bbno = busyp->bno; in xfs_extent_busy_reuse()
359 xfs_agblock_t *bno, in xfs_extent_busy_trim()
[all …]
H A Dxfs_icreate_item.h18 xfs_agblock_t agbno, unsigned int count,
19 unsigned int inode_size, xfs_agblock_t length,
H A 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()
H A Dxfs_notify_failure.c31 xfs_agblock_t startblock;
57 xfs_agblock_t end_rec; in xfs_failure_pgcnt()
58 xfs_agblock_t end_notify; in xfs_failure_pgcnt()
59 xfs_agblock_t start_cross; in xfs_failure_pgcnt()
60 xfs_agblock_t end_cross; in xfs_failure_pgcnt()
H A Dxfs_discard.c171 xfs_agblock_t start;
173 xfs_agblock_t end;
235 xfs_agblock_t fbno; in xfs_trim_gather_extents()
347 xfs_agblock_t start, in xfs_trim_perag_extents()
348 xfs_agblock_t end, in xfs_trim_perag_extents()
411 xfs_agblock_t start_agbno, end_agbno; in xfs_trim_datadev_extents()
425 xfs_agblock_t agend = pag_group(pag)->xg_block_count; in xfs_trim_datadev_extents()
/linux-6.15/fs/xfs/scrub/
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,
319 void xchk_xref_is_cow_staging(struct xfs_scrub *sc, xfs_agblock_t bno,
321 void xchk_xref_is_not_shared(struct xfs_scrub *sc, xfs_agblock_t bno,
323 void xchk_xref_is_not_cow_staging(struct xfs_scrub *sc, xfs_agblock_t bno,
H A Drefcount.c93 xfs_agblock_t bno;
116 xfs_agblock_t rm_last; in xchk_refcountbt_rmap_check()
117 xfs_agblock_t rc_last; in xchk_refcountbt_rmap_check()
170 xfs_agblock_t bno; in xchk_refcountbt_process_rmap_fragments()
171 xfs_agblock_t rbno; in xchk_refcountbt_process_rmap_fragments()
172 xfs_agblock_t next_rbno; in xchk_refcountbt_process_rmap_fragments()
353 xfs_agblock_t cow_blocks;
382 xfs_agblock_t bno) in xchk_refcountbt_xref_gaps()
553 xfs_agblock_t agbno, in xchk_xref_is_cow_staging()
597 xfs_agblock_t agbno, in xchk_xref_is_not_shared()
[all …]
H A Dreap.c115 xfs_agblock_t agbno) in xreap_put_freelist()
264 xfs_agblock_t agbno, in xreap_agextent_binval()
271 xfs_agblock_t bno = agbno; in xreap_agextent_binval()
329 xfs_agblock_t agbno, in xreap_agextent_select()
330 xfs_agblock_t agbno_next, in xreap_agextent_select()
390 xfs_agblock_t agbno, in xreap_agextent_iter()
967 xfs_agblock_t bno; in xreap_bmapi_select()
968 xfs_agblock_t agbno; in xreap_bmapi_select()
969 xfs_agblock_t agbno_next; in xreap_bmapi_select()
1052 xfs_agblock_t bno; in xreap_bmapi_binval()
[all …]
H A Dagheader.c41 xfs_agblock_t agbno; in xchk_superblock_xref()
471 xfs_agblock_t agbno; in xchk_agf_xref_cntbt()
572 xfs_agblock_t agbno; in xchk_agf_xref()
603 xfs_agblock_t agbno; in xchk_agf()
604 xfs_agblock_t eoag; in xchk_agf()
707 xfs_agblock_t agbno) in xchk_agfl_block_xref()
723 xfs_agblock_t agbno, in xchk_agfl_block()
760 xfs_agblock_t agbno; in xchk_agfl_xref()
915 xfs_agblock_t agbno; in xchk_agi_xref()
982 xfs_agblock_t agbno; in xchk_agi()
[all …]
H A Dagb_bitmap.h26 xfs_agblock_t start, xfs_extlen_t len) in xagb_bitmap_clear()
31 xfs_agblock_t start, xfs_extlen_t len) in xagb_bitmap_set()
37 xfs_agblock_t start, xfs_extlen_t *len) in xagb_bitmap_test()
H A Dalloc.c59 xfs_agblock_t agbno, in xchk_allocbt_xref_other()
63 xfs_agblock_t fbno; in xchk_allocbt_xref_other()
101 xfs_agblock_t agbno = irec->ar_startblock; in xchk_allocbt_xref()
180 xfs_agblock_t agbno, in xchk_xref_is_used_space()
H A Dalloc_repair.c121 xfs_agblock_t next_agbno;
124 xfs_agblock_t nr_blocks;
127 xfs_agblock_t longest;
196 xfs_agblock_t end) in xrep_abt_stash()
256 ra->next_agbno = max_t(xfs_agblock_t, ra->next_agbno, in xrep_abt_walk_rmap()
265 xfs_agblock_t agbno, in xrep_abt_walk_agfl()
303 xfs_agblock_t next_agbno = 0; in xrep_bnobt_sort_records()
368 xfs_agblock_t agend; in xrep_abt_find_freespace()
537 xfs_agblock_t free_agbno = resv->agbno + resv->used; in xrep_abt_dispose_one()
H A Drefcount_repair.c171 xfs_agblock_t agbno, in xrep_refc_stash()
201 xfs_agblock_t agbno, in xrep_refc_stash_cow()
334 xfs_agblock_t next_agbno = 0; in xrep_refc_sort_records()
377 xfs_agblock_t bno, in xrep_refc_push_rmaps_at()
414 xfs_agblock_t sbno; in xrep_refc_find_refcounts()
415 xfs_agblock_t cbno; in xrep_refc_find_refcounts()
416 xfs_agblock_t nbno; in xrep_refc_find_refcounts()
H A Dnewbt.h21 xfs_agblock_t agbno;
69 xfs_agblock_t agbno, xfs_extlen_t len);
H A Drmap.c84 xfs_agblock_t fbno; in xchk_rmapbt_xref_refc()
115 xfs_agblock_t agbno = irec->rm_startblock; in xchk_rmapbt_xref()
207 xfs_agblock_t pnext, inext; in xchk_rmapbt_check_overlapping()
378 xfs_agblock_t agbno, in xchk_rmapbt_walk_agfl()
586 xfs_agblock_t bno, in xchk_xref_is_only_owned_by()
611 xfs_agblock_t bno, in xchk_xref_is_not_owned_by()
634 xfs_agblock_t bno, in xchk_xref_has_no_owner()

123