/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_btree.h | 120 struct xfs_btree_cur *(*dup_cursor)(struct xfs_btree_cur *); 268 struct xfs_btree_cur struct 599 struct xfs_btree_cur *cur, in xfs_btree_keycmp_lt() 608 struct xfs_btree_cur *cur, in xfs_btree_keycmp_gt() 617 struct xfs_btree_cur *cur, in xfs_btree_keycmp_eq() 626 struct xfs_btree_cur *cur, in xfs_btree_keycmp_le() 635 struct xfs_btree_cur *cur, in xfs_btree_keycmp_ge() 644 struct xfs_btree_cur *cur, in xfs_btree_keycmp_ne() 654 struct xfs_btree_cur *cur, in xfs_btree_masked_keycmp_lt() 685 struct xfs_btree_cur *cur, in xfs_btree_islastblock() [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, 46 void xfs_btree_commit_ifakeroot(struct xfs_btree_cur *cur, struct xfs_trans *tp, 50 typedef int (*xfs_btree_bload_get_record_fn)(struct xfs_btree_cur *cur, void *priv); 51 typedef int (*xfs_btree_bload_claim_block_fn)(struct xfs_btree_cur *cur, 53 typedef size_t (*xfs_btree_bload_iroot_size_fn)(struct xfs_btree_cur *cur, 112 int xfs_btree_bload_compute_geometry(struct xfs_btree_cur *cur, 114 int xfs_btree_bload(struct xfs_btree_cur *cur, struct xfs_btree_bload *bbl,
|
H A D | xfs_refcount.h | 12 struct xfs_btree_cur; 16 extern int xfs_refcount_lookup_le(struct xfs_btree_cur *cur, 18 extern int xfs_refcount_lookup_ge(struct xfs_btree_cur *cur, 20 extern int xfs_refcount_lookup_eq(struct xfs_btree_cur *cur, 22 extern int xfs_refcount_get_rec(struct xfs_btree_cur *cur, 80 struct xfs_btree_cur *rcur, int error); 82 struct xfs_refcount_intent *ri, struct xfs_btree_cur **pcur); 84 extern int xfs_refcount_find_shared(struct xfs_btree_cur *cur, 114 extern int xfs_refcount_has_records(struct xfs_btree_cur *cur, 120 xfs_failaddr_t xfs_refcount_check_irec(struct xfs_btree_cur *cur, [all …]
|
H A D | xfs_rmap.h | 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, 138 struct xfs_btree_cur *cur, 142 int xfs_rmap_query_range(struct xfs_btree_cur *cur, 186 struct xfs_btree_cur *rcur, int error); 188 struct xfs_btree_cur **pcur); 198 xfs_failaddr_t xfs_rmap_check_irec(struct xfs_btree_cur *cur, 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_ialloc_btree.c | 29 struct xfs_btree_cur *cur, in xfs_inobt_get_minrecs() 35 STATIC struct xfs_btree_cur * 37 struct xfs_btree_cur *cur) in xfs_inobt_dup_cursor() 45 struct xfs_btree_cur *cur, in xfs_inobt_set_root() 59 struct xfs_btree_cur *cur, in xfs_finobt_set_root() 75 struct xfs_btree_cur *cur, in xfs_inobt_mod_blockcount() 93 struct xfs_btree_cur *cur, in __xfs_inobt_alloc_block() 155 struct xfs_btree_cur *cur, in __xfs_inobt_free_block() 169 struct xfs_btree_cur *cur, in xfs_inobt_free_block() 475 struct xfs_btree_cur * [all …]
|
H A D | xfs_alloc_btree.c | 25 STATIC struct xfs_btree_cur * 27 struct xfs_btree_cur *cur) in xfs_allocbt_dup_cursor() 35 struct xfs_btree_cur *cur, in xfs_allocbt_set_root() 54 struct xfs_btree_cur *cur, in xfs_allocbt_alloc_block() 84 struct xfs_btree_cur *cur, in xfs_allocbt_free_block() 108 struct xfs_btree_cur *cur, in xfs_allocbt_update_lastrec() 166 struct xfs_btree_cur *cur, in xfs_allocbt_get_minrecs() 174 struct xfs_btree_cur *cur, in xfs_allocbt_get_maxrecs() 213 struct xfs_btree_cur *cur, in xfs_allocbt_init_rec_from_cur() 222 struct xfs_btree_cur *cur, in xfs_allocbt_init_ptr_from_cur() [all …]
|
H A D | xfs_refcount_btree.c | 27 static struct xfs_btree_cur * 29 struct xfs_btree_cur *cur) in xfs_refcountbt_dup_cursor() 37 struct xfs_btree_cur *cur, in xfs_refcountbt_set_root() 57 struct xfs_btree_cur *cur, in xfs_refcountbt_alloc_block() 102 struct xfs_btree_cur *cur, in xfs_refcountbt_free_block() 120 struct xfs_btree_cur *cur, in xfs_refcountbt_get_minrecs() 128 struct xfs_btree_cur *cur, in xfs_refcountbt_get_maxrecs() 156 struct xfs_btree_cur *cur, in xfs_refcountbt_init_rec_from_cur() 171 struct xfs_btree_cur *cur, in xfs_refcountbt_init_ptr_from_cur() 362 struct xfs_btree_cur * [all …]
|
H A D | xfs_ialloc.h | 14 struct xfs_btree_cur; 74 int xfs_inobt_lookup(struct xfs_btree_cur *cur, xfs_agino_t ino, 80 int xfs_inobt_get_rec(struct xfs_btree_cur *cur, 96 xfs_failaddr_t xfs_inobt_check_irec(struct xfs_btree_cur *cur, 98 int xfs_ialloc_has_inodes_at_extent(struct xfs_btree_cur *cur, 101 int xfs_ialloc_count_inodes(struct xfs_btree_cur *cur, xfs_agino_t *count, 103 int xfs_inobt_insert_rec(struct xfs_btree_cur *cur, uint16_t holemask,
|
H A D | xfs_rmap_btree.c | 52 static struct xfs_btree_cur * 54 struct xfs_btree_cur *cur) in xfs_rmapbt_dup_cursor() 62 struct xfs_btree_cur *cur, in xfs_rmapbt_set_root() 81 struct xfs_btree_cur *cur, in xfs_rmapbt_alloc_block() 118 struct xfs_btree_cur *cur, in xfs_rmapbt_free_block() 145 struct xfs_btree_cur *cur, in xfs_rmapbt_get_minrecs() 153 struct xfs_btree_cur *cur, in xfs_rmapbt_get_maxrecs() 210 struct xfs_btree_cur *cur, in xfs_rmapbt_init_rec_from_cur() 222 struct xfs_btree_cur *cur, in xfs_rmapbt_init_ptr_from_cur() 521 struct xfs_btree_cur * [all …]
|
H A D | xfs_ialloc_btree.h | 14 struct xfs_btree_cur; 49 extern struct xfs_btree_cur *xfs_inobt_init_cursor(struct xfs_perag *pag, 51 struct xfs_btree_cur *xfs_inobt_stage_cursor(struct xfs_perag *pag, 70 xfs_btnum_t btnum, struct xfs_btree_cur **curpp, 73 void xfs_inobt_commit_staged_btree(struct xfs_btree_cur *cur,
|
H A D | xfs_btree_staging.c | 45 STATIC struct xfs_btree_cur * 47 struct xfs_btree_cur *cur) in xfs_btree_fakeroot_dup_cursor() 62 struct xfs_btree_cur *cur, in xfs_btree_fakeroot_alloc_block() 77 struct xfs_btree_cur *cur, in xfs_btree_fakeroot_free_block() 87 struct xfs_btree_cur *cur, in xfs_btree_fakeroot_init_ptr_from_cur() 115 struct xfs_btree_cur *cur, in xfs_btree_afakeroot_set_root() 133 struct xfs_btree_cur *cur, in xfs_btree_stage_afakeroot() 164 struct xfs_btree_cur *cur, in xfs_btree_commit_afakeroot() 213 struct xfs_btree_cur *cur, in xfs_btree_stage_ifakeroot() 247 struct xfs_btree_cur *cur, in xfs_btree_commit_ifakeroot() [all …]
|
H A D | xfs_bmap_btree.c | 167 struct xfs_btree_cur *cur) in xfs_bmbt_dup_cursor() 169 struct xfs_btree_cur *new; in xfs_bmbt_dup_cursor() 185 struct xfs_btree_cur *src, in xfs_bmbt_update_cursor() 186 struct xfs_btree_cur *dst) in xfs_bmbt_update_cursor() 199 struct xfs_btree_cur *cur, in xfs_bmbt_alloc_block() 263 struct xfs_btree_cur *cur, in xfs_bmbt_free_block() 287 struct xfs_btree_cur *cur, in xfs_bmbt_get_minrecs() 305 struct xfs_btree_cur *cur, in xfs_bmbt_get_maxrecs() 333 struct xfs_btree_cur *cur, in xfs_bmbt_get_dmaxrecs() 362 struct xfs_btree_cur *cur, in xfs_bmbt_init_rec_from_cur() [all …]
|
H A D | xfs_alloc.h | 10 struct xfs_btree_cur; 166 struct xfs_btree_cur *cur, /* btree cursor */ 173 struct xfs_btree_cur *cur, /* btree cursor */ 180 struct xfs_btree_cur *cur, /* btree cursor */ 188 xfs_failaddr_t xfs_alloc_check_irec(struct xfs_btree_cur *cur, 206 struct xfs_btree_cur *cur, 210 int xfs_alloc_query_range(struct xfs_btree_cur *cur, 214 int xfs_alloc_query_all(struct xfs_btree_cur *cur, xfs_alloc_query_range_fn fn, 217 int xfs_alloc_has_records(struct xfs_btree_cur *cur, xfs_agblock_t bno,
|
H A D | xfs_btree.c | 68 struct xfs_btree_cur *cur, in xfs_btree_check_lblock_siblings() 95 struct xfs_btree_cur *cur, in xfs_btree_check_sblock_siblings() 124 struct xfs_btree_cur *cur, in __xfs_btree_check_lblock() 167 struct xfs_btree_cur *cur, in xfs_btree_check_lblock() 191 struct xfs_btree_cur *cur, in __xfs_btree_check_sblock() 233 struct xfs_btree_cur *cur, in xfs_btree_check_sblock() 270 struct xfs_btree_cur *cur, in xfs_btree_check_lptr() 282 struct xfs_btree_cur *cur, in xfs_btree_check_sptr() 297 struct xfs_btree_cur *cur, in xfs_btree_check_ptr() 408 struct xfs_btree_cur *cur, in xfs_btree_free_block() [all …]
|
H A D | xfs_alloc_btree.h | 14 struct xfs_btree_cur; 50 extern struct xfs_btree_cur *xfs_allocbt_init_cursor(struct xfs_mount *mp, 53 struct xfs_btree_cur *xfs_allocbt_stage_cursor(struct xfs_mount *mp, 60 void xfs_allocbt_commit_staged_btree(struct xfs_btree_cur *cur,
|
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, 51 struct xfs_btree_cur *xfs_refcountbt_stage_cursor(struct xfs_mount *mp, 65 void xfs_refcountbt_commit_staged_btree(struct xfs_btree_cur *cur,
|
H A D | xfs_rmap_btree.h | 10 struct xfs_btree_cur; 44 struct xfs_btree_cur *xfs_rmapbt_init_cursor(struct xfs_mount *mp, 47 struct xfs_btree_cur *xfs_rmapbt_stage_cursor(struct xfs_mount *mp, 49 void xfs_rmapbt_commit_staged_btree(struct xfs_btree_cur *cur,
|
H A D | xfs_refcount.c | 48 struct xfs_btree_cur *cur, in xfs_refcount_lookup_le() 68 struct xfs_btree_cur *cur, in xfs_refcount_lookup_ge() 88 struct xfs_btree_cur *cur, in xfs_refcount_lookup_eq() 126 struct xfs_btree_cur *cur, in xfs_refcount_check_irec() 149 struct xfs_btree_cur *cur, in xfs_refcount_complain_bad_rec() 169 struct xfs_btree_cur *cur, in xfs_refcount_get_rec() 197 struct xfs_btree_cur *cur, in xfs_refcount_update() 226 struct xfs_btree_cur *cur, in xfs_refcount_insert() 262 struct xfs_btree_cur *cur, in xfs_refcount_delete() 383 struct xfs_btree_cur *cur, in xfs_refcount_split_extent() [all …]
|
H A D | xfs_defer.h | 9 struct xfs_btree_cur; 55 struct list_head *item, struct xfs_btree_cur **state); 57 struct xfs_btree_cur *state, int error);
|
H A D | xfs_bmap_btree.h | 9 struct xfs_btree_cur; 99 extern int xfs_bmbt_get_maxrecs(struct xfs_btree_cur *, int level); 107 extern struct xfs_btree_cur *xfs_bmbt_init_cursor(struct xfs_mount *,
|
H A D | xfs_rmap.c | 35 struct xfs_btree_cur *cur, in xfs_rmap_lookup_le() 71 struct xfs_btree_cur *cur, in xfs_rmap_lookup_eq() 94 struct xfs_btree_cur *cur, in xfs_rmap_update() 118 struct xfs_btree_cur *rcur, in xfs_rmap_insert() 160 struct xfs_btree_cur *rcur, in xfs_rmap_delete() 211 struct xfs_btree_cur *cur, in xfs_rmap_check_irec() 267 struct xfs_btree_cur *cur, in xfs_rmap_complain_bad_rec() 288 struct xfs_btree_cur *cur, in xfs_rmap_get_rec() 317 struct xfs_btree_cur *cur, in xfs_rmap_find_left_neighbor_helper() 346 struct xfs_btree_cur *cur, in xfs_rmap_find_left_neighbor() [all …]
|
H A D | xfs_ialloc.c | 101 struct xfs_btree_cur *cur, in xfs_inobt_check_irec() 131 struct xfs_btree_cur *cur, in xfs_inobt_complain_bad_rec() 153 struct xfs_btree_cur *cur, in xfs_inobt_get_rec() 179 struct xfs_btree_cur *cur, in xfs_inobt_insert_rec() 205 struct xfs_btree_cur *cur; in xfs_inobt_insert() 244 struct xfs_btree_cur *cur) in xfs_check_agi_freecount() 550 struct xfs_btree_cur *cur; in xfs_inobt_insert_sprec() 927 struct xfs_btree_cur *cur, in xfs_ialloc_next_rec() 956 struct xfs_btree_cur *cur, in xfs_ialloc_get_rec() 2243 struct xfs_btree_cur *cur; in xfs_imap_lookup() [all …]
|
/openbmc/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 | scrub.h | 61 struct xfs_btree_cur *bno_cur; 62 struct xfs_btree_cur *cnt_cur; 63 struct xfs_btree_cur *ino_cur; 64 struct xfs_btree_cur *fino_cur; 65 struct xfs_btree_cur *rmap_cur; 66 struct xfs_btree_cur *refc_cur;
|
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() 268 struct xfs_btree_cur *ncur = NULL; in xchk_btree_block_check_sibling() [all …]
|