Home
last modified time | relevance | path

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

12

/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; /* ... */
112 xfs_agblock_t *bnop, /* block address retrieved from freelist */
142 xfs_agblock_t bno, /* block being freed */
189 xfs_agblock_t bno, /* starting block of extent */
196 xfs_agblock_t bno, /* starting block of extent */
203 xfs_agblock_t *bno, /* output: starting block of extent */
211 int xfs_free_agfl_block(struct xfs_trans *, xfs_agnumber_t, xfs_agblock_t,
231 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()
165 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_ge()
185 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_le()
212 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_update()
228 xfs_agblock_t *bno, /* output: starting block of extent */ in xfs_alloc_get_rec()
273 xfs_agblock_t foundbno, /* starting block in found extent */ in xfs_alloc_compute_aligned()
275 xfs_agblock_t *resbno, /* result block number */ in xfs_alloc_compute_aligned()
279 xfs_agblock_t bno = foundbno; in xfs_alloc_compute_aligned()
300 xfs_agblock_t aligned_bno = roundup(bno, args->alignment); in xfs_alloc_compute_aligned()
[all …]
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()
331 static inline xfs_agblock_t
344 xfs_agblock_t agbno, in xfs_refcount_split_extent()
483 xfs_agblock_t *agbno, in xfs_refcount_merge_left_extent()
612 xfs_agblock_t agbno, in xfs_refcount_find_left_extents()
[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_types.h11 typedef uint32_t xfs_agblock_t; /* blockno in alloc. group */ typedef
51 #define NULLAGBLOCK ((xfs_agblock_t)-1)
184 xfs_agblock_t xfs_ag_block_count(struct xfs_mount *mp, xfs_agnumber_t agno);
186 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 */
602 #define XFS_HDR_BLOCK(mp,d) ((xfs_agblock_t)XFS_BB_TO_FSBT(mp,d))
842 ((xfs_agblock_t)((fsbno) & xfs_mask32lo((mp)->m_sb.sb_agblklog)))
1202 (((xfs_agblock_t)(i) >> XFS_INO_OFFSET_BITS(mp)) & \
1476 xfs_agblock_t ar_startblock; /* starting block number */
1487 #define XFS_BNO_BLOCK(mp) ((xfs_agblock_t)(XFS_AGFL_BLOCK(mp) + 1))
1488 #define XFS_CNT_BLOCK(mp) ((xfs_agblock_t)(XFS_BNO_BLOCK(mp) + 1))
1569 #define XFS_IBT_BLOCK(mp) ((xfs_agblock_t)(XFS_CNT_BLOCK(mp) + 1))
1570 #define XFS_FIBT_BLOCK(mp) ((xfs_agblock_t)(XFS_IBT_BLOCK(mp) + 1))
[all …]
Dxfs_rmap.c32 xfs_agblock_t bno, in xfs_rmap_lookup_le()
54 xfs_agblock_t bno, in xfs_rmap_lookup_eq()
101 xfs_agblock_t agbno, in xfs_rmap_insert()
143 xfs_agblock_t agbno, in xfs_rmap_delete()
287 xfs_agblock_t bno, in xfs_rmap_find_left_neighbor()
365 xfs_agblock_t bno, in xfs_rmap_lookup_le_range()
481 xfs_agblock_t bno, in xfs_rmap_unmap()
698 xfs_agblock_t bno, in xfs_rmap_free()
753 xfs_agblock_t bno, in xfs_rmap_map()
952 xfs_agblock_t bno, in xfs_rmap_alloc()
[all …]
/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()
270 xfs_agblock_t bno, in xchk_refcountbt_xref_rmap()
317 xfs_agblock_t agbno, in xchk_refcountbt_xref()
336 xfs_agblock_t *cow_blocks = bs->private; in xchk_refcountbt_rec()
338 xfs_agblock_t bno; in xchk_refcountbt_rec()
[all …]
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 …]
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()
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()
543 xfs_agblock_t flcount) in xrep_agfl_update_agf()
569 xfs_agblock_t flcount) in xrep_agfl_init_header()
576 xfs_agblock_t agbno; in xrep_agfl_init_header()
636 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()
219 xfs_agblock_t agbno; in xchk_iallocbt_check_cluster()
624 xfs_agblock_t agbno, in xchk_xref_inode_check()
646 xfs_agblock_t agbno, in xchk_xref_is_not_inode_chunk()
657 xfs_agblock_t agbno, in xchk_xref_is_inode_chunk()
Drepair.c292 xfs_agblock_t bno; in xrep_alloc_ag_block()
494 xfs_agblock_t agbno) in xrep_put_freelist()
535 xfs_agblock_t agbno; in xrep_reap_block()
664 xfs_agblock_t bno, in xrep_findroot_agfl_walk()
667 xfs_agblock_t *agbno = priv; in xrep_findroot_agfl_walk()
678 xfs_agblock_t agbno, in xrep_findroot_block()
836 xfs_agblock_t b; in xrep_findroot_rmap()
/fs/xfs/
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_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_icreate_item.c92 xfs_agblock_t agbno, in xfs_icreate_log()
95 xfs_agblock_t length, in xfs_icreate_log()
151 xfs_agblock_t agbno; in xlog_recover_icreate_commit_pass2()
154 xfs_agblock_t length; in xlog_recover_icreate_commit_pass2()
Dxfs_trace.h1487 xfs_agblock_t agbno, xfs_extlen_t len),
1492 __field(xfs_agblock_t, agbno)
1510 xfs_agblock_t agbno, xfs_extlen_t len), \
1520 xfs_agblock_t agbno, xfs_extlen_t len,
1521 xfs_agblock_t tbno, xfs_extlen_t tlen),
1526 __field(xfs_agblock_t, agbno)
1528 __field(xfs_agblock_t, tbno)
1613 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agblock_t agbno,
1620 __field(xfs_agblock_t, agbno)
1653 __field(xfs_agblock_t, agbno)
[all …]
Dxfs_icreate_item.h18 xfs_agblock_t agbno, unsigned int count,
19 unsigned int inode_size, xfs_agblock_t length,
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