Home
last modified time | relevance | path

Searched refs:ulist (Results 1 – 10 of 10) sorted by relevance

/linux-4.19.296/fs/btrfs/
Dulist.c47 void ulist_init(struct ulist *ulist) in ulist_init() argument
49 INIT_LIST_HEAD(&ulist->nodes); in ulist_init()
50 ulist->root = RB_ROOT; in ulist_init()
51 ulist->nnodes = 0; in ulist_init()
61 void ulist_release(struct ulist *ulist) in ulist_release() argument
66 list_for_each_entry_safe(node, next, &ulist->nodes, list) { in ulist_release()
69 ulist->root = RB_ROOT; in ulist_release()
70 INIT_LIST_HEAD(&ulist->nodes); in ulist_release()
80 void ulist_reinit(struct ulist *ulist) in ulist_reinit() argument
82 ulist_release(ulist); in ulist_reinit()
[all …]
Dulist.h35 struct ulist { struct
45 void ulist_init(struct ulist *ulist); argument
46 void ulist_release(struct ulist *ulist);
47 void ulist_reinit(struct ulist *ulist);
48 struct ulist *ulist_alloc(gfp_t gfp_mask);
49 void ulist_free(struct ulist *ulist);
50 int ulist_add(struct ulist *ulist, u64 val, u64 aux, gfp_t gfp_mask);
51 int ulist_add_merge(struct ulist *ulist, u64 val, u64 aux,
53 int ulist_del(struct ulist *ulist, u64 val, u64 aux);
56 static inline int ulist_add_merge_ptr(struct ulist *ulist, u64 val, void *aux, in ulist_add_merge_ptr() argument
[all …]
Dqgroup.h48 struct ulist *old_roots;
240 u64 num_bytes, struct ulist *old_roots,
241 struct ulist *new_roots);
Dbackref.c412 struct ulist *parents, struct prelim_ref *ref, in add_all_parents()
504 struct prelim_ref *ref, struct ulist *parents, in resolve_indirect_ref()
592 static void free_leaf_list(struct ulist *ulist) in free_leaf_list() argument
598 while ((node = ulist_next(ulist, &uiter))) in free_leaf_list()
601 ulist_free(ulist); in free_leaf_list()
628 struct ulist *parents; in resolve_indirect_refs()
1143 u64 time_seq, struct ulist *refs,
1144 struct ulist *roots, const u64 *extent_item_pos,
1389 u64 time_seq, struct ulist **leafs,
1423 u64 time_seq, struct ulist **roots,
[all …]
Dbackref.h45 u64 time_seq, struct ulist **roots, bool ignore_offset);
Dqgroup.c1160 struct ulist *tmp, u64 ref_root, in __qgroup_excl_accounting()
1237 struct ulist *tmp, u64 src, u64 dst, in quick_update_accounting()
1270 struct ulist *tmp; in btrfs_add_qgroup_relation()
1334 struct ulist *tmp; in __del_qgroup_relation()
1582 struct ulist *old_root; in btrfs_qgroup_trace_extent_post()
1858 struct ulist *roots, struct ulist *tmp, in qgroup_update_refcnt()
1859 struct ulist *qgroups, u64 seq, int update_old) in qgroup_update_refcnt()
1947 struct ulist *qgroups, in qgroup_update_counters()
2042 static int maybe_fs_roots(struct ulist *roots) in maybe_fs_roots()
2065 u64 num_bytes, struct ulist *old_roots, in btrfs_qgroup_account_extent()
[all …]
DMakefile12 reada.o backref.o ulist.o qgroup.o send.o dev-replace.o raid56.o \
Dextent_io.h203 struct ulist range_changed;
Dctree.h1055 struct ulist *qgroup_ulist;
/linux-4.19.296/fs/btrfs/tests/
Dqgroup-tests.c212 struct ulist *old_roots = NULL; in test_no_shared_qgroup()
213 struct ulist *new_roots = NULL; in test_no_shared_qgroup()
315 struct ulist *old_roots = NULL; in test_multiple_refs()
316 struct ulist *new_roots = NULL; in test_multiple_refs()