Lines Matching refs:subsystem
53 nvlist_t *subsystem, *empty_driver, *empty_iov;
55 subsystem = dnvlist_take_nvlist(config, device, NULL);
57 if (subsystem != NULL)
58 return (subsystem);
68 subsystem = nvlist_create(NV_FLAG_IGNORE_CASE);
69 if (subsystem == NULL)
72 nvlist_move_nvlist(subsystem, DRIVER_CONFIG_NAME, empty_driver);
73 nvlist_move_nvlist(subsystem, IOV_CONFIG_NAME, empty_iov);
75 return (subsystem);
94 * subsystem in the given device_config.
100 apply_subsystem_defaults(nvlist_t *device_config, const char *subsystem,
111 config = nvlist_take_nvlist(device_config, subsystem);
112 defaults = nvlist_get_nvlist(device_defaults, subsystem);
144 nvlist_move_nvlist(device_config, subsystem, config);
148 * Iterate over every subsystem in the given VF device and apply default values
164 * subsystem.
170 const nvlist_t *subsystem, *schema, *config;
175 subsystem = nvlist_get_nvlist(device, subsystem_name);
183 if (!nvlist_exists(subsystem, name))
220 * subsystem from config, validating that all required parameters in the schema
221 * are present in each PF and VF subsystem, and that there is no VF subsystem