Searched refs:dev_cg (Results 1 – 1 of 1) sorted by relevance
2113 struct config_group *dev_cg = to_config_group(item); in target_core_dev_release() local2115 container_of(dev_cg, struct se_device, dev_group); in target_core_dev_release()2117 kfree(dev_cg->default_groups); in target_core_dev_release()2785 struct config_group *dev_cg = NULL, *tg_pt_gp_cg = NULL; in target_core_make_subdev() local2797 dev_cg = &dev->dev_group; in target_core_make_subdev()2799 dev_cg->default_groups = kmalloc(sizeof(struct config_group *) * 6, in target_core_make_subdev()2801 if (!dev_cg->default_groups) in target_core_make_subdev()2804 config_group_init_type_name(dev_cg, name, &tb->tb_dev_cit); in target_core_make_subdev()2816 dev_cg->default_groups[0] = &dev->dev_attrib.da_group; in target_core_make_subdev()2817 dev_cg->default_groups[1] = &dev->dev_pr_group; in target_core_make_subdev()[all …]