Searched refs:lun_cg (Results 1 – 1 of 1) sorted by relevance
798 struct config_group *lun_cg = NULL, *port_stat_grp = NULL; in target_fabric_make_lun() local815 lun_cg = &lun->lun_group; in target_fabric_make_lun()816 lun_cg->default_groups = kmalloc(sizeof(struct config_group *) * 2, in target_fabric_make_lun()818 if (!lun_cg->default_groups) { in target_fabric_make_lun()828 lun_cg->default_groups[0] = &lun->port_stat_grps.stat_group; in target_fabric_make_lun()829 lun_cg->default_groups[1] = NULL; in target_fabric_make_lun()836 kfree(lun_cg->default_groups); in target_fabric_make_lun()852 struct config_group *lun_cg, *port_stat_grp; in target_fabric_drop_lun() local863 lun_cg = &lun->lun_group; in target_fabric_drop_lun()864 for (i = 0; lun_cg->default_groups[i]; i++) { in target_fabric_drop_lun()[all …]