Home
last modified time | relevance | path

Searched refs:xfs_btree_cur (Results 1 – 25 of 48) sorted by relevance

12

/linux-4.19.296/fs/xfs/libxfs/ !
Dxfs_btree.h101 struct xfs_btree_cur *(*dup_cursor)(struct xfs_btree_cur *);
102 void (*update_cursor)(struct xfs_btree_cur *src,
103 struct xfs_btree_cur *dst);
106 void (*set_root)(struct xfs_btree_cur *cur,
110 int (*alloc_block)(struct xfs_btree_cur *cur,
114 int (*free_block)(struct xfs_btree_cur *cur, struct xfs_buf *bp);
117 void (*update_lastrec)(struct xfs_btree_cur *cur,
123 int (*get_minrecs)(struct xfs_btree_cur *cur, int level);
124 int (*get_maxrecs)(struct xfs_btree_cur *cur, int level);
127 int (*get_dmaxrecs)(struct xfs_btree_cur *cur, int level);
[all …]
Dxfs_refcount.h9 extern int xfs_refcount_lookup_le(struct xfs_btree_cur *cur,
11 extern int xfs_refcount_lookup_ge(struct xfs_btree_cur *cur,
13 extern int xfs_refcount_lookup_eq(struct xfs_btree_cur *cur,
15 extern int xfs_refcount_get_rec(struct xfs_btree_cur *cur,
38 struct xfs_btree_cur *rcur, int error);
42 xfs_extlen_t *new_len, struct xfs_btree_cur **pcur);
44 extern int xfs_refcount_find_shared(struct xfs_btree_cur *cur,
71 extern int xfs_refcount_has_record(struct xfs_btree_cur *cur,
76 extern int xfs_refcount_insert(struct xfs_btree_cur *cur,
Dxfs_rmap.h145 int xfs_rmap_lookup_le(struct xfs_btree_cur *cur, xfs_agblock_t bno,
148 int xfs_rmap_lookup_eq(struct xfs_btree_cur *cur, xfs_agblock_t bno,
151 int xfs_rmap_insert(struct xfs_btree_cur *rcur, xfs_agblock_t agbno,
154 int xfs_rmap_get_rec(struct xfs_btree_cur *cur, struct xfs_rmap_irec *irec,
158 struct xfs_btree_cur *cur,
162 int xfs_rmap_query_range(struct xfs_btree_cur *cur,
165 int xfs_rmap_query_all(struct xfs_btree_cur *cur, xfs_rmap_query_range_fn fn,
201 struct xfs_btree_cur *rcur, int error);
205 xfs_exntst_t state, struct xfs_btree_cur **pcur);
207 int xfs_rmap_find_left_neighbor(struct xfs_btree_cur *cur, xfs_agblock_t bno,
[all …]
Dxfs_ialloc_btree.c28 struct xfs_btree_cur *cur, in xfs_inobt_get_minrecs()
34 STATIC struct xfs_btree_cur *
36 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()
74 struct xfs_btree_cur *cur, in __xfs_inobt_alloc_block()
112 struct xfs_btree_cur *cur, in xfs_inobt_alloc_block()
122 struct xfs_btree_cur *cur, in xfs_finobt_alloc_block()
135 struct xfs_btree_cur *cur, in __xfs_inobt_free_block()
149 struct xfs_btree_cur *cur, in xfs_inobt_free_block()
[all …]
Dxfs_ialloc.h14 struct xfs_btree_cur;
137 int xfs_inobt_lookup(struct xfs_btree_cur *cur, xfs_agino_t ino,
143 int xfs_inobt_get_rec(struct xfs_btree_cur *cur,
160 int xfs_ialloc_has_inodes_at_extent(struct xfs_btree_cur *cur,
162 int xfs_ialloc_has_inode_record(struct xfs_btree_cur *cur, xfs_agino_t low,
164 int xfs_ialloc_count_inodes(struct xfs_btree_cur *cur, xfs_agino_t *count,
166 int xfs_inobt_insert_rec(struct xfs_btree_cur *cur, uint16_t holemask,
Dxfs_alloc_btree.c24 STATIC struct xfs_btree_cur *
26 struct xfs_btree_cur *cur) in xfs_allocbt_dup_cursor()
35 struct xfs_btree_cur *cur, in xfs_allocbt_set_root()
57 struct xfs_btree_cur *cur, in xfs_allocbt_alloc_block()
87 struct xfs_btree_cur *cur, in xfs_allocbt_free_block()
111 struct xfs_btree_cur *cur, in xfs_allocbt_update_lastrec()
171 struct xfs_btree_cur *cur, in xfs_allocbt_get_minrecs()
179 struct xfs_btree_cur *cur, in xfs_allocbt_get_maxrecs()
218 struct xfs_btree_cur *cur, in xfs_allocbt_init_rec_from_cur()
227 struct xfs_btree_cur *cur, in xfs_allocbt_init_ptr_from_cur()
[all …]
Dxfs_alloc.h10 struct xfs_btree_cur;
202 struct xfs_btree_cur *cur, /* btree cursor */
209 struct xfs_btree_cur *cur, /* btree cursor */
216 struct xfs_btree_cur *cur, /* btree cursor */
234 struct xfs_btree_cur *cur,
238 int xfs_alloc_query_range(struct xfs_btree_cur *cur,
242 int xfs_alloc_query_all(struct xfs_btree_cur *cur, xfs_alloc_query_range_fn fn,
245 int xfs_alloc_has_record(struct xfs_btree_cur *cur, xfs_agblock_t bno,
Dxfs_refcount_btree.c25 static struct xfs_btree_cur *
27 struct xfs_btree_cur *cur) in xfs_refcountbt_dup_cursor()
35 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()
127 struct xfs_btree_cur *cur, in xfs_refcountbt_get_minrecs()
135 struct xfs_btree_cur *cur, in xfs_refcountbt_get_maxrecs()
163 struct xfs_btree_cur *cur, in xfs_refcountbt_init_rec_from_cur()
173 struct xfs_btree_cur *cur, in xfs_refcountbt_init_ptr_from_cur()
185 struct xfs_btree_cur *cur, in xfs_refcountbt_key_diff()
[all …]
Dxfs_bmap_btree.c165 STATIC struct xfs_btree_cur *
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()
282 struct xfs_btree_cur *cur, in xfs_bmbt_free_block()
302 struct xfs_btree_cur *cur, in xfs_bmbt_get_minrecs()
320 struct xfs_btree_cur *cur, in xfs_bmbt_get_maxrecs()
348 struct xfs_btree_cur *cur, in xfs_bmbt_get_dmaxrecs()
[all …]
Dxfs_btree.c61 struct xfs_btree_cur *cur, in __xfs_btree_check_lblock()
102 struct xfs_btree_cur *cur, in xfs_btree_check_lblock()
127 struct xfs_btree_cur *cur, in __xfs_btree_check_sblock()
166 struct xfs_btree_cur *cur, in xfs_btree_check_sblock()
190 struct xfs_btree_cur *cur, /* btree cursor */ in xfs_btree_check_block()
204 struct xfs_btree_cur *cur, in xfs_btree_check_lptr()
216 struct xfs_btree_cur *cur, in xfs_btree_check_sptr()
231 struct xfs_btree_cur *cur, in xfs_btree_check_ptr()
342 struct xfs_btree_cur *cur, in xfs_btree_free_block()
523 static inline size_t xfs_btree_block_len(struct xfs_btree_cur *cur) in xfs_btree_block_len()
[all …]
Dxfs_rmap_btree.c53 static struct xfs_btree_cur *
55 struct xfs_btree_cur *cur) in xfs_rmapbt_dup_cursor()
63 struct xfs_btree_cur *cur, in xfs_rmapbt_set_root()
85 struct xfs_btree_cur *cur, in xfs_rmapbt_alloc_block()
124 struct xfs_btree_cur *cur, in xfs_rmapbt_free_block()
152 struct xfs_btree_cur *cur, in xfs_rmapbt_get_minrecs()
160 struct xfs_btree_cur *cur, in xfs_rmapbt_get_maxrecs()
207 struct xfs_btree_cur *cur, in xfs_rmapbt_init_rec_from_cur()
219 struct xfs_btree_cur *cur, in xfs_rmapbt_init_ptr_from_cur()
231 struct xfs_btree_cur *cur, in xfs_rmapbt_key_diff()
[all …]
Dxfs_refcount.c36 STATIC int __xfs_refcount_cow_alloc(struct xfs_btree_cur *rcur,
38 STATIC int __xfs_refcount_cow_free(struct xfs_btree_cur *rcur,
47 struct xfs_btree_cur *cur, in xfs_refcount_lookup_le()
64 struct xfs_btree_cur *cur, in xfs_refcount_lookup_ge()
81 struct xfs_btree_cur *cur, in xfs_refcount_lookup_eq()
108 struct xfs_btree_cur *cur, in xfs_refcount_get_rec()
168 struct xfs_btree_cur *cur, in xfs_refcount_update()
192 struct xfs_btree_cur *cur, in xfs_refcount_insert()
222 struct xfs_btree_cur *cur, in xfs_refcount_delete()
336 struct xfs_btree_cur *cur, in xfs_refcount_split_extent()
[all …]
Dxfs_bmap_btree.h9 struct xfs_btree_cur;
98 extern int xfs_bmbt_get_maxrecs(struct xfs_btree_cur *, int level);
106 extern struct xfs_btree_cur *xfs_bmbt_init_cursor(struct xfs_mount *,
Dxfs_alloc_btree.h14 struct xfs_btree_cur;
48 extern struct xfs_btree_cur *xfs_allocbt_init_cursor(struct xfs_mount *,
Dxfs_refcount_btree.h14 struct xfs_btree_cur;
46 extern struct xfs_btree_cur *xfs_refcountbt_init_cursor(struct xfs_mount *mp,
Dxfs_ialloc_btree.h14 struct xfs_btree_cur;
48 extern struct xfs_btree_cur *xfs_inobt_init_cursor(struct xfs_mount *,
Dxfs_rmap_btree.h10 struct xfs_btree_cur;
43 struct xfs_btree_cur *xfs_rmapbt_init_cursor(struct xfs_mount *mp,
Dxfs_rmap.c38 struct xfs_btree_cur *cur, in xfs_rmap_lookup_le()
60 struct xfs_btree_cur *cur, in xfs_rmap_lookup_eq()
83 struct xfs_btree_cur *cur, in xfs_rmap_update()
107 struct xfs_btree_cur *rcur, in xfs_rmap_insert()
143 struct xfs_btree_cur *rcur, in xfs_rmap_delete()
191 struct xfs_btree_cur *cur, in xfs_rmap_get_rec()
252 struct xfs_btree_cur *cur, in xfs_rmap_find_left_neighbor_helper()
282 struct xfs_btree_cur *cur, in xfs_rmap_find_left_neighbor()
328 struct xfs_btree_cur *cur, in xfs_rmap_lookup_le_range_helper()
360 struct xfs_btree_cur *cur, in xfs_rmap_lookup_le_range()
[all …]
Dxfs_ialloc.c53 struct xfs_btree_cur *cur, /* btree cursor */ in xfs_inobt_lookup()
72 struct xfs_btree_cur *cur, /* btree cursor */ in xfs_inobt_update()
120 struct xfs_btree_cur *cur, in xfs_inobt_get_rec()
170 struct xfs_btree_cur *cur, in xfs_inobt_insert_rec()
196 struct xfs_btree_cur *cur; in xfs_inobt_insert()
237 struct xfs_btree_cur *cur, in xfs_check_agi_freecount()
545 struct xfs_btree_cur *cur; in xfs_inobt_insert_sprec()
1056 struct xfs_btree_cur *cur, in xfs_ialloc_next_rec()
1084 struct xfs_btree_cur *cur, in xfs_ialloc_get_rec()
1143 struct xfs_btree_cur *cur, *tcur; in xfs_dialloc_ag_inobt()
[all …]
/linux-4.19.296/fs/xfs/scrub/ !
Dbtree.h13 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);
25 struct xfs_btree_cur *cur, int level);
35 struct xfs_btree_cur *cur;
47 int xchk_btree(struct xfs_scrub *sc, struct xfs_btree_cur *cur,
Dscrub.h48 struct xfs_btree_cur *bno_cur;
49 struct xfs_btree_cur *cnt_cur;
50 struct xfs_btree_cur *ino_cur;
51 struct xfs_btree_cur *fino_cur;
52 struct xfs_btree_cur *rmap_cur;
53 struct xfs_btree_cur *refc_cur;
Dbtree.c34 struct xfs_btree_cur *cur, in __xchk_btree_process_error()
69 struct xfs_btree_cur *cur, in xchk_btree_process_error()
80 struct xfs_btree_cur *cur, in xchk_btree_xref_process_error()
92 struct xfs_btree_cur *cur, in __xchk_btree_set_corrupt()
110 struct xfs_btree_cur *cur, in xchk_btree_set_corrupt()
120 struct xfs_btree_cur *cur, in xchk_btree_xref_set_corrupt()
135 struct xfs_btree_cur *cur = bs->cur; in xchk_btree_rec()
184 struct xfs_btree_cur *cur = bs->cur; in xchk_btree_key()
258 struct xfs_btree_cur *cur = bs->cur; in xchk_btree_block_check_sibling()
261 struct xfs_btree_cur *ncur = NULL; in xchk_btree_block_check_sibling()
[all …]
Dbitmap.h32 struct xfs_btree_cur *cur);
34 struct xfs_btree_cur *cur);
Dbitmap.c257 struct xfs_btree_cur *cur) in xfs_bitmap_set_btcur_path()
280 struct xfs_btree_cur *cur, in xfs_bitmap_collect_btblock()
300 struct xfs_btree_cur *cur) in xfs_bitmap_set_btblocks()
/linux-4.19.296/fs/xfs/ !
Dxfs_trans_refcount.c50 struct xfs_btree_cur **pcur) in xfs_trans_log_finish_refcount_update()
186 (struct xfs_btree_cur **)state); in xfs_refcount_update_finish_item()
206 struct xfs_btree_cur *rcur = state; in xfs_refcount_update_finish_cleanup()

12