Home
last modified time | relevance | path

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

/Linux-v4.19/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.c411 struct ulist *parents, struct prelim_ref *ref, in add_all_parents()
503 struct prelim_ref *ref, struct ulist *parents, in resolve_indirect_ref()
615 struct ulist *parents; in resolve_indirect_refs()
1111 u64 time_seq, struct ulist *refs,
1112 struct ulist *roots, const u64 *extent_item_pos,
1331 static void free_leaf_list(struct ulist *blocks)
1359 u64 time_seq, struct ulist **leafs,
1393 u64 time_seq, struct ulist **roots,
1396 struct ulist *tmp;
1432 u64 time_seq, struct ulist **roots,
[all …]
Dqgroup.c1136 struct ulist *tmp, u64 ref_root, in __qgroup_excl_accounting()
1213 struct ulist *tmp, u64 src, u64 dst, in quick_update_accounting()
1246 struct ulist *tmp; in btrfs_add_qgroup_relation()
1310 struct ulist *tmp; in __del_qgroup_relation()
1558 struct ulist *old_root; in btrfs_qgroup_trace_extent_post()
1834 struct ulist *roots, struct ulist *tmp, in qgroup_update_refcnt()
1835 struct ulist *qgroups, u64 seq, int update_old) in qgroup_update_refcnt()
1923 struct ulist *qgroups, in qgroup_update_counters()
2018 static int maybe_fs_roots(struct ulist *roots) in maybe_fs_roots()
2041 u64 num_bytes, struct ulist *old_roots, in btrfs_qgroup_account_extent()
[all …]
Dbackref.h45 u64 time_seq, struct ulist **roots, bool ignore_offset);
DMakefile12 reada.o backref.o ulist.o qgroup.o send.o dev-replace.o raid56.o \
Dextent_io.h208 struct ulist range_changed;
Dctree.h1056 struct ulist *qgroup_ulist;
/Linux-v4.19/tools/perf/
Dbuiltin-probe.c433 struct strlist *klist = NULL, *ulist = NULL; in perf_del_probe_events() local
450 ulist = strlist__new(NULL, NULL); in perf_del_probe_events()
451 if (!klist || !ulist) { in perf_del_probe_events()
466 ret2 = probe_file__get_events(ufd, filter, ulist); in perf_del_probe_events()
468 strlist__for_each_entry(ent, ulist) in perf_del_probe_events()
471 ret2 = probe_file__del_strlist(ufd, ulist); in perf_del_probe_events()
488 strlist__delete(ulist); in perf_del_probe_events()
/Linux-v4.19/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()
313 struct ulist *old_roots = NULL; in test_multiple_refs()
314 struct ulist *new_roots = NULL; in test_multiple_refs()