Motr
M0
|
Go to the source code of this file.
Macros | |
#define | __MOTR_CONF_SCHEMA_H__ |
#define | M0_CFG_SDEV_INTERFACE_TYPE_IS_VALID(dtype) (0 < (dtype) && (dtype) < M0_CFG_DEVICE_INTERFACE_NR) |
#define | M0_CFG_SDEV_MEDIA_TYPE_IS_VALID(dtype) (0 < (dtype) && (dtype) < M0_CFG_DEVICE_MEDIA_NR) |
#define | M0_CONF_SERVICE_TYPES |
#define | X_CST(name) name, |
Enumerations | |
enum | m0_cfg_state_bit { M0_CFG_STATE_ONLINE = 1 << 0, M0_CFG_STATE_GOOD = 1 << 1 } |
enum | m0_cfg_flag_bit { M0_CFG_FLAG_REAL = 1 << 0, M0_CFG_FLAG_LITTLE_ENDIAN = 1 << 1, M0_CFG_FLAG_REMOVABLE = 1 << 2 } |
enum | m0_cfg_nic_type { M0_CFG_NIC_ETHER10 = 1, M0_CFG_NIC_ETHER100, M0_CFG_NIC_ETHER1000, M0_CFG_NIC_ETHER10GB, M0_CFG_NIC_INFINIBAND } |
enum | m0_cfg_storage_device_interface_type { M0_CFG_DEVICE_INTERFACE_ATA = 1, M0_CFG_DEVICE_INTERFACE_SATA, M0_CFG_DEVICE_INTERFACE_SCSI, M0_CFG_DEVICE_INTERFACE_SATA2, M0_CFG_DEVICE_INTERFACE_SCSI2, M0_CFG_DEVICE_INTERFACE_SAS, M0_CFG_DEVICE_INTERFACE_SAS2, M0_CFG_DEVICE_INTERFACE_NR } |
enum | m0_cfg_storage_device_media_type { M0_CFG_DEVICE_MEDIA_DISK = 1, M0_CFG_DEVICE_MEDIA_SSD, M0_CFG_DEVICE_MEDIA_TAPE, M0_CFG_DEVICE_MEDIA_ROM, M0_CFG_DEVICE_MEDIA_NR } |
enum | { M0_CFG_PARAM_LEN = 128 } |
enum | m0_conf_service_type { M0_CST_NR } |
Functions | |
M0_INTERNAL const char * | m0_conf_service_type2str (enum m0_conf_service_type type) |
static bool | m0_conf_service_type_is_valid (enum m0_conf_service_type t) |
Variables | |
enum m0_cfg_state_bit | M0_XCA_ENUM |