Searched refs:ulist (Results 1 – 11 of 11) sorted by relevance
| /linux/fs/btrfs/ |
| H A D | ulist.c | 48 void ulist_init(struct ulist *ulist) in ulist_init() argument 50 INIT_LIST_HEAD(&ulist->nodes); in ulist_init() 51 ulist->root = RB_ROOT; in ulist_init() 52 ulist->nnodes = 0; in ulist_init() 53 ulist->prealloc = NULL; 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 kfree(ulist->prealloc); in ulist_release() 73 ulist->prealloc = NULL; in ulist_release() 74 ulist->root = RB_ROOT; in ulist_release() [all …]
|
| H A D | ulist.h | 36 struct ulist { struct 47 void ulist_init(struct ulist *ulist); argument 48 void ulist_release(struct ulist *ulist); 49 void ulist_reinit(struct ulist *ulist); 50 struct ulist *ulist_alloc(gfp_t gfp_mask); 51 void ulist_prealloc(struct ulist *ulist, gfp_t mask); 52 void ulist_free(struct ulist *ulist); 53 int ulist_add(struct ulist *ulist, u64 val, u64 aux, gfp_t gfp_mask); 54 int ulist_add_merge(struct ulist *ulist, u64 val, u64 aux, 56 int ulist_del(struct ulist *ulist, u64 val, u64 aux); [all …]
|
| H A D | qgroup.h | 151 struct ulist *old_roots; 369 u64 num_bytes, struct ulist *old_roots, 370 struct ulist *new_roots);
|
| H A D | Makefile | 31 backref.o ulist.o qgroup.o send.o dev-replace.o raid56.o \
|
| H A D | backref.c | 469 struct ulist *parents, in add_all_parents() 593 struct prelim_ref *ref, struct ulist *parents) in resolve_indirect_ref() 702 static void free_leaf_list(struct ulist *ulist) in free_leaf_list() argument 708 while ((node = ulist_next(ulist, &uiter))) in free_leaf_list() 711 ulist_free(ulist); in free_leaf_list() 736 struct ulist *parents; in resolve_indirect_refs() 2425 struct ulist *refs; in iterate_extent_inodes()
|
| H A D | extent_io.h | 190 struct ulist range_changed;
|
| H A D | qgroup.c | 2749 struct ulist *roots, struct list_head *qgroups, in qgroup_update_refcnt() 2910 static int maybe_fs_roots(struct ulist *roots) in maybe_fs_roots() 2933 u64 num_bytes, struct ulist *old_roots, in btrfs_qgroup_account_extent() 2934 struct ulist *new_roots) in btrfs_qgroup_account_extent() 3014 struct ulist *new_roots = NULL; in btrfs_qgroup_account_extents()
|
| H A D | fs.h | 41 struct ulist;
|
| H A D | send.c | 1416 static void store_backref_cache(u64 leaf_bytenr, const struct ulist *root_ids, in store_backref_cache()
|
| /linux/tools/perf/ |
| H A D | builtin-probe.c | 444 struct strlist *klist = NULL, *ulist = NULL; in perf_del_probe_events() local 461 ulist = strlist__new(NULL, NULL); in perf_del_probe_events() 462 if (!klist || !ulist) { in perf_del_probe_events() 478 ret2 = probe_file__get_events(ufd, filter, ulist); in perf_del_probe_events() 480 strlist__for_each_entry(ent, ulist) in perf_del_probe_events() 483 ret2 = probe_file__del_strlist(ufd, ulist); in perf_del_probe_events() 501 strlist__delete(ulist); in perf_del_probe_events()
|
| /linux/fs/btrfs/tests/ |
| H A D | qgroup-tests.c | 202 struct ulist *old_roots = NULL; in test_no_shared_qgroup() 203 struct ulist *new_roots = NULL; in test_no_shared_qgroup() 314 struct ulist *old_roots = NULL; in test_multiple_refs() 315 struct ulist *new_roots = NULL; in test_multiple_refs()
|