Home | History | Annotate | Download | only in zfs

Lines Matching refs: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));
318 atomic_swap_64(refcount_cache, refcount));
320 *refcount_cache = refcount;
324 if (refcount == 0)
382 uint64_t refcount;
394 VERIFY3U(feature_get_refcount(spa, feature, &refcount), !=, ENOTSUP);
398 VERIFY3U(refcount, !=, UINT64_MAX);
399 refcount++;
402 VERIFY3U(refcount, !=, 0);
403 refcount--;
410 feature_sync(spa, feature, refcount, tx);
461 uint64_t refcount;
467 err = feature_get_refcount(spa, &spa_feature_table[fid], &refcount);
476 uint64_t refcount;
482 refcount);
484 return (err == 0 && refcount > 0);