/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); 82 xfs_agblock_t bno, xfs_extlen_t len, 147 xfs_agblock_t agbno, 157 xfs_agblock_t agbno, in xfs_free_extent() 168 xfs_agblock_t bno, /* starting block of extent */ 175 xfs_agblock_t bn [all...] |
H A D | xfs_refcount.h | 18 enum xfs_refc_domain domain, xfs_agblock_t bno, int *stat); 20 enum xfs_refc_domain domain, xfs_agblock_t bno, int *stat); 22 enum xfs_refc_domain domain, xfs_agblock_t bno, int *stat); 28 xfs_agblock_t startblock, in xfs_refcount_encode_startblock() 90 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno, 119 enum xfs_refc_domain domain, xfs_agblock_t bno,
|
H A D | xfs_rmap.h | 120 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len, 123 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len, 126 int xfs_rmap_lookup_le(struct xfs_btree_cur *cur, xfs_agblock_t bno, 129 int xfs_rmap_lookup_eq(struct xfs_btree_cur *cur, xfs_agblock_t bno, 132 int xfs_rmap_insert(struct xfs_btree_cur *rcur, xfs_agblock_t agbno, 197 enum xfs_rmap_intent_type op, xfs_agblock_t bno, 201 int xfs_rmap_lookup_le_range(struct xfs_btree_cur *cur, xfs_agblock_t bno, 214 int xfs_rmap_has_records(struct xfs_btree_cur *cur, xfs_agblock_t bno, 228 int xfs_rmap_count_owners(struct xfs_btree_cur *cur, xfs_agblock_t bno, 231 int xfs_rmap_has_other_keys(struct xfs_btree_cur *cur, xfs_agblock_t bn [all...] |
H A D | xfs_ialloc.h | 92 xfs_agnumber_t agno, xfs_agblock_t agbno, 93 xfs_agblock_t length, unsigned int gen); 103 xfs_agblock_t bno, xfs_extlen_t len, 116 struct xfs_buf *agibp, xfs_agblock_t new_length);
|
H A D | xfs_ag.h | 214 xfs_agblock_t xfs_ag_block_count(struct xfs_mount *mp, xfs_agnumber_t agno); 219 xfs_verify_agbno(struct xfs_perag *pag, xfs_agblock_t agbno) in xfs_verify_agbno() 227 xfs_agblock_t agbno, in xfs_verify_agbext() 228 xfs_agblock_t len) in xfs_verify_agbext() 320 xfs_agblock_t agno; /* ag to init */ 341 xfs_agblock_t agbno) in xfs_agbno_to_fsb() 349 xfs_agblock_t agbno) in xfs_agbno_to_daddr()
|
H A D | xfs_alloc.c | 53 return size / sizeof(xfs_agblock_t); in xfs_agfl_size() 158 xfs_agblock_t bno, in xfs_alloc_lookup() 180 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_eq() 194 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_ge() 208 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_le() 230 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_update() 290 xfs_agblock_t *bno, /* output: starting block of extent */ in xfs_alloc_get_rec() 320 xfs_agblock_t foundbno, /* starting block in found extent */ in xfs_alloc_compute_aligned() 322 xfs_agblock_t *resbno, /* result block number */ in xfs_alloc_compute_aligned() 326 xfs_agblock_t bn in xfs_alloc_compute_aligned() [all...] |
H A D | xfs_types.h | 11 typedef uint32_t xfs_agblock_t; /* blockno in alloc. group */ typedef 57 #define NULLAGBLOCK ((xfs_agblock_t)-1) 172 xfs_agblock_t rc_startblock; /* starting block number */ 185 xfs_agblock_t rm_startblock; /* extent start block */
|
H A D | xfs_group.h | 94 static inline xfs_agblock_t 112 xfs_agblock_t gbno) in xfs_gbno_to_fsb() 120 xfs_agblock_t gbno) in xfs_gbno_to_daddr() 145 static inline xfs_agblock_t
|
H A D | xfs_refcount.c | 43 xfs_agblock_t agbno, xfs_extlen_t aglen); 45 xfs_agblock_t agbno, xfs_extlen_t aglen); 55 xfs_agblock_t bno, in xfs_refcount_lookup_le() 75 xfs_agblock_t bno, in xfs_refcount_lookup_ge() 95 xfs_agblock_t bno, in xfs_refcount_lookup_eq() 412 static inline xfs_agblock_t 426 xfs_agblock_t agbno, in xfs_refcount_split_extent() 572 xfs_agblock_t *agbno, in xfs_refcount_merge_left_extent() 706 xfs_agblock_t agbno, in xfs_refcount_find_left_extents() 799 xfs_agblock_t agbn in xfs_refcount_find_right_extents() [all...] |
H A D | xfs_format.h | 106 xfs_agblock_t sb_rextsize; /* realtime extent size, blocks */ 107 xfs_agblock_t sb_agblocks; /* size of an allocation group */ 469 #define XFS_HDR_BLOCK(mp,d) ((xfs_agblock_t)XFS_BB_TO_FSBT(mp,d)) 707 ((xfs_agblock_t)((fsbno) & xfs_mask32lo((mp)->m_sb.sb_agblklog))) 1282 (((xfs_agblock_t)(i) >> XFS_INO_OFFSET_BITS(mp)) & \ 1549 xfs_agblock_t ar_startblock; /* starting block number */ 1560 #define XFS_BNO_BLOCK(mp) ((xfs_agblock_t)(XFS_AGFL_BLOCK(mp) + 1)) 1561 #define XFS_CNT_BLOCK(mp) ((xfs_agblock_t)(XFS_BNO_BLOCK(mp) + 1)) 1642 #define XFS_IBT_BLOCK(mp) ((xfs_agblock_t)(XFS_CNT_BLOCK(mp) + 1)) 1643 #define XFS_FIBT_BLOCK(mp) ((xfs_agblock_t)(XFS_IBT_BLOC [all...] |
/linux/fs/xfs/ |
H A D | xfs_extent_busy.h | 23 xfs_agblock_t bno; 47 xfs_agblock_t bno, xfs_extlen_t len, unsigned int flags); 48 void xfs_extent_busy_insert_discard(struct xfs_group *xg, xfs_agblock_t bno, 51 int xfs_extent_busy_search(struct xfs_group *xg, xfs_agblock_t bno, 53 void xfs_extent_busy_reuse(struct xfs_group *xg, xfs_agblock_t fbno, 56 xfs_extlen_t maxlen, xfs_agblock_t *bno, xfs_extlen_t *len,
|
H A D | xfs_extent_busy.c | 33 xfs_agblock_t bno, in xfs_extent_busy_insert_list() 84 xfs_agblock_t bno, in xfs_extent_busy_insert() 94 xfs_agblock_t bno, in xfs_extent_busy_insert_discard() 114 xfs_agblock_t bno, in xfs_extent_busy_search() 162 xfs_agblock_t fbno, in xfs_extent_busy_update_extent() 169 xfs_agblock_t fend = fbno + flen; in xfs_extent_busy_update_extent() 170 xfs_agblock_t bbno = busyp->bno; in xfs_extent_busy_update_extent() 171 xfs_agblock_t bend = bbno + busyp->length; in xfs_extent_busy_update_extent() 310 xfs_agblock_t fbno, in xfs_extent_busy_reuse() 324 xfs_agblock_t bbn in xfs_extent_busy_reuse() [all...] |
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_notify_failure.c | 31 xfs_agblock_t startblock; 57 xfs_agblock_t end_rec; in xfs_failure_pgcnt() 58 xfs_agblock_t end_notify; in xfs_failure_pgcnt() 59 xfs_agblock_t start_cross; in xfs_failure_pgcnt() 60 xfs_agblock_t end_cross; in xfs_failure_pgcnt()
|
/linux/fs/xfs/scrub/ |
H A D | scrub.h | 307 void xchk_xref_is_used_space(struct xfs_scrub *sc, xfs_agblock_t agbno, 309 void xchk_xref_is_not_inode_chunk(struct xfs_scrub *sc, xfs_agblock_t agbno, 311 void xchk_xref_is_inode_chunk(struct xfs_scrub *sc, xfs_agblock_t agbno, 313 void xchk_xref_is_only_owned_by(struct xfs_scrub *sc, xfs_agblock_t agbno, 315 void xchk_xref_is_not_owned_by(struct xfs_scrub *sc, xfs_agblock_t agbno, 317 void xchk_xref_has_no_owner(struct xfs_scrub *sc, xfs_agblock_t agbno, 319 void xchk_xref_is_cow_staging(struct xfs_scrub *sc, xfs_agblock_t bno, 321 void xchk_xref_is_not_shared(struct xfs_scrub *sc, xfs_agblock_t bno, 323 void xchk_xref_is_not_cow_staging(struct xfs_scrub *sc, xfs_agblock_t bno,
|
H A D | reap.c | 115 xfs_agblock_t agbno) in xreap_put_freelist() 264 xfs_agblock_t agbno, in xreap_agextent_binval() 270 xfs_agblock_t agbno_next = agbno + *aglenp; in xreap_agextent_binval() 271 xfs_agblock_t bno = agbno; in xreap_agextent_binval() 329 xfs_agblock_t agbno, in xreap_agextent_select() 330 xfs_agblock_t agbno_next, in xreap_agextent_select() 336 xfs_agblock_t bno = agbno + 1; in xreap_agextent_select() 390 xfs_agblock_t agbno, in xreap_agextent_iter() 510 xfs_agblock_t agbno_next = agbno + len; in xreap_agmeta_extent() 589 xfs_agblock_t agbn in xreap_fsmeta_extent() [all...] |
H A D | agheader.c | 41 xfs_agblock_t agbno; in xchk_superblock_xref() 471 xfs_agblock_t agbno; in xchk_agf_xref_cntbt() 505 xfs_agblock_t btreeblks; in xchk_agf_xref_btreeblks() 572 xfs_agblock_t agbno; in xchk_agf_xref() 603 xfs_agblock_t agbno; in xchk_agf() 604 xfs_agblock_t eoag; in xchk_agf() 605 xfs_agblock_t agfl_first; in xchk_agf() 606 xfs_agblock_t agfl_last; in xchk_agf() 607 xfs_agblock_t agfl_count; in xchk_agf() 608 xfs_agblock_t fl_coun in xchk_agf() [all...] |
H A D | agb_bitmap.h | 9 /* Bitmaps, but for type-checked for xfs_agblock_t */ 26 xfs_agblock_t start, xfs_extlen_t len) in xagb_bitmap_clear() 31 xfs_agblock_t start, xfs_extlen_t len) in xagb_bitmap_set() 37 xfs_agblock_t start, xfs_extlen_t *len) in xagb_bitmap_test()
|
H A D | alloc.c | 59 xfs_agblock_t agbno, in xchk_allocbt_xref_other() 63 xfs_agblock_t fbno; in xchk_allocbt_xref_other() 101 xfs_agblock_t agbno = irec->ar_startblock; in xchk_allocbt_xref() 180 xfs_agblock_t agbno, in xchk_xref_is_used_space()
|
H A D | alloc_repair.c | 121 xfs_agblock_t next_agbno; 124 xfs_agblock_t nr_blocks; 127 xfs_agblock_t longest; 196 xfs_agblock_t end) in xrep_abt_stash() 256 ra->next_agbno = max_t(xfs_agblock_t, ra->next_agbno, in xrep_abt_walk_rmap() 265 xfs_agblock_t agbno, in xrep_abt_walk_agfl() 303 xfs_agblock_t next_agbno = 0; in xrep_bnobt_sort_records() 368 xfs_agblock_t agend; in xrep_abt_find_freespace() 537 xfs_agblock_t free_agbno = resv->agbno + resv->used; in xrep_abt_dispose_one()
|
H A D | refcount_repair.c | 171 xfs_agblock_t agbno, in xrep_refc_stash() 201 xfs_agblock_t agbno, in xrep_refc_stash_cow() 334 xfs_agblock_t next_agbno = 0; in xrep_refc_sort_records() 377 xfs_agblock_t bno, in xrep_refc_push_rmaps_at() 414 xfs_agblock_t sbno; in xrep_refc_find_refcounts() 415 xfs_agblock_t cbno; in xrep_refc_find_refcounts() 416 xfs_agblock_t nbno; in xrep_refc_find_refcounts()
|
H A D | newbt.h | 21 xfs_agblock_t agbno; 69 xfs_agblock_t agbno, xfs_extlen_t len);
|
H A D | trace.h | 301 xfs_agblock_t bno, int error, void *ret_ip), 307 __field(xfs_agblock_t, bno) 367 __field(xfs_agblock_t, agbno) 566 __field(xfs_agblock_t, bno) 609 __field(xfs_agblock_t, bno) 651 __field(xfs_agblock_t, bno) 689 __field(xfs_agblock_t, bno) 728 __field(xfs_agblock_t, bno) 945 __field(xfs_agblock_t, startblock) 1967 TP_PROTO(const struct xfs_group *xg, xfs_agblock_t agbn [all...] |
H A D | rmap_repair.c | 155 xfs_agblock_t freesp_btblocks; 214 xfs_agblock_t startblock, in xrep_rmap_stash() 345 xfs_agblock_t agbno; in xrep_rmap_visit_bmbt() 390 xfs_agblock_t agbno; in xrep_rmap_visit_iroot_btree_block() 681 xfs_agblock_t agbno; in xrep_rmap_walk_inobt() 1021 xfs_agblock_t agbno, in xrep_rmap_walk_agfl() 1191 xfs_agblock_t rmap_btblocks; in xrep_rmap_reset_counters() 1458 xfs_agblock_t next_agbno; 1491 rfg->next_agbno = max_t(xfs_agblock_t, rfg->next_agbno, in xrep_rmap_find_gaps() 1513 xfs_agblock_t agen in xrep_rmap_remove_old_tree() [all...] |