Searched refs:cfg_view (Results 1 – 1 of 1) sorted by relevance
178 static int cscfg_add_preset_groups(struct cscfg_fs_config *cfg_view) in cscfg_add_preset_groups() argument182 struct cscfg_config_desc *config_desc = cfg_view->config_desc; in cscfg_add_preset_groups()197 cfg_fs_preset->config_desc = cfg_view->config_desc; in cscfg_add_preset_groups()200 configfs_add_default_group(&cfg_fs_preset->group, &cfg_view->group); in cscfg_add_preset_groups()207 struct cscfg_fs_config *cfg_view; in cscfg_create_config_group() local214 cfg_view = devm_kzalloc(dev, sizeof(struct cscfg_fs_config), GFP_KERNEL); in cscfg_create_config_group()215 if (!cfg_view) in cscfg_create_config_group()218 cfg_view->config_desc = config_desc; in cscfg_create_config_group()219 config_group_init_type_name(&cfg_view->group, config_desc->name, &cscfg_config_view_type); in cscfg_create_config_group()222 err = cscfg_add_preset_groups(cfg_view); in cscfg_create_config_group()[all …]