Home
last modified time | relevance | path

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

/linux-6.6.21/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.c1385 struct ulist_iterator uiter; in __qgroup_excl_accounting() local
1416 ULIST_ITER_INIT(&uiter); in __qgroup_excl_accounting()
1417 while ((unode = ulist_next(tmp, &uiter))) { in __qgroup_excl_accounting()
2491 struct ulist_iterator uiter; in qgroup_update_refcnt() local
2499 ULIST_ITER_INIT(&uiter); in qgroup_update_refcnt()
2500 while ((unode = ulist_next(roots, &uiter))) { in qgroup_update_refcnt()
2582 struct ulist_iterator uiter; in qgroup_update_counters() local
2586 ULIST_ITER_INIT(&uiter); in qgroup_update_counters()
2587 while ((unode = ulist_next(qgroups, &uiter))) { in qgroup_update_counters()
2674 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-6.6.21/drivers/block/
Dublk_drv.c840 unsigned offset, struct iov_iter *uiter, int dir) in ublk_copy_user_pages() argument
848 while (iov_iter_count(uiter) && iter.bio) { in ublk_copy_user_pages()
854 len = iov_iter_get_pages2(uiter, iter.pages, in ublk_copy_user_pages()
855 iov_iter_count(uiter), in ublk_copy_user_pages()