Searched refs:lacl_cg (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/target/
H A Dtarget_core_fabric_configfs.c339 struct config_group *lacl_cg = NULL, *ml_stat_grp = NULL; target_fabric_make_mappedlun() local
392 lacl_cg = &lacl->se_lun_group; target_fabric_make_mappedlun()
393 lacl_cg->default_groups = kmalloc(sizeof(struct config_group *) * 2, target_fabric_make_mappedlun()
395 if (!lacl_cg->default_groups) { target_fabric_make_mappedlun()
396 pr_err("Unable to allocate lacl_cg->default_groups\n"); target_fabric_make_mappedlun()
405 lacl_cg->default_groups[0] = &lacl->ml_stat_grps.stat_group; target_fabric_make_mappedlun()
406 lacl_cg->default_groups[1] = NULL; target_fabric_make_mappedlun()
421 if (lacl_cg) target_fabric_make_mappedlun()
422 kfree(lacl_cg->default_groups); target_fabric_make_mappedlun()
435 struct config_group *lacl_cg = NULL, *ml_stat_grp = NULL; target_fabric_drop_mappedlun() local
446 lacl_cg = &lacl->se_lun_group; target_fabric_drop_mappedlun()
447 for (i = 0; lacl_cg->default_groups[i]; i++) { target_fabric_drop_mappedlun()
448 df_item = &lacl_cg->default_groups[i]->cg_item; target_fabric_drop_mappedlun()
449 lacl_cg->default_groups[i] = NULL; target_fabric_drop_mappedlun()
452 kfree(lacl_cg->default_groups); target_fabric_drop_mappedlun()

Completed in 83 milliseconds