Home
last modified time | relevance | path

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

12

/linux-4.19.296/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.h139 xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len,
142 xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len,
145 int xfs_rmap_lookup_le(struct xfs_btree_cur *cur, xfs_agblock_t bno,
148 int xfs_rmap_lookup_eq(struct xfs_btree_cur *cur, xfs_agblock_t bno,
151 int xfs_rmap_insert(struct xfs_btree_cur *rcur, xfs_agblock_t agbno,
196 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner);
198 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner);
207 int xfs_rmap_find_left_neighbor(struct xfs_btree_cur *cur, xfs_agblock_t bno,
210 int xfs_rmap_lookup_le_range(struct xfs_btree_cur *cur, xfs_agblock_t bno,
218 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_types.c25 xfs_agblock_t
45 xfs_agblock_t agbno) in xfs_verify_agbno()
47 xfs_agblock_t eoag; in xfs_verify_agbno()
81 xfs_agblock_t bno; in xfs_agino_range()
82 xfs_agblock_t eoag; in xfs_agino_range()
Dxfs_alloc.c45 xfs_btree_cur_t *, xfs_agblock_t *, xfs_extlen_t *, int *);
61 return size / sizeof(xfs_agblock_t); in xfs_agfl_size()
149 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_eq()
165 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_ge()
181 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_le()
198 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_update()
214 xfs_agblock_t *bno, /* output: starting block of extent */ in xfs_alloc_get_rec()
259 xfs_agblock_t foundbno, /* starting block in found extent */ in xfs_alloc_compute_aligned()
261 xfs_agblock_t *resbno, /* result block number */ in xfs_alloc_compute_aligned()
265 xfs_agblock_t bno = foundbno; in xfs_alloc_compute_aligned()
[all …]
Dxfs_types.h11 typedef uint32_t xfs_agblock_t; /* blockno in alloc. group */ typedef
52 #define NULLAGBLOCK ((xfs_agblock_t)-1)
155 xfs_agblock_t xfs_ag_block_count(struct xfs_mount *mp, xfs_agnumber_t agno);
157 xfs_agblock_t agbno);
Dxfs_refcount.c37 xfs_agblock_t agbno, xfs_extlen_t aglen);
39 xfs_agblock_t agbno, xfs_extlen_t aglen);
48 xfs_agblock_t bno, in xfs_refcount_lookup_le()
65 xfs_agblock_t bno, in xfs_refcount_lookup_ge()
82 xfs_agblock_t bno, in xfs_refcount_lookup_eq()
116 xfs_agblock_t realstart; in xfs_refcount_get_rec()
324 static inline xfs_agblock_t
337 xfs_agblock_t agbno, in xfs_refcount_split_extent()
459 xfs_agblock_t *agbno, in xfs_refcount_merge_left_extent()
574 xfs_agblock_t agbno, in xfs_refcount_find_left_extents()
[all …]
Dxfs_ialloc.h151 xfs_agnumber_t agno, xfs_agblock_t agbno,
152 xfs_agblock_t length, unsigned int gen);
161 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 */
569 #define XFS_HDR_BLOCK(mp,d) ((xfs_agblock_t)XFS_BB_TO_FSBT(mp,d))
813 ((xfs_agblock_t)((fsbno) & xfs_mask32lo((mp)->m_sb.sb_agblklog)))
1077 (((xfs_agblock_t)(i) >> XFS_INO_OFFSET_BITS(mp)) & \
1238 xfs_agblock_t ar_startblock; /* starting block number */
1249 #define XFS_BNO_BLOCK(mp) ((xfs_agblock_t)(XFS_AGFL_BLOCK(mp) + 1))
1250 #define XFS_CNT_BLOCK(mp) ((xfs_agblock_t)(XFS_BNO_BLOCK(mp) + 1))
1331 #define XFS_IBT_BLOCK(mp) ((xfs_agblock_t)(XFS_CNT_BLOCK(mp) + 1))
1332 #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 */
316 xfs_agblock_t agbno, /* allocation group block number */
372 xfs_agblock_t agbno, /* allocation group block number */
453 #define XFS_AGBLOCK_MIN(a,b) min_t(xfs_agblock_t, (a), (b))
454 #define XFS_AGBLOCK_MAX(a,b) max_t(xfs_agblock_t, (a), (b))
/linux-4.19.296/fs/xfs/scrub/
Dscrub.h118 void xchk_xref_is_used_space(struct xfs_scrub *sc, xfs_agblock_t agbno,
120 void xchk_xref_is_not_inode_chunk(struct xfs_scrub *sc, xfs_agblock_t agbno,
122 void xchk_xref_is_inode_chunk(struct xfs_scrub *sc, xfs_agblock_t agbno,
124 void xchk_xref_is_owned_by(struct xfs_scrub *sc, xfs_agblock_t agbno,
126 void xchk_xref_is_not_owned_by(struct xfs_scrub *sc, xfs_agblock_t agbno,
128 void xchk_xref_has_no_owner(struct xfs_scrub *sc, xfs_agblock_t agbno,
130 void xchk_xref_is_cow_staging(struct xfs_scrub *sc, xfs_agblock_t bno,
132 void xchk_xref_is_not_shared(struct xfs_scrub *sc, xfs_agblock_t bno,
Dtrace.h63 xfs_agblock_t bno, int error, void *ret_ip),
69 __field(xfs_agblock_t, bno)
129 __field(xfs_agblock_t, bno)
135 xfs_agblock_t bno;
263 __field(xfs_agblock_t, bno)
306 __field(xfs_agblock_t, bno)
348 __field(xfs_agblock_t, bno)
386 __field(xfs_agblock_t, bno)
425 __field(xfs_agblock_t, bno)
488 xfs_agblock_t agbno, xfs_extlen_t len),
[all …]
Drefcount.c86 xfs_agblock_t bno;
109 xfs_agblock_t rm_last; in xchk_refcountbt_rmap_check()
110 xfs_agblock_t rc_last; in xchk_refcountbt_rmap_check()
163 xfs_agblock_t bno; in xchk_refcountbt_process_rmap_fragments()
164 xfs_agblock_t rbno; in xchk_refcountbt_process_rmap_fragments()
165 xfs_agblock_t next_rbno; in xchk_refcountbt_process_rmap_fragments()
280 xfs_agblock_t bno, in xchk_refcountbt_xref_rmap()
327 xfs_agblock_t agbno, in xchk_refcountbt_xref()
346 xfs_agblock_t *cow_blocks = bs->private; in xchk_refcountbt_rec()
348 xfs_agblock_t bno; in xchk_refcountbt_rec()
[all …]
Dalloc.c45 xfs_agblock_t agbno, in xchk_allocbt_xref_other()
49 xfs_agblock_t fbno; in xchk_allocbt_xref_other()
85 xfs_agblock_t agbno, in xchk_allocbt_xref()
105 xfs_agblock_t bno; in xchk_allocbt_rec()
154 xfs_agblock_t agbno, in xchk_xref_is_used_space()
Dagheader.c38 xfs_agblock_t agbno; in xchk_superblock_xref()
391 xfs_agblock_t agbno; in xchk_agf_xref_cntbt()
424 xfs_agblock_t blocks; in xchk_agf_xref_btreeblks()
425 xfs_agblock_t btreeblks; in xchk_agf_xref_btreeblks()
469 xfs_agblock_t blocks; in xchk_agf_xref_refcblks()
489 xfs_agblock_t agbno; in xchk_agf_xref()
522 xfs_agblock_t agbno; in xchk_agf()
523 xfs_agblock_t eoag; in xchk_agf()
524 xfs_agblock_t agfl_first; in xchk_agf()
525 xfs_agblock_t agfl_last; in xchk_agf()
[all …]
Drmap.c47 xfs_agblock_t fbno; in xchk_rmapbt_xref_refc()
78 xfs_agblock_t agbno = irec->rm_startblock; in xchk_rmapbt_xref()
188 xfs_agblock_t bno, in xchk_xref_check_owner()
211 xfs_agblock_t bno, in xchk_xref_is_owned_by()
222 xfs_agblock_t bno, in xchk_xref_is_not_owned_by()
233 xfs_agblock_t bno, in xchk_xref_has_no_owner()
Dialloc.c82 xfs_agblock_t agbno, in xchk_iallocbt_chunk_xref()
107 xfs_agblock_t bno; in xchk_iallocbt_chunk()
199 xfs_agblock_t agbno; in xchk_iallocbt_check_freemask()
280 xfs_agblock_t agbno; in xchk_iallocbt_rec()
478 xfs_agblock_t agbno, in xchk_xref_inode_check()
500 xfs_agblock_t agbno, in xchk_xref_is_not_inode_chunk()
511 xfs_agblock_t agbno, in xchk_xref_is_inode_chunk()
Dagheader_repair.c69 xfs_agblock_t freeblks;
70 xfs_agblock_t longest;
96 xfs_agblock_t agbno, in xrep_agf_check_agfl_block()
248 xfs_agblock_t btreeblks; in xrep_agf_calc_from_btrees()
249 xfs_agblock_t blocks; in xrep_agf_calc_from_btrees()
489 xfs_agblock_t *flcount) in xrep_agfl_collect_blocks()
560 xfs_agblock_t flcount) in xrep_agfl_update_agf()
586 xfs_agblock_t flcount) in xrep_agfl_init_header()
593 xfs_agblock_t agbno; in xrep_agfl_init_header()
654 xfs_agblock_t flcount; in xrep_agfl()
Drepair.c306 xfs_agblock_t bno; in xrep_alloc_ag_block()
504 xfs_agblock_t agbno) in xrep_put_freelist()
547 xfs_agblock_t agbno; in xrep_reap_block()
680 xfs_agblock_t bno, in xrep_findroot_agfl_walk()
683 xfs_agblock_t *agbno = priv; in xrep_findroot_agfl_walk()
694 xfs_agblock_t agbno, in xrep_findroot_block()
770 xfs_agblock_t b; in xrep_findroot_rmap()
/linux-4.19.296/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_reflink.h10 xfs_agnumber_t agno, xfs_agblock_t agbno, xfs_extlen_t aglen,
11 xfs_agblock_t *fbno, xfs_extlen_t *flen, bool find_maximal);
Dxfs_trace.h1388 xfs_agblock_t agbno, xfs_extlen_t len),
1393 __field(xfs_agblock_t, agbno)
1411 xfs_agblock_t agbno, xfs_extlen_t len), \
1421 xfs_agblock_t agbno, xfs_extlen_t len,
1422 xfs_agblock_t tbno, xfs_extlen_t tlen),
1427 __field(xfs_agblock_t, agbno)
1429 __field(xfs_agblock_t, tbno)
1514 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agblock_t agbno,
1521 __field(xfs_agblock_t, agbno)
1554 __field(xfs_agblock_t, agbno)
[all …]
Dxfs_icreate_item.c151 xfs_agblock_t agbno, in xfs_icreate_log()
154 xfs_agblock_t length, in xfs_icreate_log()

12