Home
last modified time | relevance | path

Searched refs:uiter (Results 1 – 4 of 4) sorted by relevance

/fs/btrfs/
Dulist.c261 struct ulist_node *ulist_next(struct ulist *ulist, struct ulist_iterator *uiter) in ulist_next() argument
267 if (uiter->cur_list && uiter->cur_list->next == &ulist->nodes) in ulist_next()
269 if (uiter->cur_list) { in ulist_next()
270 uiter->cur_list = uiter->cur_list->next; in ulist_next()
272 uiter->cur_list = ulist->nodes.next; in ulist_next()
274 node = list_entry(uiter->cur_list, struct ulist_node, list); in ulist_next()
Dulist.h77 struct ulist_iterator *uiter);
79 #define ULIST_ITER_INIT(uiter) ((uiter)->cur_list = NULL) argument
Dqgroup.c1051 struct ulist_iterator uiter; in __qgroup_excl_accounting() local
1078 ULIST_ITER_INIT(&uiter); in __qgroup_excl_accounting()
1079 while ((unode = ulist_next(tmp, &uiter))) { in __qgroup_excl_accounting()
1494 struct ulist_iterator uiter; in qgroup_update_refcnt() local
1502 ULIST_ITER_INIT(&uiter); in qgroup_update_refcnt()
1503 while ((unode = ulist_next(roots, &uiter))) { in qgroup_update_refcnt()
1585 struct ulist_iterator uiter; in qgroup_update_counters() local
1589 ULIST_ITER_INIT(&uiter); in qgroup_update_counters()
1590 while ((unode = ulist_next(qgroups, &uiter))) { in qgroup_update_counters()
2045 struct ulist_iterator uiter; in qgroup_reserve() local
[all …]
Dbackref.c436 struct ulist_iterator uiter; in __resolve_indirect_refs() local
471 ULIST_ITER_INIT(&uiter); in __resolve_indirect_refs()
472 node = ulist_next(parents, &uiter); in __resolve_indirect_refs()
478 while ((node = ulist_next(parents, &uiter))) { in __resolve_indirect_refs()
1156 struct ulist_iterator uiter; local
1158 ULIST_ITER_INIT(&uiter);
1159 while ((node = ulist_next(blocks, &uiter))) {
1218 struct ulist_iterator uiter; local
1230 ULIST_ITER_INIT(&uiter);
1240 node = ulist_next(tmp, &uiter);
[all …]