Home
last modified time | relevance | path

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

123

/linux-6.14.4/fs/xfs/libxfs/
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 …]
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,
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 …]
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);
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()
Dxfs_alloc.c53 return size / sizeof(xfs_agblock_t); in xfs_agfl_size()
158 xfs_agblock_t bno, in xfs_alloc_lookup()
180 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_eq()
194 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_ge()
208 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()
290 xfs_agblock_t *bno, /* output: starting block of extent */ in xfs_alloc_get_rec()
320 xfs_agblock_t foundbno, /* starting block in found extent */ in xfs_alloc_compute_aligned()
322 xfs_agblock_t *resbno, /* result block number */ in xfs_alloc_compute_aligned()
326 xfs_agblock_t bno = foundbno; in xfs_alloc_compute_aligned()
[all …]
Dxfs_group.h81 static inline xfs_agblock_t
99 xfs_agblock_t gbno) in xfs_gbno_to_fsb()
107 xfs_agblock_t gbno) in xfs_gbno_to_daddr()
126 static inline xfs_agblock_t
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 */
Dxfs_refcount.c43 xfs_agblock_t agbno, xfs_extlen_t aglen);
45 xfs_agblock_t agbno, xfs_extlen_t aglen);
55 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()
412 static inline xfs_agblock_t
426 xfs_agblock_t agbno, in xfs_refcount_split_extent()
572 xfs_agblock_t *agbno, in xfs_refcount_merge_left_extent()
706 xfs_agblock_t agbno, in xfs_refcount_find_left_extents()
799 xfs_agblock_t agbno, in xfs_refcount_find_right_extents()
[all …]
/linux-6.14.4/fs/xfs/
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,
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()
171 xfs_agblock_t bend = bbno + busyp->length; 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()
[all …]
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_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()
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.14.4/fs/xfs/scrub/
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,
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()
350 xfs_agblock_t next_unshared_agbno;
353 xfs_agblock_t cow_blocks;
365 xfs_agblock_t *next_bno = priv; in xchk_refcountbt_rmap_check_gap()
382 xfs_agblock_t bno) in xchk_refcountbt_xref_gaps()
[all …]
Dreap.c115 xfs_agblock_t agbno) in xreap_put_freelist()
264 xfs_agblock_t agbno, in xreap_agextent_binval()
270 xfs_agblock_t agbno_next = agbno + *aglenp; 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()
336 xfs_agblock_t bno = agbno + 1; in xreap_agextent_select()
390 xfs_agblock_t agbno, in xreap_agextent_iter()
510 xfs_agblock_t agbno_next = agbno + len; in xreap_agmeta_extent()
589 xfs_agblock_t agbno = XFS_FSB_TO_AGBNO(sc->mp, fsbno); in xreap_fsmeta_extent()
[all …]
Dagheader.c41 xfs_agblock_t agbno; in xchk_superblock_xref()
469 xfs_agblock_t agbno; in xchk_agf_xref_cntbt()
503 xfs_agblock_t btreeblks; in xchk_agf_xref_btreeblks()
570 xfs_agblock_t agbno; in xchk_agf_xref()
601 xfs_agblock_t agbno; in xchk_agf()
602 xfs_agblock_t eoag; in xchk_agf()
603 xfs_agblock_t agfl_first; in xchk_agf()
604 xfs_agblock_t agfl_last; in xchk_agf()
605 xfs_agblock_t agfl_count; in xchk_agf()
606 xfs_agblock_t fl_count; in xchk_agf()
[all …]
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()
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()
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()
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()
Dnewbt.h21 xfs_agblock_t agbno;
69 xfs_agblock_t agbno, xfs_extlen_t len);
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