Home
last modified time | relevance | path

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

12

/Linux-v5.4/fs/xfs/libxfs/
Dxfs_alloc.h60 xfs_agblock_t agbno; /* allocation group-relative block # */
69 xfs_agblock_t min_agbno; /* set an agbno range for NEAR allocs */
70 xfs_agblock_t max_agbno; /* ... */
126 xfs_agblock_t *bnop, /* block address retrieved from freelist */
156 xfs_agblock_t bno, /* block being freed */
203 xfs_agblock_t bno, /* starting block of extent */
210 xfs_agblock_t bno, /* starting block of extent */
217 xfs_agblock_t *bno, /* output: starting block of extent */
225 int xfs_free_agfl_block(struct xfs_trans *, xfs_agnumber_t, xfs_agblock_t,
245 int xfs_alloc_has_record(struct xfs_btree_cur *cur, xfs_agblock_t bno,
[all …]
Dxfs_rmap.h116 xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len,
119 xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len,
122 int xfs_rmap_lookup_le(struct xfs_btree_cur *cur, xfs_agblock_t bno,
125 int xfs_rmap_lookup_eq(struct xfs_btree_cur *cur, xfs_agblock_t bno,
128 int xfs_rmap_insert(struct xfs_btree_cur *rcur, xfs_agblock_t agbno,
173 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner);
175 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner);
184 int xfs_rmap_find_left_neighbor(struct xfs_btree_cur *cur, xfs_agblock_t bno,
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,
[all …]
Dxfs_refcount.h10 xfs_agblock_t bno, int *stat);
12 xfs_agblock_t bno, int *stat);
14 xfs_agblock_t bno, int *stat);
45 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
72 xfs_agblock_t bno, xfs_extlen_t len, bool *exists);
Dxfs_alloc.c57 return size / sizeof(xfs_agblock_t); in xfs_agfl_size()
145 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_eq()
161 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_ge()
177 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_le()
194 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_update()
210 xfs_agblock_t *bno, /* output: starting block of extent */ in xfs_alloc_get_rec()
255 xfs_agblock_t foundbno, /* starting block in found extent */ in xfs_alloc_compute_aligned()
257 xfs_agblock_t *resbno, /* result block number */ in xfs_alloc_compute_aligned()
261 xfs_agblock_t bno = foundbno; in xfs_alloc_compute_aligned()
282 xfs_agblock_t aligned_bno = roundup(bno, args->alignment); in xfs_alloc_compute_aligned()
[all …]
Dxfs_types.c16 xfs_agblock_t
36 xfs_agblock_t agbno) in xfs_verify_agbno()
38 xfs_agblock_t eoag; in xfs_verify_agbno()
72 xfs_agblock_t bno; in xfs_agino_range()
73 xfs_agblock_t eoag; in xfs_agino_range()
Dxfs_refcount.c35 xfs_agblock_t agbno, xfs_extlen_t aglen);
37 xfs_agblock_t agbno, xfs_extlen_t aglen);
46 xfs_agblock_t bno, in xfs_refcount_lookup_le()
63 xfs_agblock_t bno, in xfs_refcount_lookup_ge()
80 xfs_agblock_t bno, in xfs_refcount_lookup_eq()
114 xfs_agblock_t realstart; in xfs_refcount_get_rec()
322 static inline xfs_agblock_t
335 xfs_agblock_t agbno, in xfs_refcount_split_extent()
457 xfs_agblock_t *agbno, in xfs_refcount_merge_left_extent()
572 xfs_agblock_t agbno, in xfs_refcount_find_left_extents()
[all …]
Dxfs_types.h11 typedef uint32_t xfs_agblock_t; /* blockno in alloc. group */ typedef
52 #define NULLAGBLOCK ((xfs_agblock_t)-1)
185 xfs_agblock_t xfs_ag_block_count(struct xfs_mount *mp, xfs_agnumber_t agno);
187 xfs_agblock_t agbno);
Dxfs_ialloc.h134 xfs_agnumber_t agno, xfs_agblock_t agbno,
135 xfs_agblock_t length, unsigned int gen);
144 xfs_agblock_t bno, xfs_extlen_t len, bool *exists);
Dxfs_format.h107 xfs_agblock_t sb_rextsize; /* realtime extent size, blocks */
108 xfs_agblock_t sb_agblocks; /* size of an allocation group */
565 #define XFS_HDR_BLOCK(mp,d) ((xfs_agblock_t)XFS_BB_TO_FSBT(mp,d))
809 ((xfs_agblock_t)((fsbno) & xfs_mask32lo((mp)->m_sb.sb_agblklog)))
1083 (((xfs_agblock_t)(i) >> XFS_INO_OFFSET_BITS(mp)) & \
1246 xfs_agblock_t ar_startblock; /* starting block number */
1257 #define XFS_BNO_BLOCK(mp) ((xfs_agblock_t)(XFS_AGFL_BLOCK(mp) + 1))
1258 #define XFS_CNT_BLOCK(mp) ((xfs_agblock_t)(XFS_BNO_BLOCK(mp) + 1))
1339 #define XFS_IBT_BLOCK(mp) ((xfs_agblock_t)(XFS_CNT_BLOCK(mp) + 1))
1340 #define XFS_FIBT_BLOCK(mp) ((xfs_agblock_t)(XFS_IBT_BLOCK(mp) + 1))
[all …]
Dxfs_btree.h276 xfs_agblock_t agbno, /* btree block disk address */
315 xfs_agblock_t agbno); /* allocation group block number */
369 xfs_agblock_t agbno, /* allocation group block number */
449 #define XFS_AGBLOCK_MIN(a,b) min_t(xfs_agblock_t, (a), (b))
450 #define XFS_AGBLOCK_MAX(a,b) max_t(xfs_agblock_t, (a), (b))
/Linux-v5.4/fs/xfs/scrub/
Dscrub.h133 void xchk_xref_is_used_space(struct xfs_scrub *sc, xfs_agblock_t agbno,
135 void xchk_xref_is_not_inode_chunk(struct xfs_scrub *sc, xfs_agblock_t agbno,
137 void xchk_xref_is_inode_chunk(struct xfs_scrub *sc, xfs_agblock_t agbno,
139 void xchk_xref_is_owned_by(struct xfs_scrub *sc, xfs_agblock_t agbno,
141 void xchk_xref_is_not_owned_by(struct xfs_scrub *sc, xfs_agblock_t agbno,
143 void xchk_xref_has_no_owner(struct xfs_scrub *sc, xfs_agblock_t agbno,
145 void xchk_xref_is_cow_staging(struct xfs_scrub *sc, xfs_agblock_t bno,
147 void xchk_xref_is_not_shared(struct xfs_scrub *sc, xfs_agblock_t bno,
Dtrace.h130 xfs_agblock_t bno, int error, void *ret_ip),
136 __field(xfs_agblock_t, bno)
196 __field(xfs_agblock_t, bno)
202 xfs_agblock_t bno;
331 __field(xfs_agblock_t, bno)
374 __field(xfs_agblock_t, bno)
416 __field(xfs_agblock_t, bno)
454 __field(xfs_agblock_t, bno)
493 __field(xfs_agblock_t, bno)
659 xfs_agblock_t agbno, xfs_extlen_t len),
[all …]
Drefcount.c76 xfs_agblock_t bno;
99 xfs_agblock_t rm_last; in xchk_refcountbt_rmap_check()
100 xfs_agblock_t rc_last; in xchk_refcountbt_rmap_check()
153 xfs_agblock_t bno; in xchk_refcountbt_process_rmap_fragments()
154 xfs_agblock_t rbno; in xchk_refcountbt_process_rmap_fragments()
155 xfs_agblock_t next_rbno; in xchk_refcountbt_process_rmap_fragments()
272 xfs_agblock_t bno, in xchk_refcountbt_xref_rmap()
319 xfs_agblock_t agbno, in xchk_refcountbt_xref()
338 xfs_agblock_t *cow_blocks = bs->private; in xchk_refcountbt_rec()
340 xfs_agblock_t bno; in xchk_refcountbt_rec()
[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()
98 xfs_agblock_t bno; in xchk_allocbt_rec()
144 xfs_agblock_t agbno, in xchk_xref_is_used_space()
Dagheader.c30 xfs_agblock_t agbno; in xchk_superblock_xref()
382 xfs_agblock_t agbno; in xchk_agf_xref_cntbt()
415 xfs_agblock_t blocks; in xchk_agf_xref_btreeblks()
416 xfs_agblock_t btreeblks; in xchk_agf_xref_btreeblks()
460 xfs_agblock_t blocks; in xchk_agf_xref_refcblks()
479 xfs_agblock_t agbno; in xchk_agf_xref()
512 xfs_agblock_t agbno; in xchk_agf()
513 xfs_agblock_t eoag; in xchk_agf()
514 xfs_agblock_t agfl_first; in xchk_agf()
515 xfs_agblock_t agfl_last; in xchk_agf()
[all …]
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.c64 xfs_agblock_t freeblks;
65 xfs_agblock_t longest;
91 xfs_agblock_t agbno, in xrep_agf_check_agfl_block()
243 xfs_agblock_t btreeblks; in xrep_agf_calc_from_btrees()
244 xfs_agblock_t blocks; in xrep_agf_calc_from_btrees()
480 xfs_agblock_t *flcount) in xrep_agfl_collect_blocks()
551 xfs_agblock_t flcount) in xrep_agfl_update_agf()
577 xfs_agblock_t flcount) in xrep_agfl_init_header()
584 xfs_agblock_t agbno; in xrep_agfl_init_header()
644 xfs_agblock_t flcount; in xrep_agfl()
Dialloc.c86 xfs_agblock_t agbno, in xchk_iallocbt_chunk_xref()
108 xfs_agblock_t bno; in xchk_iallocbt_chunk()
219 xfs_agblock_t agbno; in xchk_iallocbt_check_cluster()
625 xfs_agblock_t agbno, in xchk_xref_inode_check()
647 xfs_agblock_t agbno, in xchk_xref_is_not_inode_chunk()
658 xfs_agblock_t agbno, in xchk_xref_is_inode_chunk()
Drepair.c290 xfs_agblock_t bno; in xrep_alloc_ag_block()
488 xfs_agblock_t agbno) in xrep_put_freelist()
529 xfs_agblock_t agbno; in xrep_reap_block()
662 xfs_agblock_t bno, in xrep_findroot_agfl_walk()
665 xfs_agblock_t *agbno = priv; in xrep_findroot_agfl_walk()
676 xfs_agblock_t agbno, in xrep_findroot_block()
834 xfs_agblock_t b; in xrep_findroot_rmap()
/Linux-v5.4/fs/xfs/
Dxfs_extent_busy.h26 xfs_agblock_t bno;
35 xfs_agblock_t bno, xfs_extlen_t len, unsigned int flags);
43 xfs_agblock_t bno, xfs_extlen_t len);
47 xfs_agblock_t fbno, xfs_extlen_t flen, bool userdata);
50 xfs_extent_busy_trim(struct xfs_alloc_arg *args, xfs_agblock_t *bno,
Dxfs_extent_busy.c26 xfs_agblock_t bno, in xfs_extent_busy_insert()
85 xfs_agblock_t bno, in xfs_extent_busy_search()
138 xfs_agblock_t fbno, in xfs_extent_busy_update_extent()
143 xfs_agblock_t fend = fbno + flen; in xfs_extent_busy_update_extent()
144 xfs_agblock_t bbno = busyp->bno; in xfs_extent_busy_update_extent()
145 xfs_agblock_t bend = bbno + busyp->length; in xfs_extent_busy_update_extent()
285 xfs_agblock_t fbno, in xfs_extent_busy_reuse()
301 xfs_agblock_t bbno = busyp->bno; in xfs_extent_busy_reuse()
302 xfs_agblock_t bend = bbno + busyp->length; in xfs_extent_busy_reuse()
335 xfs_agblock_t *bno, in xfs_extent_busy_trim()
[all …]
Dxfs_icreate_item.h18 xfs_agblock_t agbno, unsigned int count,
19 unsigned int inode_size, xfs_agblock_t length,
Dxfs_icreate_item.c84 xfs_agblock_t agbno, in xfs_icreate_log()
87 xfs_agblock_t length, in xfs_icreate_log()
Dxfs_trace.h1406 xfs_agblock_t agbno, xfs_extlen_t len),
1411 __field(xfs_agblock_t, agbno)
1429 xfs_agblock_t agbno, xfs_extlen_t len), \
1439 xfs_agblock_t agbno, xfs_extlen_t len,
1440 xfs_agblock_t tbno, xfs_extlen_t tlen),
1445 __field(xfs_agblock_t, agbno)
1447 __field(xfs_agblock_t, tbno)
1532 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agblock_t agbno,
1539 __field(xfs_agblock_t, agbno)
1572 __field(xfs_agblock_t, agbno)
[all …]
Dxfs_reflink.h21 xfs_agnumber_t agno, xfs_agblock_t agbno, xfs_extlen_t aglen,
22 xfs_agblock_t *fbno, xfs_extlen_t *flen, bool find_maximal);

12