Home
last modified time | relevance | path

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

123

/openbmc/linux/fs/xfs/libxfs/
H A 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; /* ... */
79 struct xfs_buf *agfbp, xfs_agblock_t *bnop, int btreeblk);
82 xfs_agblock_t bno, int btreeblk);
146 xfs_agblock_t agbno,
156 xfs_agblock_t agbno, in xfs_free_extent()
167 xfs_agblock_t bno, /* starting block of extent */
174 xfs_agblock_t bno, /* starting block of extent */
181 xfs_agblock_t *bno, /* output: starting block of extent */
[all …]
H A Dxfs_refcount.h17 enum xfs_refc_domain domain, xfs_agblock_t bno, int *stat);
19 enum xfs_refc_domain domain, xfs_agblock_t bno, int *stat);
21 enum xfs_refc_domain domain, xfs_agblock_t bno, int *stat);
27 xfs_agblock_t startblock, in xfs_refcount_encode_startblock()
85 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
115 enum xfs_refc_domain domain, xfs_agblock_t bno,
H A Dxfs_rmap.h119 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len,
122 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len,
125 int xfs_rmap_lookup_le(struct xfs_btree_cur *cur, xfs_agblock_t bno,
128 int xfs_rmap_lookup_eq(struct xfs_btree_cur *cur, xfs_agblock_t bno,
131 int xfs_rmap_insert(struct xfs_btree_cur *rcur, xfs_agblock_t agbno,
181 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner);
183 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner);
190 int xfs_rmap_lookup_le_range(struct xfs_btree_cur *cur, xfs_agblock_t bno,
201 int xfs_rmap_has_records(struct xfs_btree_cur *cur, xfs_agblock_t bno,
215 int xfs_rmap_count_owners(struct xfs_btree_cur *cur, xfs_agblock_t bno,
[all …]
H A Dxfs_ag.h69 xfs_agblock_t block_count;
70 xfs_agblock_t min_block;
159 xfs_agblock_t xfs_ag_block_count(struct xfs_mount *mp, xfs_agnumber_t agno);
164 xfs_verify_agbno(struct xfs_perag *pag, xfs_agblock_t agbno) in xfs_verify_agbno()
176 xfs_agblock_t agbno, in xfs_verify_agbext()
177 xfs_agblock_t len) in xfs_verify_agbext()
316 xfs_agblock_t agno; /* ag to init */
H A Dxfs_ialloc.h88 xfs_agnumber_t agno, xfs_agblock_t agbno,
89 xfs_agblock_t length, unsigned int gen);
99 xfs_agblock_t bno, xfs_extlen_t len,
112 struct xfs_buf *agibp, xfs_agblock_t new_length);
H A Dxfs_alloc.c1009 xfs_agblock_t bno; in xfs_alloc_cntbt_iter()
1477 xfs_agblock_t *bno, in xfs_alloc_ag_vextent_lastblock()
1545 xfs_agblock_t bno; in xfs_alloc_ag_vextent_near()
1897 xfs_agblock_t bno, in xfs_free_ag_extent()
2059 xfs_agblock_t xxbno; in xfs_free_ag_extent()
2370 xfs_agblock_t agbno, in xfs_free_agfl_block()
2596 xfs_agblock_t fbno; in xfs_exact_minlen_extent_available()
2824 xfs_agblock_t *bnop, in xfs_alloc_get_freelist()
2829 xfs_agblock_t bno; in xfs_alloc_get_freelist()
2931 xfs_agblock_t bno, in xfs_alloc_put_freelist()
[all …]
H A Dxfs_types.h11 typedef uint32_t xfs_agblock_t; /* blockno in alloc. group */ typedef
52 #define NULLAGBLOCK ((xfs_agblock_t)-1)
180 xfs_agblock_t rc_startblock; /* starting block number */
193 xfs_agblock_t rm_startblock; /* extent start block */
H A Dxfs_refcount.c50 xfs_agblock_t bno, in xfs_refcount_lookup_le()
70 xfs_agblock_t bno, in xfs_refcount_lookup_ge()
90 xfs_agblock_t bno, in xfs_refcount_lookup_eq()
385 xfs_agblock_t agbno, in xfs_refcount_split_extent()
661 xfs_agblock_t agbno, in xfs_refcount_find_left_extents()
754 xfs_agblock_t agbno, in xfs_refcount_find_right_extents()
1360 xfs_agblock_t bno; in xfs_refcount_finish_one()
1666 xfs_agblock_t agbno, in xfs_refcount_adjust_cow_extents()
1766 xfs_agblock_t agbno, in xfs_refcount_adjust_cow()
1813 xfs_agblock_t agbno, in __xfs_refcount_cow_alloc()
[all …]
H A Dxfs_types.c25 xfs_agblock_t agbno) in xfs_verify_agno_agbno()
27 xfs_agblock_t eoag; in xfs_verify_agno_agbno()
H A Dxfs_format.h107 xfs_agblock_t sb_rextsize; /* realtime extent size, blocks */
108 xfs_agblock_t sb_agblocks; /* size of an allocation group */
437 #define XFS_HDR_BLOCK(mp,d) ((xfs_agblock_t)XFS_BB_TO_FSBT(mp,d))
676 ((xfs_agblock_t)((fsbno) & xfs_mask32lo((mp)->m_sb.sb_agblklog)))
1115 (((xfs_agblock_t)(i) >> XFS_INO_OFFSET_BITS(mp)) & \
1389 xfs_agblock_t ar_startblock; /* starting block number */
1400 #define XFS_BNO_BLOCK(mp) ((xfs_agblock_t)(XFS_AGFL_BLOCK(mp) + 1))
1401 #define XFS_CNT_BLOCK(mp) ((xfs_agblock_t)(XFS_BNO_BLOCK(mp) + 1))
1482 #define XFS_IBT_BLOCK(mp) ((xfs_agblock_t)(XFS_CNT_BLOCK(mp) + 1))
1483 #define XFS_FIBT_BLOCK(mp) ((xfs_agblock_t)(XFS_IBT_BLOCK(mp) + 1))
/openbmc/linux/fs/xfs/scrub/
H A Dscrub.h173 void xchk_xref_is_used_space(struct xfs_scrub *sc, xfs_agblock_t agbno,
175 void xchk_xref_is_not_inode_chunk(struct xfs_scrub *sc, xfs_agblock_t agbno,
177 void xchk_xref_is_inode_chunk(struct xfs_scrub *sc, xfs_agblock_t agbno,
179 void xchk_xref_is_only_owned_by(struct xfs_scrub *sc, xfs_agblock_t agbno,
181 void xchk_xref_is_not_owned_by(struct xfs_scrub *sc, xfs_agblock_t agbno,
183 void xchk_xref_has_no_owner(struct xfs_scrub *sc, xfs_agblock_t agbno,
185 void xchk_xref_is_cow_staging(struct xfs_scrub *sc, xfs_agblock_t bno,
187 void xchk_xref_is_not_shared(struct xfs_scrub *sc, xfs_agblock_t bno,
189 void xchk_xref_is_not_cow_staging(struct xfs_scrub *sc, xfs_agblock_t bno,
H A Dreap.c107 xfs_agblock_t agbno) in xreap_put_freelist()
214 xfs_agblock_t agbno, in xreap_agextent_binval()
222 xfs_agblock_t bno = agbno; in xreap_agextent_binval()
240 xfs_agblock_t fsbcount; in xreap_agextent_binval()
241 xfs_agblock_t max_fsbs; in xreap_agextent_binval()
293 xfs_agblock_t agbno, in xreap_agextent_select()
294 xfs_agblock_t agbno_next, in xreap_agextent_select()
300 xfs_agblock_t bno = agbno + 1; in xreap_agextent_select()
353 xfs_agblock_t agbno, in xreap_agextent_iter()
434 xfs_agblock_t agbno = fsbno; in xreap_agmeta_extent()
[all …]
H A Drefcount.c81 xfs_agblock_t bno;
104 xfs_agblock_t rm_last; in xchk_refcountbt_rmap_check()
105 xfs_agblock_t rc_last; in xchk_refcountbt_rmap_check()
158 xfs_agblock_t bno; in xchk_refcountbt_process_rmap_fragments()
159 xfs_agblock_t rbno; in xchk_refcountbt_process_rmap_fragments()
160 xfs_agblock_t next_rbno; in xchk_refcountbt_process_rmap_fragments()
341 xfs_agblock_t cow_blocks;
370 xfs_agblock_t bno) in xchk_refcountbt_xref_gaps()
540 xfs_agblock_t agbno, in xchk_xref_is_cow_staging()
584 xfs_agblock_t agbno, in xchk_xref_is_not_shared()
[all …]
H A Dagheader.c40 xfs_agblock_t agbno; in xchk_superblock_xref()
404 xfs_agblock_t agbno; in xchk_agf_xref_cntbt()
505 xfs_agblock_t agbno; in xchk_agf_xref()
536 xfs_agblock_t agbno; in xchk_agf()
537 xfs_agblock_t eoag; in xchk_agf()
640 xfs_agblock_t agbno) in xchk_agfl_block_xref()
656 xfs_agblock_t agbno, in xchk_agfl_block()
693 xfs_agblock_t agbno; in xchk_agfl_xref()
848 xfs_agblock_t agbno; in xchk_agi_xref()
878 xfs_agblock_t agbno; in xchk_agi()
[all …]
H A Dtrace.h192 __field(xfs_agblock_t, bno)
252 __field(xfs_agblock_t, agbno)
379 __field(xfs_agblock_t, bno)
422 __field(xfs_agblock_t, bno)
464 __field(xfs_agblock_t, bno)
502 __field(xfs_agblock_t, bno)
541 __field(xfs_agblock_t, bno)
1233 xfs_agino_t icount, xfs_agblock_t aglen, xfs_agblock_t freelen,
1234 xfs_agblock_t usedlen),
1262 xfs_agblock_t bnobt_sz, xfs_agblock_t inobt_sz,
[all …]
H A Dalloc.c47 xfs_agblock_t agbno, in xchk_allocbt_xref_other()
51 xfs_agblock_t fbno; in xchk_allocbt_xref_other()
89 xfs_agblock_t agbno = irec->ar_startblock; in xchk_allocbt_xref()
172 xfs_agblock_t agbno, in xchk_xref_is_used_space()
H A Dbitmap.h52 xfs_agblock_t start, xfs_extlen_t len) in xagb_bitmap_clear()
57 xfs_agblock_t start, xfs_extlen_t len) in xagb_bitmap_set()
65 xfs_agblock_t start, in xagb_bitmap_test()
H A Dagheader_repair.c82 xfs_agblock_t freeblks;
83 xfs_agblock_t longest;
109 xfs_agblock_t agbno, in xrep_agf_check_agfl_block()
259 xfs_agblock_t btreeblks; in xrep_agf_calc_from_btrees()
260 xfs_agblock_t blocks; in xrep_agf_calc_from_btrees()
613 xfs_agblock_t flcount) in xrep_agfl_update_agf()
643 xfs_agblock_t flcount;
680 xfs_agblock_t flcount) in xrep_agfl_init_header()
730 xfs_agblock_t flcount; in xrep_agfl()
913 xfs_agblock_t blocks; in xrep_agi_calc_from_btrees()
[all …]
H A Drmap.c74 xfs_agblock_t fbno; in xchk_rmapbt_xref_refc()
105 xfs_agblock_t agbno = irec->rm_startblock; in xchk_rmapbt_xref()
197 xfs_agblock_t pnext, inext; in xchk_rmapbt_check_overlapping()
368 xfs_agblock_t agbno, in xchk_rmapbt_walk_agfl()
577 xfs_agblock_t bno, in xchk_xref_is_only_owned_by()
602 xfs_agblock_t bno, in xchk_xref_is_not_owned_by()
625 xfs_agblock_t bno, in xchk_xref_has_no_owner()
/openbmc/linux/fs/xfs/
H A Dxfs_extent_busy.h24 xfs_agblock_t bno;
50 xfs_agblock_t bno, xfs_extlen_t len, unsigned int flags);
53 xfs_extent_busy_insert_discard(struct xfs_perag *pag, xfs_agblock_t bno,
62 xfs_agblock_t bno, xfs_extlen_t len);
66 xfs_agblock_t fbno, xfs_extlen_t flen, bool userdata);
69 xfs_extent_busy_trim(struct xfs_alloc_arg *args, xfs_agblock_t *bno,
H A Dxfs_extent_busy.c25 xfs_agblock_t bno, in xfs_extent_busy_insert_list()
74 xfs_agblock_t bno, in xfs_extent_busy_insert()
84 xfs_agblock_t bno, in xfs_extent_busy_insert_discard()
105 xfs_agblock_t bno, in xfs_extent_busy_search()
153 xfs_agblock_t fbno, in xfs_extent_busy_update_extent()
158 xfs_agblock_t fend = fbno + flen; in xfs_extent_busy_update_extent()
159 xfs_agblock_t bbno = busyp->bno; in xfs_extent_busy_update_extent()
301 xfs_agblock_t fbno, in xfs_extent_busy_reuse()
314 xfs_agblock_t bbno = busyp->bno; in xfs_extent_busy_reuse()
347 xfs_agblock_t *bno, in xfs_extent_busy_trim()
[all …]
H A Dxfs_notify_failure.c27 xfs_agblock_t startblock;
53 xfs_agblock_t end_rec; in xfs_failure_pgcnt()
54 xfs_agblock_t end_notify; in xfs_failure_pgcnt()
55 xfs_agblock_t start_cross; in xfs_failure_pgcnt()
56 xfs_agblock_t end_cross; in xfs_failure_pgcnt()
130 xfs_agblock_t range_agend; in xfs_dax_notify_ddev_failure()
H A Dxfs_icreate_item.h18 xfs_agblock_t agbno, unsigned int count,
19 unsigned int inode_size, xfs_agblock_t length,
H A 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()
H A Dxfs_trace.h1629 __field(xfs_agblock_t, agbno)
1663 __field(xfs_agblock_t, agbno)
1665 __field(xfs_agblock_t, tbno)
1757 __field(xfs_agblock_t, agbno)
1790 __field(xfs_agblock_t, agbno)
1896 __field(xfs_agblock_t, bno)
2605 xfs_agblock_t bno, \
2612 xfs_agblock_t agbno,
2656 xfs_agblock_t agbno, \
3093 xfs_agblock_t agbno),
[all …]

123