/linux/fs/xfs/libxfs/ |
H A D | xfs_btree.h | 142 struct xfs_btree_cur *(*dup_cursor)(struct xfs_btree_cur *); 143 void (*update_cursor)(struct xfs_btree_cur *src, 144 struct xfs_btree_cur *dst); 147 void (*set_root)(struct xfs_btree_cur *cur, 151 int (*alloc_block)(struct xfs_btree_cur *cur, 155 int (*free_block)(struct xfs_btree_cur *cur, struct xfs_buf *bp); 158 int (*get_minrecs)(struct xfs_btree_cur *cur, int level); 159 int (*get_maxrecs)(struct xfs_btree_cur *cur, int level); 162 int (*get_dmaxrecs)(struct xfs_btree_cur *cur, int level); 167 void (*init_rec_from_cur)(struct xfs_btree_cur *cur, [all …]
|
H A D | xfs_btree_staging.h | 22 void xfs_btree_stage_afakeroot(struct xfs_btree_cur *cur, 24 void xfs_btree_commit_afakeroot(struct xfs_btree_cur *cur, struct xfs_trans *tp, 43 void xfs_btree_stage_ifakeroot(struct xfs_btree_cur *cur, 45 void xfs_btree_commit_ifakeroot(struct xfs_btree_cur *cur, struct xfs_trans *tp, 49 typedef int (*xfs_btree_bload_get_records_fn)(struct xfs_btree_cur *cur, 52 typedef int (*xfs_btree_bload_claim_block_fn)(struct xfs_btree_cur *cur, 54 typedef size_t (*xfs_btree_bload_iroot_size_fn)(struct xfs_btree_cur *cur, 125 int xfs_btree_bload_compute_geometry(struct xfs_btree_cur *cur, 127 int xfs_btree_bload(struct xfs_btree_cur *cur, struct xfs_btree_bload *bbl,
|
H A D | xfs_btree_mem.h | 50 void xfbtree_set_root(struct xfs_btree_cur *cur, 52 void xfbtree_init_ptr_from_cur(struct xfs_btree_cur *cur, 54 struct xfs_btree_cur *xfbtree_dup_cursor(struct xfs_btree_cur *cur); 56 int xfbtree_get_minrecs(struct xfs_btree_cur *cur, int level); 57 int xfbtree_get_maxrecs(struct xfs_btree_cur *cur, int level); 59 int xfbtree_alloc_block(struct xfs_btree_cur *cur, 62 int xfbtree_free_block(struct xfs_btree_cur *cur, struct xfs_buf *bp);
|
H A D | xfs_alloc_btree.c | 26 STATIC struct xfs_btree_cur * 28 struct xfs_btree_cur *cur) in xfs_bnobt_dup_cursor() 34 STATIC struct xfs_btree_cur * 36 struct xfs_btree_cur *cur) in xfs_cntbt_dup_cursor() 44 struct xfs_btree_cur *cur, in xfs_allocbt_set_root() 69 struct xfs_btree_cur *cur, in xfs_allocbt_alloc_block() 99 struct xfs_btree_cur *cur, in xfs_allocbt_free_block() 120 struct xfs_btree_cur *cur, in xfs_allocbt_get_minrecs() 128 struct xfs_btree_cur *cur, in xfs_allocbt_get_maxrecs() 167 struct xfs_btree_cur *cur, in xfs_allocbt_init_rec_from_cur() [all …]
|
H A D | xfs_ialloc_btree.c | 30 struct xfs_btree_cur *cur, in xfs_inobt_get_minrecs() 36 STATIC struct xfs_btree_cur * 38 struct xfs_btree_cur *cur) in xfs_inobt_dup_cursor() 44 STATIC struct xfs_btree_cur * 46 struct xfs_btree_cur *cur) in xfs_finobt_dup_cursor() 54 struct xfs_btree_cur *cur, in xfs_inobt_set_root() 68 struct xfs_btree_cur *cur, in xfs_finobt_set_root() 84 struct xfs_btree_cur *cur, in xfs_inobt_mod_blockcount() 102 struct xfs_btree_cur *cur, in __xfs_inobt_alloc_block() 141 struct xfs_btree_cur *cur, in xfs_inobt_alloc_block() [all …]
|
H A D | xfs_refcount_btree.c | 28 static struct xfs_btree_cur * 30 struct xfs_btree_cur *cur) in xfs_refcountbt_dup_cursor() 38 struct xfs_btree_cur *cur, in xfs_refcountbt_set_root() 58 struct xfs_btree_cur *cur, in xfs_refcountbt_alloc_block() 100 struct xfs_btree_cur *cur, in xfs_refcountbt_free_block() 116 struct xfs_btree_cur *cur, in xfs_refcountbt_get_minrecs() 124 struct xfs_btree_cur *cur, in xfs_refcountbt_get_maxrecs() 152 struct xfs_btree_cur *cur, in xfs_refcountbt_init_rec_from_cur() 167 struct xfs_btree_cur *cur, in xfs_refcountbt_init_ptr_from_cur() 179 struct xfs_btree_cur *cur, in xfs_refcountbt_key_diff() [all …]
|
H A D | xfs_btree.c | 120 struct xfs_btree_cur *cur, in __xfs_btree_check_lblock_hdr() 154 struct xfs_btree_cur *cur, in __xfs_btree_check_fsblock() 194 struct xfs_btree_cur *cur, in __xfs_btree_check_memblock() 222 struct xfs_btree_cur *cur, in __xfs_btree_check_agblock() 263 struct xfs_btree_cur *cur, in __xfs_btree_check_block() 281 static inline unsigned int xfs_btree_block_errtag(struct xfs_btree_cur *cur) in xfs_btree_block_errtag() 293 struct xfs_btree_cur *cur, /* btree cursor */ in xfs_btree_check_block() 314 struct xfs_btree_cur *cur, in __xfs_btree_check_ptr() 349 struct xfs_btree_cur *cur, in xfs_btree_check_ptr() 469 struct xfs_btree_cur *cur, in xfs_btree_free_block() [all …]
|
H A D | xfs_bmap_btree.c | 180 STATIC struct xfs_btree_cur * 182 struct xfs_btree_cur *cur) in xfs_bmbt_dup_cursor() 184 struct xfs_btree_cur *new; in xfs_bmbt_dup_cursor() 195 struct xfs_btree_cur *src, in xfs_bmbt_update_cursor() 196 struct xfs_btree_cur *dst) in xfs_bmbt_update_cursor() 209 struct xfs_btree_cur *cur, in xfs_bmbt_alloc_block() 273 struct xfs_btree_cur *cur, in xfs_bmbt_free_block() 297 struct xfs_btree_cur *cur, in xfs_bmbt_get_minrecs() 312 struct xfs_btree_cur *cur, in xfs_bmbt_get_maxrecs() 337 struct xfs_btree_cur *cur, in xfs_bmbt_get_dmaxrecs() [all …]
|
H A D | xfs_ialloc.h | 14 struct xfs_btree_cur; 77 int xfs_inobt_lookup(struct xfs_btree_cur *cur, xfs_agino_t ino, 83 int xfs_inobt_get_rec(struct xfs_btree_cur *cur, 102 int xfs_ialloc_has_inodes_at_extent(struct xfs_btree_cur *cur, 105 int xfs_ialloc_count_inodes(struct xfs_btree_cur *cur, xfs_agino_t *count, 107 int xfs_inobt_insert_rec(struct xfs_btree_cur *cur, uint16_t holemask,
|
H A D | xfs_rmap_btree.c | 55 static struct xfs_btree_cur * 57 struct xfs_btree_cur *cur) in xfs_rmapbt_dup_cursor() 65 struct xfs_btree_cur *cur, in xfs_rmapbt_set_root() 84 struct xfs_btree_cur *cur, in xfs_rmapbt_alloc_block() 124 struct xfs_btree_cur *cur, in xfs_rmapbt_free_block() 149 struct xfs_btree_cur *cur, in xfs_rmapbt_get_minrecs() 157 struct xfs_btree_cur *cur, in xfs_rmapbt_get_maxrecs() 214 struct xfs_btree_cur *cur, in xfs_rmapbt_init_rec_from_cur() 226 struct xfs_btree_cur *cur, in xfs_rmapbt_init_ptr_from_cur() 248 struct xfs_btree_cur *cur, in xfs_rmapbt_key_diff() [all …]
|
H A D | xfs_alloc.h | 10 struct xfs_btree_cur; 167 struct xfs_btree_cur *cur, /* btree cursor */ 174 struct xfs_btree_cur *cur, /* btree cursor */ 181 struct xfs_btree_cur *cur, /* btree cursor */ 205 struct xfs_btree_cur *cur, 209 int xfs_alloc_query_range(struct xfs_btree_cur *cur, 213 int xfs_alloc_query_all(struct xfs_btree_cur *cur, xfs_alloc_query_range_fn fn, 216 int xfs_alloc_has_records(struct xfs_btree_cur *cur, xfs_agblock_t bno,
|
H A D | xfs_btree_staging.c | 60 struct xfs_btree_cur *cur, in xfs_btree_stage_afakeroot() 80 struct xfs_btree_cur *cur, in xfs_btree_commit_afakeroot() 127 struct xfs_btree_cur *cur, in xfs_btree_stage_ifakeroot() 148 struct xfs_btree_cur *cur, in xfs_btree_commit_ifakeroot() 283 struct xfs_btree_cur *cur, in xfs_btree_bload_prep_block() 356 struct xfs_btree_cur *cur, in xfs_btree_bload_leaf() 386 struct xfs_btree_cur *cur, in xfs_btree_bload_node() 436 struct xfs_btree_cur *cur, in xfs_btree_bload_max_npb() 460 struct xfs_btree_cur *cur, in xfs_btree_bload_desired_npb() 481 struct xfs_btree_cur *cur, in xfs_btree_bload_level_geometry() [all …]
|
H A D | xfs_alloc_btree.h | 14 struct xfs_btree_cur; 50 struct xfs_btree_cur *xfs_bnobt_init_cursor(struct xfs_mount *mp, 53 struct xfs_btree_cur *xfs_cntbt_init_cursor(struct xfs_mount *mp, 61 void xfs_allocbt_commit_staged_btree(struct xfs_btree_cur *cur,
|
H A D | xfs_ialloc_btree.h | 14 struct xfs_btree_cur; 49 struct xfs_btree_cur *xfs_inobt_init_cursor(struct xfs_perag *pag, 51 struct xfs_btree_cur *xfs_finobt_init_cursor(struct xfs_perag *pag, 71 void xfs_inobt_commit_staged_btree(struct xfs_btree_cur *cur,
|
H A D | xfs_rmap_btree.h | 10 struct xfs_btree_cur; 45 struct xfs_btree_cur *xfs_rmapbt_init_cursor(struct xfs_mount *mp, 48 void xfs_rmapbt_commit_staged_btree(struct xfs_btree_cur *cur, 67 struct xfs_btree_cur *xfs_rmapbt_mem_cursor(struct xfs_perag *pag,
|
H A D | xfs_refcount_btree.h | 14 struct xfs_btree_cur; 48 extern struct xfs_btree_cur *xfs_refcountbt_init_cursor(struct xfs_mount *mp, 64 void xfs_refcountbt_commit_staged_btree(struct xfs_btree_cur *cur,
|
H A D | xfs_bmap_btree.h | 9 struct xfs_btree_cur; 36 extern int xfs_bmbt_get_maxrecs(struct xfs_btree_cur *, int level); 45 extern struct xfs_btree_cur *xfs_bmbt_init_cursor(struct xfs_mount *, 47 void xfs_bmbt_commit_staged_btree(struct xfs_btree_cur *cur,
|
H A D | xfs_ialloc.c | 37 struct xfs_btree_cur *cur, /* btree cursor */ in xfs_inobt_lookup() 56 struct xfs_btree_cur *cur, /* btree cursor */ in xfs_inobt_update() 137 struct xfs_btree_cur *cur, in xfs_inobt_complain_bad_rec() 159 struct xfs_btree_cur *cur, in xfs_inobt_get_rec() 185 struct xfs_btree_cur *cur, in xfs_inobt_insert_rec() 211 struct xfs_btree_cur *cur; in xfs_inobt_insert() 253 struct xfs_btree_cur *cur) in xfs_check_agi_freecount() 557 struct xfs_btree_cur *cur; in xfs_inobt_insert_sprec() 651 struct xfs_btree_cur *cur; in xfs_finobt_insert_sprec() 981 struct xfs_btree_cur *cur, in xfs_ialloc_next_rec() [all …]
|
/linux/fs/xfs/scrub/ |
H A D | btree.h | 13 struct xfs_btree_cur *cur, int level, int *error); 17 struct xfs_btree_cur *cur, int level, int *error); 21 struct xfs_btree_cur *cur, int level); 22 void xchk_btree_set_preen(struct xfs_scrub *sc, struct xfs_btree_cur *cur, 27 struct xfs_btree_cur *cur, int level); 42 struct xfs_btree_cur *cur; 66 int xchk_btree(struct xfs_scrub *sc, struct xfs_btree_cur *cur,
|
H A D | rcbag_btree.h | 12 struct xfs_btree_cur; 64 struct xfs_btree_cur *rcbagbt_mem_cursor(struct xfs_mount *mp, 69 int rcbagbt_lookup_eq(struct xfs_btree_cur *cur, 71 int rcbagbt_get_rec(struct xfs_btree_cur *cur, struct rcbag_rec *rec, int *has); 72 int rcbagbt_update(struct xfs_btree_cur *cur, const struct rcbag_rec *rec); 73 int rcbagbt_insert(struct xfs_btree_cur *cur, const struct rcbag_rec *rec,
|
H A D | rcbag_btree.c | 39 struct xfs_btree_cur *cur, in rcbagbt_init_rec_from_cur() 52 struct xfs_btree_cur *cur, in rcbagbt_key_diff() 73 struct xfs_btree_cur *cur, in rcbagbt_diff_two_keys() 98 struct xfs_btree_cur *cur, in rcbagbt_keys_inorder() 120 struct xfs_btree_cur *cur, in rcbagbt_recs_inorder() 212 struct xfs_btree_cur * 218 struct xfs_btree_cur *cur; in rcbagbt_mem_cursor() 317 struct xfs_btree_cur *cur, in rcbagbt_lookup_eq() 332 struct xfs_btree_cur *cur, in rcbagbt_get_rec() 350 struct xfs_btree_cur *cur, in rcbagbt_update() [all …]
|
H A D | btree.c | 28 struct xfs_btree_cur *cur, in __xchk_btree_process_error() 64 struct xfs_btree_cur *cur, in xchk_btree_process_error() 75 struct xfs_btree_cur *cur, in xchk_btree_xref_process_error() 87 struct xfs_btree_cur *cur, in __xchk_btree_set_corrupt() 105 struct xfs_btree_cur *cur, in xchk_btree_set_corrupt() 115 struct xfs_btree_cur *cur, in xchk_btree_xref_set_corrupt() 125 struct xfs_btree_cur *cur, in xchk_btree_set_preen() 140 struct xfs_btree_cur *cur = bs->cur; in xchk_btree_rec() 190 struct xfs_btree_cur *cur = bs->cur; in xchk_btree_key() 261 struct xfs_btree_cur *cur = bs->cur; in xchk_btree_block_check_sibling() [all …]
|
H A D | scrub.h | 114 struct xfs_btree_cur *bno_cur; 115 struct xfs_btree_cur *cnt_cur; 116 struct xfs_btree_cur *ino_cur; 117 struct xfs_btree_cur *fino_cur; 118 struct xfs_btree_cur *rmap_cur; 119 struct xfs_btree_cur *refc_cur;
|
H A D | agb_bitmap.c | 54 struct xfs_btree_cur *cur, in xagb_bitmap_visit_btblock() 77 struct xfs_btree_cur *cur) in xagb_bitmap_set_btblocks() 91 struct xfs_btree_cur *cur) in xagb_bitmap_set_btcur_path()
|
H A D | rcbag.c | 78 struct xfs_btree_cur *cur; in rcbag_add() 156 struct xfs_btree_cur *cur; in rcbag_next_edge() 217 struct xfs_btree_cur *cur; in rcbag_remove_ending_at() 273 struct xfs_btree_cur *cur; in rcbag_dump()
|