Lines Matching defs:schema
167 const nvlist_t *subsystem, *schema, *config;
173 schema = nvlist_get_nvlist(device_schema, subsystem_name);
176 while ((name = nvlist_next(schema, &type, &cookie)) != NULL) {
177 config = nvlist_get_nvlist(schema, name);
193 validate_device(const nvlist_t *device, const nvlist_t *schema,
197 validate_subsystem(device, schema, DRIVER_CONFIG_NAME, config_name);
198 validate_subsystem(device, schema, IOV_CONFIG_NAME, config_name);
212 * config schema. Note that the parser is required to not insert configuration
213 * keys that are not valid in the schema, and to not insert configuration values
217 * subsystem from config, validating that all required parameters in the schema
222 validate_config(nvlist_t *config, const nvlist_t *schema, const regex_t *vf_pat)
234 validate_device(pf, nvlist_get_nvlist(schema, PF_CONFIG_NAME),
239 vf_schema = nvlist_get_nvlist(schema, VF_SCHEMA_NAME);