Home
last modified time | relevance | path

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

/openbmc/linux/fs/btrfs/
H A Dulist.c49 void ulist_init(struct ulist *ulist) in ulist_init() argument
64 void ulist_release(struct ulist *ulist) in ulist_release() argument
84 void ulist_reinit(struct ulist *ulist) in ulist_reinit() argument
99 struct ulist *ulist = kmalloc(sizeof(*ulist), gfp_mask); in ulist_alloc() local
101 if (!ulist) in ulist_alloc()
106 return ulist; in ulist_alloc()
116 void ulist_free(struct ulist *ulist) in ulist_free() argument
118 if (!ulist) in ulist_free()
121 kfree(ulist); in ulist_free()
198 int ulist_add_merge(struct ulist *ulist, u64 val, u64 aux, in ulist_add_merge() argument
[all …]
H A 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 …]
H A Dqgroup.h126 struct ulist *old_roots;
357 u64 num_bytes, struct ulist *old_roots,
358 struct ulist *new_roots);
H A 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;
H A Dqgroup.c964 struct ulist *ulist = NULL; in btrfs_quota_enable() local
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()
1488 struct ulist *tmp; in btrfs_add_qgroup_relation()
1554 struct ulist *tmp; in __del_qgroup_relation()
2487 struct ulist *roots, struct ulist *tmp, in qgroup_update_refcnt()
2576 struct ulist *qgroups, in qgroup_update_counters()
2695 struct ulist *new_roots) in btrfs_qgroup_account_extent()
[all …]
H A DMakefile32 backref.o ulist.o qgroup.o send.o dev-replace.o raid56.o \
H A Dextent_io.h144 struct ulist range_changed;
H A 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()
H A Dfs.h662 struct ulist *qgroup_ulist;
H A Dsend.c1452 static void store_backref_cache(u64 leaf_bytenr, const struct ulist *root_ids, in store_backref_cache()
/openbmc/linux/tools/perf/
H A 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()
/openbmc/linux/fs/btrfs/tests/
H A 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()