Home
last modified time | relevance | path

Searched refs:avl_first (Results 1 – 25 of 30) sorted by relevance

12

/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dspa_log_spacemap.c370 for (spa_log_sm_t *sls = avl_first(&spa->spa_sm_logs_by_txg); in spa_log_summary_verify_counts()
794 for (metaslab_t *curr = avl_first(&spa->spa_metaslabs_by_flushed); in spa_flush_metaslabs()
896 metaslab_t *oldest = avl_first(&spa->spa_metaslabs_by_flushed); in spa_cleanup_old_sm_logs()
900 for (spa_log_sm_t *sls = avl_first(&spa->spa_sm_logs_by_txg); in spa_cleanup_old_sm_logs()
902 sls = avl_first(&spa->spa_sm_logs_by_txg)) { in spa_cleanup_old_sm_logs()
1016 for (metaslab_t *m = avl_first(&spa->spa_metaslabs_by_flushed); in spa_ld_log_sm_metadata()
1117 for (spa_log_sm_t *sls = avl_first(&spa->spa_sm_logs_by_txg); in spa_ld_log_sm_data()
1171 for (metaslab_t *m = avl_first(&spa->spa_metaslabs_by_flushed); in spa_ld_log_sm_data()
H A Ddsl_deadlist.c184 for (dsl_deadlist_entry_t *dle = avl_first(&dl->dl_tree); in dsl_deadlist_load_tree()
245 for (dsl_deadlist_cache_entry_t *dlce = avl_first(&dl->dl_cache); in dsl_deadlist_load_cache()
291 for (dle = avl_first(&dl->dl_tree); dle != NULL; in dsl_deadlist_iterate()
475 dle = avl_first(&dl->dl_tree); in dsl_deadlist_insert()
638 dle = avl_first(&dl->dl_tree); in dsl_deadlist_first()
704 for (dle = avl_first(&dl->dl_tree); dle; in dsl_deadlist_clone()
H A Dspa_errlog.c203 for (se = avl_first(list); se != NULL; se = AVL_NEXT(list, se)) { in process_error_list()
315 for (se = avl_first(t); se != NULL; se = AVL_NEXT(t, se)) { in sync_error_list()
H A Dspace_reftree.c134 for (sr = avl_first(t); sr != NULL; sr = AVL_NEXT(t, sr)) { in space_reftree_generate_map()
H A Dvdev_cache.c172 ve = avl_first(&vc->vc_lastused_tree); in vdev_cache_allocate()
373 while ((ve = avl_first(&vc->vc_offset_tree)) != NULL) in vdev_cache_purge()
H A Ddmu_redact.c218 struct objnode *next, *found = avl_first(&at); in zfs_get_deleteq()
774 while (err == 0 && !((struct redact_node *)avl_first(&end_tree))-> in perform_thread_merge()
781 struct redact_node *first_end = avl_first(&end_tree); in perform_thread_merge()
H A Ddsl_scan.c674 ASSERT3P(avl_first(&q->q_sios_by_addr), ==, NULL); in dsl_scan_sync_state()
1204 for (scan_ds_t *sds = avl_first(&scn->scn_queue); in scan_ds_queue_sync()
1728 spic = avl_first(&scn->scn_prefetch_queue); in dsl_scan_prefetch_thread()
1753 while ((spic = avl_first(&scn->scn_prefetch_queue)) != NULL) { in dsl_scan_prefetch_thread()
2640 ASSERT(avl_first(&ddt->ddt_tree) == NULL); in dsl_scan_ddt()
2725 while ((sds = avl_first(&scn->scn_queue)) != NULL) { in dsl_scan_visit()
H A Ddsl_deleg.c613 for (setnode = avl_first(&permsets); setnode; in dsl_deleg_access_impl()
H A Dzfs_fuid.c252 for (i = 0, domnode = avl_first(&zfsvfs->z_fuid_domain); domnode; i++, in zfs_fuid_sync()
H A Ddsl_bookmark.c785 for (dsl_bookmark_node_t *dbn = avl_first(&ds->ds_bookmarks); in dsl_get_bookmarks_impl()
1544 for (dsl_bookmark_node_t *dbn = avl_first(&ds->ds_bookmarks); in dsl_bookmark_sync_done()
H A Ddnode_sync.c464 for (db = avl_first(&dn->dn_dbufs); db != NULL; db = db_next) { in dnode_evict_dbufs()
H A Dvdev_queue.c893 zio = avl_first(tree); in vdev_queue_io_to_issue()
H A Dspa_misc.c862 return (avl_first(&spa_namespace_avl)); in spa_next()
1432 for (spa = avl_first(t); spa != NULL; spa = AVL_NEXT(t, spa)) { in spa_by_guid()
H A Dddt.c991 for (rdde = avl_first(t); rdde != NULL; rdde = rdde_next) { in ddt_repair_table()
H A Ddsl_dataset.c3447 for (dsl_bookmark_node_t *dbn = avl_first(&origin_head->ds_bookmarks); in dsl_dataset_promote_check()
3632 for (dsl_bookmark_node_t *dbn = avl_first(&origin_head->ds_bookmarks); in dsl_dataset_promote_sync()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Davl.h205 extern void *avl_first(avl_tree_t *tree);
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/btree_test/
H A Dbtree_test.c100 node = avl_first(avl); in verify_contents()
257 node = avl_first(&avl); in drain_tree()
271 node = avl_first(&avl); in drain_tree()
/f-stack/freebsd/contrib/openzfs/module/avl/
H A Davl.c187 avl_first(avl_tree_t *tree) in avl_first() function
977 first = avl_first(tree); in avl_destroy_nodes()
1084 EXPORT_SYMBOL(avl_first);
/f-stack/freebsd/contrib/openzfs/cmd/zed/
H A Dzed_strings.c205 zsp->iteratorp = avl_first(&zsp->tree); in zed_strings_first()
/f-stack/freebsd/contrib/openzfs/lib/libuutil/
H A Duu_avl.c286 return (avl_first(&ap->ua_tree)); in uu_avl_first()
321 wp->uaw_next_result = avl_first(&ap->ua_tree); in _avl_walk_init()
H A Dlibuutil.abi134 …<elf-symbol name='avl_first' type='func-type' binding='global-binding' visibility='default-visibil…
1286avl_first' mangled-name='avl_first' filepath='../../module/avl/avl.c' line='187' column='1' visibi…
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs_iter.c323 for (node = avl_first(&avl); node != NULL; node = AVL_NEXT(&avl, node)) in zfs_iter_snapshots_sorted()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/
H A Dacl_common.c1100 for (vals = avl_first(&list->user); vals != NULL; in ace_list_to_aent()
1124 for (vals = avl_first(&list->group); vals != NULL; in ace_list_to_aent()
/f-stack/freebsd/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c1271 for (slice = avl_first(cache); slice; in zpool_find_import_impl()
/f-stack/freebsd/contrib/openzfs/cmd/zdb/
H A Dzdb.c413 for (spa_log_sm_t *sls = avl_first(&spa->spa_sm_logs_by_txg); in iterate_through_spacemap_logs()
1862 for (spa_log_sm_t *sls = avl_first(&spa->spa_sm_logs_by_txg); in dump_log_spacemaps()
4800 avl_first(&dmu_objset_ds(os)->ds_bookmarks); dbn != NULL; in dump_one_objset()
7220 for (spa_log_sm_t *sls = avl_first(&spa->spa_sm_logs_by_txg); in mos_leak_log_spacemaps()

12