Lines Matching refs:fid
374 feature_do_action(spa_t *spa, spa_feature_t fid, feature_action_t action, in feature_do_action() argument
378 zfeature_info_t *feature = &spa_feature_table[fid]; in feature_do_action()
382 ASSERT(VALID_FEATURE_FID(fid)); in feature_do_action()
433 spa_feature_enable(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) in spa_feature_enable() argument
436 ASSERT(VALID_FEATURE_FID(fid)); in spa_feature_enable()
437 feature_enable_sync(spa, &spa_feature_table[fid], tx); in spa_feature_enable()
441 spa_feature_incr(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) in spa_feature_incr() argument
443 feature_do_action(spa, fid, FEATURE_ACTION_INCR, tx); in spa_feature_incr()
447 spa_feature_decr(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) in spa_feature_decr() argument
449 feature_do_action(spa, fid, FEATURE_ACTION_DECR, tx); in spa_feature_decr()
453 spa_feature_is_enabled(spa_t *spa, spa_feature_t fid) in spa_feature_is_enabled() argument
458 ASSERT(VALID_FEATURE_FID(fid)); in spa_feature_is_enabled()
462 err = feature_get_refcount(spa, &spa_feature_table[fid], &refcount); in spa_feature_is_enabled()
468 spa_feature_is_active(spa_t *spa, spa_feature_t fid) in spa_feature_is_active() argument
473 ASSERT(VALID_FEATURE_FID(fid)); in spa_feature_is_active()
477 err = feature_get_refcount(spa, &spa_feature_table[fid], &refcount); in spa_feature_is_active()
492 spa_feature_enabled_txg(spa_t *spa, spa_feature_t fid, uint64_t *txg) { in spa_feature_enabled_txg() argument
495 ASSERT(VALID_FEATURE_FID(fid)); in spa_feature_enabled_txg()
499 err = feature_get_enabled_txg(spa, &spa_feature_table[fid], txg); in spa_feature_enabled_txg()