zfeature.h (236884) | zfeature.h (243674) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 21 unchanged lines hidden (view full) --- 30#include <sys/nvpair.h> 31#include "zfeature_common.h" 32 33#ifdef __cplusplus 34extern "C" { 35#endif 36 37extern boolean_t feature_is_supported(objset_t *os, uint64_t obj, | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 21 unchanged lines hidden (view full) --- 30#include <sys/nvpair.h> 31#include "zfeature_common.h" 32 33#ifdef __cplusplus 34extern "C" { 35#endif 36 37extern boolean_t feature_is_supported(objset_t *os, uint64_t obj, |
38 uint64_t desc_obj, nvlist_t *unsup_feat); | 38 uint64_t desc_obj, nvlist_t *unsup_feat, nvlist_t *enabled_feat); |
39 40struct spa; 41extern void spa_feature_create_zap_objects(struct spa *, dmu_tx_t *); 42extern void spa_feature_enable(struct spa *, zfeature_info_t *, dmu_tx_t *); 43extern void spa_feature_incr(struct spa *, zfeature_info_t *, dmu_tx_t *); 44extern void spa_feature_decr(struct spa *, zfeature_info_t *, dmu_tx_t *); 45extern boolean_t spa_feature_is_enabled(struct spa *, zfeature_info_t *); 46extern boolean_t spa_feature_is_active(struct spa *, zfeature_info_t *); 47 48#ifdef __cplusplus 49} 50#endif 51 52#endif /* _SYS_ZFEATURE_H */ | 39 40struct spa; 41extern void spa_feature_create_zap_objects(struct spa *, dmu_tx_t *); 42extern void spa_feature_enable(struct spa *, zfeature_info_t *, dmu_tx_t *); 43extern void spa_feature_incr(struct spa *, zfeature_info_t *, dmu_tx_t *); 44extern void spa_feature_decr(struct spa *, zfeature_info_t *, dmu_tx_t *); 45extern boolean_t spa_feature_is_enabled(struct spa *, zfeature_info_t *); 46extern boolean_t spa_feature_is_active(struct spa *, zfeature_info_t *); 47 48#ifdef __cplusplus 49} 50#endif 51 52#endif /* _SYS_ZFEATURE_H */ |