Searched refs:rc_tree (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | refcount.c | 74 avl_create(&rc->rc_tree, zfs_refcount_compare, sizeof (reference_t), in zfs_refcount_create() 104 while ((ref = avl_destroy_nodes(&rc->rc_tree, &cookie)) != NULL) in zfs_refcount_destroy_many() 106 avl_destroy(&rc->rc_tree); in zfs_refcount_destroy_many() 151 avl_add(&rc->rc_tree, ref); in zfs_refcount_add_many() 194 ref = avl_find(&rc->rc_tree, &s, NULL); in zfs_refcount_remove_many() 199 avl_remove(&rc->rc_tree, ref); in zfs_refcount_remove_many() 258 avl_swap(&tree, &src->rc_tree); in zfs_refcount_transfer() 265 if (avl_is_empty(&dst->rc_tree)) in zfs_refcount_transfer() 266 avl_swap(&dst->rc_tree, &tree); in zfs_refcount_transfer() 268 avl_add(&dst->rc_tree, ref); in zfs_refcount_transfer() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | refcount.h | 62 avl_tree_t rc_tree; member
|