Lines Matching refs:uqn
1865 userquota_node_t *uqn; in do_userquota_cacheflush() local
1870 while ((uqn = avl_destroy_nodes(&cache->uqc_user_deltas, in do_userquota_cacheflush()
1879 uqn->uqn_id, uqn->uqn_delta, tx)); in do_userquota_cacheflush()
1881 kmem_free(uqn, sizeof (*uqn)); in do_userquota_cacheflush()
1886 while ((uqn = avl_destroy_nodes(&cache->uqc_group_deltas, in do_userquota_cacheflush()
1890 uqn->uqn_id, uqn->uqn_delta, tx)); in do_userquota_cacheflush()
1892 kmem_free(uqn, sizeof (*uqn)); in do_userquota_cacheflush()
1898 while ((uqn = avl_destroy_nodes(&cache->uqc_project_deltas, in do_userquota_cacheflush()
1902 uqn->uqn_id, uqn->uqn_delta, tx)); in do_userquota_cacheflush()
1904 kmem_free(uqn, sizeof (*uqn)); in do_userquota_cacheflush()
1913 userquota_node_t *uqn; in userquota_update_cache() local
1916 ASSERT(strlen(id) < sizeof (uqn->uqn_id)); in userquota_update_cache()
1922 uqn = avl_find(avl, (const void *)id, &idx); in userquota_update_cache()
1923 if (uqn == NULL) { in userquota_update_cache()
1924 uqn = kmem_zalloc(sizeof (*uqn), KM_SLEEP); in userquota_update_cache()
1925 (void) strlcpy(uqn->uqn_id, id, sizeof (uqn->uqn_id)); in userquota_update_cache()
1926 avl_insert(avl, uqn, idx); in userquota_update_cache()
1928 uqn->uqn_delta += delta; in userquota_update_cache()