Lines Matching defs:fid
379 feature_do_action(spa_t *spa, spa_feature_t fid, feature_action_t action,
383 zfeature_info_t *feature = &spa_feature_table[fid];
387 ASSERT(VALID_FEATURE_FID(fid));
438 spa_feature_enable(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx)
441 ASSERT(VALID_FEATURE_FID(fid));
442 feature_enable_sync(spa, &spa_feature_table[fid], tx);
446 spa_feature_incr(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx)
448 feature_do_action(spa, fid, FEATURE_ACTION_INCR, tx);
452 spa_feature_decr(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx)
454 feature_do_action(spa, fid, FEATURE_ACTION_DECR, tx);
458 spa_feature_is_enabled(spa_t *spa, spa_feature_t fid)
463 ASSERT(VALID_FEATURE_FID(fid));
467 err = feature_get_refcount(spa, &spa_feature_table[fid], &refcount);
473 spa_feature_is_active(spa_t *spa, spa_feature_t fid)
478 ASSERT(VALID_FEATURE_FID(fid));
482 err = feature_get_refcount(spa, &spa_feature_table[fid], &refcount);
488 * For the feature specified by fid (which must depend on
497 spa_feature_enabled_txg(spa_t *spa, spa_feature_t fid, uint64_t *txg)
501 ASSERT(VALID_FEATURE_FID(fid));
505 err = feature_get_enabled_txg(spa, &spa_feature_table[fid], txg);