/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_alloc.h | 41 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; /* ... */ 77 struct xfs_buf *agfbp, xfs_agblock_t *bnop, int btreeblk); 80 xfs_agblock_t bno, int btreeblk); 144 xfs_agblock_t agbno, 154 xfs_agblock_t agbno, in xfs_free_extent() 165 xfs_agblock_t bno, /* starting block of extent */ 172 xfs_agblock_t bno, /* starting block of extent */ 179 xfs_agblock_t *bno, /* output: starting block of extent */ [all …]
|
H A D | xfs_refcount.h | 17 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 D | xfs_rmap.h | 119 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 D | xfs_alloc.c | 53 return size / sizeof(xfs_agblock_t); in xfs_agfl_size() 159 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_eq() 179 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_ge() 199 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_le() 226 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_update() 288 xfs_agblock_t *bno, /* output: starting block of extent */ in xfs_alloc_get_rec() 318 xfs_agblock_t foundbno, /* starting block in found extent */ in xfs_alloc_compute_aligned() 320 xfs_agblock_t *resbno, /* result block number */ in xfs_alloc_compute_aligned() 324 xfs_agblock_t bno = foundbno; in xfs_alloc_compute_aligned() 345 xfs_agblock_t aligned_bno = roundup(bno, args->alignment); in xfs_alloc_compute_aligned() [all …]
|
H A D | xfs_ag.h | 69 xfs_agblock_t block_count; 70 xfs_agblock_t min_block; 161 xfs_agblock_t xfs_ag_block_count(struct xfs_mount *mp, xfs_agnumber_t agno); 166 xfs_verify_agbno(struct xfs_perag *pag, xfs_agblock_t agbno) in xfs_verify_agbno() 178 xfs_agblock_t agbno, in xfs_verify_agbext() 179 xfs_agblock_t len) in xfs_verify_agbext() 318 xfs_agblock_t agno; /* ag to init */
|
H A D | xfs_ialloc.h | 88 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 D | xfs_types.h | 11 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 D | xfs_refcount.c | 38 xfs_agblock_t agbno, xfs_extlen_t aglen); 40 xfs_agblock_t agbno, xfs_extlen_t aglen); 50 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() 371 static inline xfs_agblock_t 385 xfs_agblock_t agbno, in xfs_refcount_split_extent() 529 xfs_agblock_t *agbno, in xfs_refcount_merge_left_extent() 661 xfs_agblock_t agbno, in xfs_refcount_find_left_extents() 754 xfs_agblock_t agbno, in xfs_refcount_find_right_extents() [all …]
|
H A D | xfs_format.h | 107 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))
|
H A D | xfs_rmap.c | 36 xfs_agblock_t bno, in xfs_rmap_lookup_le() 72 xfs_agblock_t bno, in xfs_rmap_lookup_eq() 119 xfs_agblock_t agbno, in xfs_rmap_insert() 161 xfs_agblock_t agbno, in xfs_rmap_delete() 347 xfs_agblock_t bno, in xfs_rmap_find_left_neighbor() 448 xfs_agblock_t bno, in xfs_rmap_lookup_le_range() 589 xfs_agblock_t bno, in xfs_rmap_unmap() 799 xfs_agblock_t bno, in xfs_rmap_free() 854 xfs_agblock_t bno, in xfs_rmap_map() 1046 xfs_agblock_t bno, in xfs_rmap_alloc() [all …]
|
/openbmc/linux/fs/xfs/scrub/ |
H A D | scrub.h | 180 void xchk_xref_is_used_space(struct xfs_scrub *sc, xfs_agblock_t agbno, 182 void xchk_xref_is_not_inode_chunk(struct xfs_scrub *sc, xfs_agblock_t agbno, 184 void xchk_xref_is_inode_chunk(struct xfs_scrub *sc, xfs_agblock_t agbno, 186 void xchk_xref_is_only_owned_by(struct xfs_scrub *sc, xfs_agblock_t agbno, 188 void xchk_xref_is_not_owned_by(struct xfs_scrub *sc, xfs_agblock_t agbno, 190 void xchk_xref_has_no_owner(struct xfs_scrub *sc, xfs_agblock_t agbno, 192 void xchk_xref_is_cow_staging(struct xfs_scrub *sc, xfs_agblock_t bno, 194 void xchk_xref_is_not_shared(struct xfs_scrub *sc, xfs_agblock_t bno, 196 void xchk_xref_is_not_cow_staging(struct xfs_scrub *sc, xfs_agblock_t bno,
|
H A D | reap.c | 107 xfs_agblock_t agbno) in xreap_put_freelist() 214 xfs_agblock_t agbno, in xreap_agextent_binval() 221 xfs_agblock_t agbno_next = agbno + *aglenp; 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() 247 max_fsbs = min_t(xfs_agblock_t, agbno_next - bno, 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() [all …]
|
H A D | refcount.c | 81 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() 338 xfs_agblock_t next_unshared_agbno; 341 xfs_agblock_t cow_blocks; 353 xfs_agblock_t *next_bno = priv; in xchk_refcountbt_rmap_check_gap() 370 xfs_agblock_t bno) in xchk_refcountbt_xref_gaps() [all …]
|
H A D | agheader.c | 40 xfs_agblock_t agbno; in xchk_superblock_xref() 404 xfs_agblock_t agbno; in xchk_agf_xref_cntbt() 437 xfs_agblock_t blocks; in xchk_agf_xref_btreeblks() 438 xfs_agblock_t btreeblks; in xchk_agf_xref_btreeblks() 486 xfs_agblock_t blocks; in xchk_agf_xref_refcblks() 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() 538 xfs_agblock_t agfl_first; in xchk_agf() 539 xfs_agblock_t agfl_last; in xchk_agf() [all …]
|
H A D | trace.h | 186 xfs_agblock_t bno, int error, void *ret_ip), 192 __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) 757 __field(xfs_agblock_t, startblock) 1074 TP_PROTO(struct xfs_perag *pag, xfs_agblock_t agbno, xfs_extlen_t len), [all …]
|
H A D | agheader_repair.c | 82 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() 502 xfs_agblock_t agbno = start; in xrep_agfl_check_extent() 503 xfs_agblock_t last_agbno = agbno + len - 1; in xrep_agfl_check_extent() 542 xfs_agblock_t *flcount) in xrep_agfl_collect_blocks() 613 xfs_agblock_t flcount) in xrep_agfl_update_agf() 643 xfs_agblock_t flcount; [all …]
|
H A D | alloc.c | 47 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 D | bitmap.h | 52 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 D | rmap.c | 74 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 D | xfs_extent_busy.c | 25 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() 160 xfs_agblock_t bend = bbno + busyp->length; 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() [all …]
|
H A D | xfs_extent_busy.h | 24 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 D | xfs_notify_failure.c | 27 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 D | xfs_icreate_item.h | 18 xfs_agblock_t agbno, unsigned int count, 19 unsigned int inode_size, xfs_agblock_t length,
|
H A D | xfs_icreate_item.c | 93 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 D | xfs_trace.h | 1619 xfs_agblock_t agbno, xfs_extlen_t len), 1624 __field(xfs_agblock_t, agbno) 1642 xfs_agblock_t agbno, xfs_extlen_t len), \ 1652 xfs_agblock_t agbno, xfs_extlen_t len, 1653 xfs_agblock_t tbno, xfs_extlen_t tlen), 1658 __field(xfs_agblock_t, agbno) 1660 __field(xfs_agblock_t, tbno) 1745 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agblock_t agbno, 1752 __field(xfs_agblock_t, agbno) 1785 __field(xfs_agblock_t, agbno) [all …]
|