Home
last modified time | relevance | path

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

/Linux-v6.6/fs/btrfs/
Dulist.c269 struct ulist_node *ulist_next(const struct ulist *ulist, struct ulist_iterator *uiter) in ulist_next() argument
275 if (uiter->cur_list && uiter->cur_list->next == &ulist->nodes) in ulist_next()
277 if (uiter->cur_list) { in ulist_next()
278 uiter->cur_list = uiter->cur_list->next; in ulist_next()
280 uiter->cur_list = ulist->nodes.next; in ulist_next()
282 node = list_entry(uiter->cur_list, struct ulist_node, list); in ulist_next()
Dulist.h70 struct ulist_iterator *uiter);
72 #define ULIST_ITER_INIT(uiter) ((uiter)->cur_list = NULL) argument
Dqgroup.c1366 struct ulist_iterator uiter; in __qgroup_excl_accounting() local
1397 ULIST_ITER_INIT(&uiter); in __qgroup_excl_accounting()
1398 while ((unode = ulist_next(tmp, &uiter))) { in __qgroup_excl_accounting()
2458 struct ulist_iterator uiter; in qgroup_update_refcnt() local
2466 ULIST_ITER_INIT(&uiter); in qgroup_update_refcnt()
2467 while ((unode = ulist_next(roots, &uiter))) { in qgroup_update_refcnt()
2549 struct ulist_iterator uiter; in qgroup_update_counters() local
2553 ULIST_ITER_INIT(&uiter); in qgroup_update_counters()
2554 while ((unode = ulist_next(qgroups, &uiter))) { in qgroup_update_counters()
2641 struct ulist_iterator uiter; in maybe_fs_roots() local
[all …]
Dbackref.c710 struct ulist_iterator uiter; in free_leaf_list() local
712 ULIST_ITER_INIT(&uiter); in free_leaf_list()
713 while ((node = ulist_next(ulist, &uiter))) in free_leaf_list()
744 struct ulist_iterator uiter; in resolve_indirect_refs() local
796 ULIST_ITER_INIT(&uiter); in resolve_indirect_refs()
797 node = ulist_next(parents, &uiter); in resolve_indirect_refs()
802 while ((node = ulist_next(parents, &uiter))) { in resolve_indirect_refs()
1749 struct ulist_iterator uiter; in btrfs_find_all_roots_safe() local
1770 ULIST_ITER_INIT(&uiter); in btrfs_find_all_roots_safe()
1783 node = ulist_next(ctx->refs, &uiter); in btrfs_find_all_roots_safe()
[all …]
Dsend.c1446 struct ulist_iterator uiter; in store_backref_cache() local
1463 ULIST_ITER_INIT(&uiter); in store_backref_cache()
1464 while ((node = ulist_next(root_ids, &uiter)) != NULL) { in store_backref_cache()
/Linux-v6.6/drivers/block/
Dublk_drv.c836 unsigned offset, struct iov_iter *uiter, int dir) in ublk_copy_user_pages() argument
844 while (iov_iter_count(uiter) && iter.bio) { in ublk_copy_user_pages()
850 len = iov_iter_get_pages2(uiter, iter.pages, in ublk_copy_user_pages()
851 iov_iter_count(uiter), in ublk_copy_user_pages()