Lines Matching defs:refcount
247 uint64_t refcount;
259 feature->fi_guid, sizeof (uint64_t), 1, &refcount);
266 *res = refcount;
296 feature_sync(spa_t *spa, zfeature_info_t *feature, uint64_t refcount,
304 sizeof (uint64_t), 1, &refcount, tx));
317 atomic_swap_64(refcount_cache, refcount));
320 if (refcount == 0)
378 uint64_t refcount;
390 VERIFY3U(feature_get_refcount(spa, feature, &refcount), !=, ENOTSUP);
394 VERIFY3U(refcount, !=, UINT64_MAX);
395 refcount++;
398 VERIFY3U(refcount, !=, 0);
399 refcount--;
406 feature_sync(spa, feature, refcount, tx);
457 uint64_t refcount;
463 err = feature_get_refcount(spa, &spa_feature_table[fid], &refcount);
472 uint64_t refcount;
478 err = feature_get_refcount(spa, &spa_feature_table[fid], &refcount);
480 return (err == 0 && refcount > 0);