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

/linux-4.4.14/drivers/target/
H A Dtarget_core_fabric_configfs.c277 struct config_group *lacl_cg = NULL, *ml_stat_grp = NULL; target_fabric_make_mappedlun() local
318 lacl_cg = &lacl->se_lun_group; target_fabric_make_mappedlun()
319 lacl_cg->default_groups = kmalloc(sizeof(struct config_group *) * 2, target_fabric_make_mappedlun()
321 if (!lacl_cg->default_groups) { target_fabric_make_mappedlun()
322 pr_err("Unable to allocate lacl_cg->default_groups\n"); target_fabric_make_mappedlun()
331 lacl_cg->default_groups[0] = &lacl->ml_stat_grps.stat_group; target_fabric_make_mappedlun()
332 lacl_cg->default_groups[1] = NULL; target_fabric_make_mappedlun()
347 if (lacl_cg) target_fabric_make_mappedlun()
348 kfree(lacl_cg->default_groups); target_fabric_make_mappedlun()
361 struct config_group *lacl_cg = NULL, *ml_stat_grp = NULL; target_fabric_drop_mappedlun() local
372 lacl_cg = &lacl->se_lun_group; target_fabric_drop_mappedlun()
373 for (i = 0; lacl_cg->default_groups[i]; i++) { target_fabric_drop_mappedlun()
374 df_item = &lacl_cg->default_groups[i]->cg_item; target_fabric_drop_mappedlun()
375 lacl_cg->default_groups[i] = NULL; target_fabric_drop_mappedlun()
378 kfree(lacl_cg->default_groups); target_fabric_drop_mappedlun()

Completed in 42 milliseconds