Home
last modified time | relevance | path

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

/linux-6.6.21/fs/btrfs/
Dulist.c49 void ulist_init(struct ulist *ulist) in ulist_init() argument
51 INIT_LIST_HEAD(&ulist->nodes); in ulist_init()
52 ulist->root = RB_ROOT; in ulist_init()
53 ulist->nnodes = 0; in ulist_init()
64 void ulist_release(struct ulist *ulist) in ulist_release() argument
69 list_for_each_entry_safe(node, next, &ulist->nodes, list) { in ulist_release()
72 ulist->root = RB_ROOT; in ulist_release()
73 INIT_LIST_HEAD(&ulist->nodes); in ulist_release()
84 void ulist_reinit(struct ulist *ulist) in ulist_reinit() argument
86 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.h126 struct ulist *old_roots;
357 u64 num_bytes, struct ulist *old_roots,
358 struct ulist *new_roots);
Dbackref.h90 struct ulist *refs;
96 struct ulist *roots;
105 void (*cache_store)(u64 leaf_bytenr, const struct ulist *root_ids,
154 struct ulist refs;
Dqgroup.c964 struct ulist *ulist = NULL; in btrfs_quota_enable() local
986 ulist = ulist_alloc(GFP_KERNEL); in btrfs_quota_enable()
987 if (!ulist) { in btrfs_quota_enable()
1031 fs_info->qgroup_ulist = ulist; in btrfs_quota_enable()
1032 ulist = NULL; in btrfs_quota_enable()
1225 ulist_free(ulist); in btrfs_quota_enable()
1379 struct ulist *tmp, u64 ref_root, in __qgroup_excl_accounting()
1456 struct ulist *tmp, u64 src, u64 dst, in quick_update_accounting()
1488 struct ulist *tmp; in btrfs_add_qgroup_relation()
1554 struct ulist *tmp; in __del_qgroup_relation()
[all …]
DMakefile32 backref.o ulist.o qgroup.o send.o dev-replace.o raid56.o \
Dextent_io.h144 struct ulist range_changed;
Dbackref.c473 struct ulist *parents, in add_all_parents()
597 struct prelim_ref *ref, struct ulist *parents) in resolve_indirect_ref()
707 static void free_leaf_list(struct ulist *ulist) in free_leaf_list() argument
713 while ((node = ulist_next(ulist, &uiter))) in free_leaf_list()
716 ulist_free(ulist); in free_leaf_list()
742 struct ulist *parents; in resolve_indirect_refs()
2414 struct ulist *refs; in iterate_extent_inodes()
Dfs.h662 struct ulist *qgroup_ulist;
Dsend.c1439 static void store_backref_cache(u64 leaf_bytenr, const struct ulist *root_ids, in store_backref_cache()
/linux-6.6.21/tools/perf/
Dbuiltin-probe.c445 struct strlist *klist = NULL, *ulist = NULL; in perf_del_probe_events() local
462 ulist = strlist__new(NULL, NULL); in perf_del_probe_events()
463 if (!klist || !ulist) { in perf_del_probe_events()
479 ret2 = probe_file__get_events(ufd, filter, ulist); in perf_del_probe_events()
481 strlist__for_each_entry(ent, ulist) in perf_del_probe_events()
484 ret2 = probe_file__del_strlist(ufd, ulist); in perf_del_probe_events()
502 strlist__delete(ulist); in perf_del_probe_events()
/linux-6.6.21/fs/btrfs/tests/
Dqgroup-tests.c211 struct ulist *old_roots = NULL; in test_no_shared_qgroup()
212 struct ulist *new_roots = NULL; in test_no_shared_qgroup()
323 struct ulist *old_roots = NULL; in test_multiple_refs()
324 struct ulist *new_roots = NULL; in test_multiple_refs()