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; /* ... */
115 xfs_agblock_t *bnop, /* block address retrieved from freelist */
145 xfs_agblock_t bno, /* block being freed */
192 xfs_agblock_t bno, /* starting block of extent */
199 xfs_agblock_t bno, /* starting block of extent */
206 xfs_agblock_t *bno, /* output: starting block of extent */
214 int xfs_free_agfl_block(struct xfs_trans *, xfs_agnumber_t, xfs_agblock_t,
234 int xfs_alloc_has_record(struct xfs_btree_cur *cur, xfs_agblock_t bno,
[all …]
Dxfs_rmap.h118 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len,
121 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len,
124 int xfs_rmap_lookup_le(struct xfs_btree_cur *cur, xfs_agblock_t bno,
127 int xfs_rmap_lookup_eq(struct xfs_btree_cur *cur, xfs_agblock_t bno,
130 int xfs_rmap_insert(struct xfs_btree_cur *rcur, xfs_agblock_t agbno,
176 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner);
178 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner);
187 int xfs_rmap_find_left_neighbor(struct xfs_btree_cur *cur, xfs_agblock_t bno,
190 int xfs_rmap_lookup_le_range(struct xfs_btree_cur *cur, xfs_agblock_t bno,
198 int xfs_rmap_has_record(struct xfs_btree_cur *cur, xfs_agblock_t bno,
[all …]
Dxfs_refcount.h17 xfs_agblock_t bno, int *stat);
19 xfs_agblock_t bno, int *stat);
21 xfs_agblock_t bno, int *stat);
52 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
79 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.c36 xfs_agblock_t agbno, xfs_extlen_t aglen);
38 xfs_agblock_t agbno, xfs_extlen_t aglen);
47 xfs_agblock_t bno, in xfs_refcount_lookup_le()
64 xfs_agblock_t bno, in xfs_refcount_lookup_ge()
81 xfs_agblock_t bno, in xfs_refcount_lookup_eq()
115 xfs_agblock_t realstart; in xfs_refcount_get_rec()
332 static inline xfs_agblock_t
345 xfs_agblock_t agbno, in xfs_refcount_split_extent()
484 xfs_agblock_t *agbno, in xfs_refcount_merge_left_extent()
613 xfs_agblock_t agbno, in xfs_refcount_find_left_extents()
[all …]
Dxfs_ialloc.h102 xfs_agnumber_t agno, xfs_agblock_t agbno,
103 xfs_agblock_t length, unsigned int gen);
113 xfs_agblock_t bno, xfs_extlen_t len, bool *exists);
127 struct xfs_buf *agibp, xfs_agblock_t new_length);
Dxfs_types.c17 inline xfs_agblock_t
37 xfs_agblock_t agbno) in xfs_verify_agbno()
39 xfs_agblock_t eoag; in xfs_verify_agbno()
96 xfs_agblock_t bno; in xfs_agino_range()
97 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)
189 xfs_agblock_t xfs_ag_block_count(struct xfs_mount *mp, xfs_agnumber_t agno);
191 xfs_agblock_t agbno);
Dxfs_format.h107 xfs_agblock_t sb_rextsize; /* realtime extent size, blocks */
108 xfs_agblock_t sb_agblocks; /* size of an allocation group */
428 #define XFS_HDR_BLOCK(mp,d) ((xfs_agblock_t)XFS_BB_TO_FSBT(mp,d))
667 ((xfs_agblock_t)((fsbno) & xfs_mask32lo((mp)->m_sb.sb_agblklog)))
1026 (((xfs_agblock_t)(i) >> XFS_INO_OFFSET_BITS(mp)) & \
1300 xfs_agblock_t ar_startblock; /* starting block number */
1311 #define XFS_BNO_BLOCK(mp) ((xfs_agblock_t)(XFS_AGFL_BLOCK(mp) + 1))
1312 #define XFS_CNT_BLOCK(mp) ((xfs_agblock_t)(XFS_BNO_BLOCK(mp) + 1))
1393 #define XFS_IBT_BLOCK(mp) ((xfs_agblock_t)(XFS_CNT_BLOCK(mp) + 1))
1394 #define XFS_FIBT_BLOCK(mp) ((xfs_agblock_t)(XFS_IBT_BLOCK(mp) + 1))
[all …]
Dxfs_rmap.c34 xfs_agblock_t bno, in xfs_rmap_lookup_le()
56 xfs_agblock_t bno, in xfs_rmap_lookup_eq()
103 xfs_agblock_t agbno, in xfs_rmap_insert()
145 xfs_agblock_t agbno, in xfs_rmap_delete()
289 xfs_agblock_t bno, in xfs_rmap_find_left_neighbor()
367 xfs_agblock_t bno, in xfs_rmap_lookup_le_range()
483 xfs_agblock_t bno, in xfs_rmap_unmap()
700 xfs_agblock_t bno, in xfs_rmap_free()
755 xfs_agblock_t bno, in xfs_rmap_map()
954 xfs_agblock_t bno, in xfs_rmap_alloc()
[all …]
/fs/xfs/
Dxfs_extent_busy.c26 xfs_agblock_t bno, in xfs_extent_busy_insert()
82 xfs_agblock_t bno, in xfs_extent_busy_search()
130 xfs_agblock_t fbno, in xfs_extent_busy_update_extent()
135 xfs_agblock_t fend = fbno + flen; in xfs_extent_busy_update_extent()
136 xfs_agblock_t bbno = busyp->bno; in xfs_extent_busy_update_extent()
137 xfs_agblock_t bend = bbno + busyp->length; in xfs_extent_busy_update_extent()
277 xfs_agblock_t fbno, in xfs_extent_busy_reuse()
290 xfs_agblock_t bbno = busyp->bno; in xfs_extent_busy_reuse()
291 xfs_agblock_t bend = bbno + busyp->length; in xfs_extent_busy_reuse()
323 xfs_agblock_t *bno, in xfs_extent_busy_trim()
[all …]
Dxfs_extent_busy.h27 xfs_agblock_t bno;
36 xfs_agblock_t bno, xfs_extlen_t len, unsigned int flags);
44 xfs_agblock_t bno, xfs_extlen_t len);
48 xfs_agblock_t fbno, xfs_extlen_t flen, bool userdata);
51 xfs_extent_busy_trim(struct xfs_alloc_arg *args, xfs_agblock_t *bno,
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_trace.h1629 xfs_agblock_t agbno, xfs_extlen_t len),
1634 __field(xfs_agblock_t, agbno)
1652 xfs_agblock_t agbno, xfs_extlen_t len), \
1662 xfs_agblock_t agbno, xfs_extlen_t len,
1663 xfs_agblock_t tbno, xfs_extlen_t tlen),
1668 __field(xfs_agblock_t, agbno)
1670 __field(xfs_agblock_t, tbno)
1755 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agblock_t agbno,
1762 __field(xfs_agblock_t, agbno)
1795 __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.h20 xfs_agnumber_t agno, xfs_agblock_t agbno, xfs_extlen_t aglen,
21 xfs_agblock_t *fbno, xfs_extlen_t *flen, bool find_maximal);
/fs/xfs/scrub/
Dscrub.h141 void xchk_xref_is_used_space(struct xfs_scrub *sc, xfs_agblock_t agbno,
143 void xchk_xref_is_not_inode_chunk(struct xfs_scrub *sc, xfs_agblock_t agbno,
145 void xchk_xref_is_inode_chunk(struct xfs_scrub *sc, xfs_agblock_t agbno,
147 void xchk_xref_is_owned_by(struct xfs_scrub *sc, xfs_agblock_t agbno,
149 void xchk_xref_is_not_owned_by(struct xfs_scrub *sc, xfs_agblock_t agbno,
151 void xchk_xref_has_no_owner(struct xfs_scrub *sc, xfs_agblock_t agbno,
153 void xchk_xref_is_cow_staging(struct xfs_scrub *sc, xfs_agblock_t bno,
155 void xchk_xref_is_not_shared(struct xfs_scrub *sc, xfs_agblock_t bno,
Dtrace.h144 xfs_agblock_t bno, int error, void *ret_ip),
150 __field(xfs_agblock_t, bno)
210 __field(xfs_agblock_t, agbno)
337 __field(xfs_agblock_t, bno)
380 __field(xfs_agblock_t, bno)
422 __field(xfs_agblock_t, bno)
460 __field(xfs_agblock_t, bno)
499 __field(xfs_agblock_t, bno)
665 xfs_agblock_t agbno, xfs_extlen_t len),
670 __field(xfs_agblock_t, agbno)
[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.c31 xfs_agblock_t agbno; in xchk_superblock_xref()
395 xfs_agblock_t agbno; in xchk_agf_xref_cntbt()
428 xfs_agblock_t blocks; in xchk_agf_xref_btreeblks()
429 xfs_agblock_t btreeblks; in xchk_agf_xref_btreeblks()
477 xfs_agblock_t blocks; in xchk_agf_xref_refcblks()
496 xfs_agblock_t agbno; in xchk_agf_xref()
526 xfs_agblock_t agbno; in xchk_agf()
527 xfs_agblock_t eoag; in xchk_agf()
528 xfs_agblock_t agfl_first; in xchk_agf()
529 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.c65 xfs_agblock_t freeblks;
66 xfs_agblock_t longest;
92 xfs_agblock_t agbno, in xrep_agf_check_agfl_block()
245 xfs_agblock_t btreeblks; in xrep_agf_calc_from_btrees()
246 xfs_agblock_t blocks; in xrep_agf_calc_from_btrees()
482 xfs_agblock_t *flcount) in xrep_agfl_collect_blocks()
545 xfs_agblock_t flcount) in xrep_agfl_update_agf()
571 xfs_agblock_t flcount) in xrep_agfl_init_header()
578 xfs_agblock_t agbno; in xrep_agfl_init_header()
639 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()
218 xfs_agblock_t agbno; in xchk_iallocbt_check_cluster()
623 xfs_agblock_t agbno, in xchk_xref_inode_check()
645 xfs_agblock_t agbno, in xchk_xref_is_not_inode_chunk()
656 xfs_agblock_t agbno, in xchk_xref_is_inode_chunk()
Drepair.c296 xfs_agblock_t bno; in xrep_alloc_ag_block()
498 xfs_agblock_t agbno) in xrep_put_freelist()
539 xfs_agblock_t agbno; in xrep_reap_block()
669 xfs_agblock_t bno, in xrep_findroot_agfl_walk()
672 xfs_agblock_t *agbno = priv; in xrep_findroot_agfl_walk()
683 xfs_agblock_t agbno, in xrep_findroot_block()
841 xfs_agblock_t b; in xrep_findroot_rmap()

12