Home
last modified time | relevance | path

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

123

/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; /* ... */
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 bno, /* starting block of extent */
[all …]
H A Dxfs_refcount.h18 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 Dxfs_rmap.h120 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 bno,
[all …]
H A Dxfs_ag.h214 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 Dxfs_ialloc.h92 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 Dxfs_types.h11 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 Dxfs_refcount.c43 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 agbno, in xfs_refcount_find_right_extents()
[all …]
H A Dxfs_format.h106 xfs_agblock_t sb_rextsize; /* realtime extent size, blocks */
107 xfs_agblock_t sb_agblocks; /* size of an allocation group */
462 #define XFS_HDR_BLOCK(mp,d) ((xfs_agblock_t)XFS_BB_TO_FSBT(mp,d))
700 ((xfs_agblock_t)((fsbno) & xfs_mask32lo((mp)->m_sb.sb_agblklog)))
1270 (((xfs_agblock_t)(i) >> XFS_INO_OFFSET_BITS(mp)) & \
1537 xfs_agblock_t ar_startblock; /* starting block number */
1548 #define XFS_BNO_BLOCK(mp) ((xfs_agblock_t)(XFS_AGFL_BLOCK(mp) + 1))
1549 #define XFS_CNT_BLOCK(mp) ((xfs_agblock_t)(XFS_BNO_BLOCK(mp) + 1))
1630 #define XFS_IBT_BLOCK(mp) ((xfs_agblock_t)(XFS_CNT_BLOCK(mp) + 1))
1631 #define XFS_FIBT_BLOCK(mp) ((xfs_agblock_t)(XFS_IBT_BLOCK(mp) + 1))
H A Dxfs_rmap.c40 xfs_agblock_t bno, in xfs_rmap_lookup_le()
78 xfs_agblock_t bno, in xfs_rmap_lookup_eq()
123 xfs_agblock_t agbno, in xfs_rmap_insert()
165 xfs_agblock_t agbno, in xfs_rmap_delete()
433 xfs_agblock_t bno, in xfs_rmap_find_left_neighbor()
532 xfs_agblock_t bno, in xfs_rmap_lookup_le_range()
677 xfs_agblock_t bno, in xfs_rmap_unmap()
910 xfs_agblock_t startblock, in xfs_rmap_update_hook()
966 xfs_agblock_t bno, in xfs_rmap_free()
1022 xfs_agblock_t bno, in xfs_rmap_map()
[all …]
H A Dxfs_ialloc.c302 xfs_agblock_t agbno, in xfs_ialloc_inode_init()
303 xfs_agblock_t length, in xfs_ialloc_inode_init()
453 xfs_agblock_t agbno; in xfs_align_sparse_ino()
454 xfs_agblock_t mod; in xfs_align_sparse_ino()
2001 xfs_agblock_t sagbno = XFS_AGINO_TO_AGBNO(mp, in xfs_difree_inode_chunk()
2005 xfs_agblock_t agbno; in xfs_difree_inode_chunk()
2328 xfs_agblock_t agbno; /* block number containing inode */ in xfs_difree()
2396 xfs_agblock_t agbno, in xfs_imap_lookup()
2397 xfs_agblock_t *chunk_agbno, in xfs_imap_lookup()
2398 xfs_agblock_t *offset_agbno, in xfs_imap_lookup()
[all …]
/linux/fs/xfs/scrub/
H A Dscrub.h307 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 Drefcount.c93 xfs_agblock_t bno;
116 xfs_agblock_t rm_last; in xchk_refcountbt_rmap_check()
117 xfs_agblock_t rc_last; in xchk_refcountbt_rmap_check()
170 xfs_agblock_t bno; in xchk_refcountbt_process_rmap_fragments()
171 xfs_agblock_t rbno; in xchk_refcountbt_process_rmap_fragments()
172 xfs_agblock_t next_rbno; in xchk_refcountbt_process_rmap_fragments()
350 xfs_agblock_t next_unshared_agbno;
353 xfs_agblock_t cow_blocks;
365 xfs_agblock_t *next_bno = priv; in xchk_refcountbt_rmap_check_gap()
382 xfs_agblock_t bno) in xchk_refcountbt_xref_gaps()
[all …]
H A Dreap.c115 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 agbno = XFS_FSB_TO_AGBNO(sc->mp, fsbno); in xreap_fsmeta_extent()
[all …]
H A Dagheader.c41 xfs_agblock_t agbno; in xchk_superblock_xref()
469 xfs_agblock_t agbno; in xchk_agf_xref_cntbt()
503 xfs_agblock_t btreeblks; in xchk_agf_xref_btreeblks()
570 xfs_agblock_t agbno; in xchk_agf_xref()
601 xfs_agblock_t agbno; in xchk_agf()
602 xfs_agblock_t eoag; in xchk_agf()
603 xfs_agblock_t agfl_first; in xchk_agf()
604 xfs_agblock_t agfl_last; in xchk_agf()
605 xfs_agblock_t agfl_count; in xchk_agf()
606 xfs_agblock_t fl_count; in xchk_agf()
[all …]
H A Dagb_bitmap.h26 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 Dalloc_repair.c121 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 Drefcount_repair.c171 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 Dnewbt.h21 xfs_agblock_t agbno;
69 xfs_agblock_t agbno, xfs_extlen_t len);
H A Dtrace.h301 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 agbno,
[all …]
H A Drmap_repair.c155 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()
1023 xfs_agblock_t agbno, in xrep_rmap_walk_agfl()
1193 xfs_agblock_t rmap_btblocks; in xrep_rmap_reset_counters()
1460 xfs_agblock_t next_agbno;
1493 rfg->next_agbno = max_t(xfs_agblock_t, rfg->next_agbno, in xrep_rmap_find_gaps()
1515 xfs_agblock_t agend; in xrep_rmap_remove_old_tree()
H A Dagheader_repair.c88 xfs_agblock_t freeblks;
89 xfs_agblock_t longest;
115 xfs_agblock_t agbno, in xrep_agf_check_agfl_block()
258 xfs_agblock_t btreeblks; in xrep_agf_calc_from_btrees()
496 xfs_agblock_t last_agbno = agbno + len - 1; in xrep_agfl_check_extent()
535 xfs_agblock_t *flcount) in xrep_agfl_collect_blocks()
604 xfs_agblock_t flcount) in xrep_agfl_update_agf()
634 xfs_agblock_t flcount;
647 xfs_agblock_t agbno = start; in xrep_agfl_fill()
671 xfs_agblock_t flcount) in xrep_agfl_init_header()
[all …]
/linux/fs/xfs/
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_notify_failure.c31 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()
H A Dxfs_discard.c171 xfs_agblock_t start;
173 xfs_agblock_t end;
235 xfs_agblock_t fbno; in xfs_trim_gather_extents()
347 xfs_agblock_t start, in xfs_trim_perag_extents()
348 xfs_agblock_t end, in xfs_trim_perag_extents()
411 xfs_agblock_t start_agbno, end_agbno; in xfs_trim_datadev_extents()
425 xfs_agblock_t agend = pag_group(pag)->xg_block_count; in xfs_trim_datadev_extents()

123