Home
last modified time | relevance | path

Searched refs:default_groups (Results 1 – 10 of 10) sorted by relevance

/linux-3.4.99/drivers/target/
Dtarget_core_fabric_configfs.c376 lacl_cg->default_groups = kzalloc(sizeof(struct config_group) * 2, in target_fabric_make_mappedlun()
378 if (!lacl_cg->default_groups) { in target_fabric_make_mappedlun()
388 lacl_cg->default_groups[0] = &lacl->ml_stat_grps.stat_group; in target_fabric_make_mappedlun()
389 lacl_cg->default_groups[1] = NULL; in target_fabric_make_mappedlun()
392 ml_stat_grp->default_groups = kzalloc(sizeof(struct config_group) * 3, in target_fabric_make_mappedlun()
394 if (!ml_stat_grp->default_groups) { in target_fabric_make_mappedlun()
405 kfree(lacl_cg->default_groups); in target_fabric_make_mappedlun()
421 for (i = 0; ml_stat_grp->default_groups[i]; i++) { in target_fabric_drop_mappedlun()
422 df_item = &ml_stat_grp->default_groups[i]->cg_item; in target_fabric_drop_mappedlun()
423 ml_stat_grp->default_groups[i] = NULL; in target_fabric_drop_mappedlun()
[all …]
Dtarget_core_configfs.c182 tf->tf_group.default_groups = tf->tf_default_groups; in target_core_register_fabric()
183 tf->tf_group.default_groups[0] = &tf->tf_disc_group; in target_core_register_fabric()
184 tf->tf_group.default_groups[1] = NULL; in target_core_register_fabric()
232 for (i = 0; tf_group->default_groups[i]; i++) { in target_core_deregister_fabric()
233 df_item = &tf_group->default_groups[i]->cg_item; in target_core_deregister_fabric()
234 tf_group->default_groups[i] = NULL; in target_core_deregister_fabric()
1976 kfree(dev_cg->default_groups); in target_core_dev_release()
2754 dev_cg->default_groups = kzalloc(sizeof(struct config_group) * 7, in target_core_make_subdev()
2756 if (!dev_cg->default_groups) in target_core_make_subdev()
2786 dev_cg->default_groups[0] = &se_dev->se_dev_attrib.da_group; in target_core_make_subdev()
[all …]
Dtarget_core_stat.c677 dev_stat_grp->default_groups[0] = &se_subdev->dev_stat_grps.scsi_dev_group; in target_stat_setup_dev_default_groups()
678 dev_stat_grp->default_groups[1] = &se_subdev->dev_stat_grps.scsi_tgt_dev_group; in target_stat_setup_dev_default_groups()
679 dev_stat_grp->default_groups[2] = &se_subdev->dev_stat_grps.scsi_lu_group; in target_stat_setup_dev_default_groups()
680 dev_stat_grp->default_groups[3] = NULL; in target_stat_setup_dev_default_groups()
1213 port_stat_grp->default_groups[0] = &lun->port_stat_grps.scsi_port_group; in target_stat_setup_port_default_groups()
1214 port_stat_grp->default_groups[1] = &lun->port_stat_grps.scsi_tgt_port_group; in target_stat_setup_port_default_groups()
1215 port_stat_grp->default_groups[2] = &lun->port_stat_grps.scsi_transport_group; in target_stat_setup_port_default_groups()
1216 port_stat_grp->default_groups[3] = NULL; in target_stat_setup_port_default_groups()
1791 ml_stat_grp->default_groups[0] = &lacl->ml_stat_grps.scsi_auth_intr_group; in target_stat_setup_mappedlun_default_groups()
1792 ml_stat_grp->default_groups[1] = &lacl->ml_stat_grps.scsi_att_intr_port_group; in target_stat_setup_mappedlun_default_groups()
[all …]
/linux-3.4.99/fs/dlm/
Dconfig.c473 cl->group.default_groups = gps; in make_cluster()
474 cl->group.default_groups[0] = &sps->ss_group; in make_cluster()
475 cl->group.default_groups[1] = &cms->cs_group; in make_cluster()
476 cl->group.default_groups[2] = NULL; in make_cluster()
512 for (j = 0; cl->group.default_groups[j]; j++) { in drop_cluster()
513 tmp = &cl->group.default_groups[j]->cg_item; in drop_cluster()
514 cl->group.default_groups[j] = NULL; in drop_cluster()
527 kfree(cl->group.default_groups); in release_cluster()
547 sp->group.default_groups = gps; in make_space()
548 sp->group.default_groups[0] = &nds->ns_group; in make_space()
[all …]
/linux-3.4.99/drivers/target/iscsi/
Discsi_target_configfs.c828 stats_cg->default_groups = kzalloc(sizeof(struct config_group) * 2, in lio_target_make_nodeacl()
830 if (!stats_cg->default_groups) { in lio_target_make_nodeacl()
838 stats_cg->default_groups[0] = &NODE_STAT_GRPS(acl)->iscsi_sess_stats_group; in lio_target_make_nodeacl()
839 stats_cg->default_groups[1] = NULL; in lio_target_make_nodeacl()
857 for (i = 0; stats_cg->default_groups[i]; i++) { in lio_target_drop_nodeacl()
858 df_item = &stats_cg->default_groups[i]->cg_item; in lio_target_drop_nodeacl()
859 stats_cg->default_groups[i] = NULL; in lio_target_drop_nodeacl()
862 kfree(stats_cg->default_groups); in lio_target_drop_nodeacl()
1289 stats_cg->default_groups = kzalloc(sizeof(struct config_group) * 6, in lio_target_call_coreaddtiqn()
1291 if (!stats_cg->default_groups) { in lio_target_call_coreaddtiqn()
[all …]
/linux-3.4.99/drivers/staging/ramster/cluster/
Dnodemanager.c774 kfree(cluster->cl_group.default_groups); in r2nm_cluster_release()
834 cluster->cl_group.default_groups = defs; in r2nm_cluster_group_make_group()
835 cluster->cl_group.default_groups[0] = &ns->ns_group; in r2nm_cluster_group_make_group()
836 cluster->cl_group.default_groups[1] = r2hb_group; in r2nm_cluster_group_make_group()
837 cluster->cl_group.default_groups[2] = NULL; in r2nm_cluster_group_make_group()
870 for (i = 0; cluster->cl_group.default_groups[i]; i++) { in r2nm_cluster_group_drop_item()
871 killme = &cluster->cl_group.default_groups[i]->cg_item; in r2nm_cluster_group_drop_item()
872 cluster->cl_group.default_groups[i] = NULL; in r2nm_cluster_group_drop_item()
/linux-3.4.99/fs/ocfs2/cluster/
Dnodemanager.c771 kfree(cluster->cl_group.default_groups); in o2nm_cluster_release()
828 cluster->cl_group.default_groups = defs; in o2nm_cluster_group_make_group()
829 cluster->cl_group.default_groups[0] = &ns->ns_group; in o2nm_cluster_group_make_group()
830 cluster->cl_group.default_groups[1] = o2hb_group; in o2nm_cluster_group_make_group()
831 cluster->cl_group.default_groups[2] = NULL; in o2nm_cluster_group_make_group()
863 for (i = 0; cluster->cl_group.default_groups[i]; i++) { in o2nm_cluster_group_drop_item()
864 killme = &cluster->cl_group.default_groups[i]->cg_item; in o2nm_cluster_group_drop_item()
865 cluster->cl_group.default_groups[i] = NULL; in o2nm_cluster_group_drop_item()
/linux-3.4.99/fs/configfs/
Ddir.c712 if (group->default_groups) { in populate_groups()
713 for (i = 0; group->default_groups[i]; i++) { in populate_groups()
714 new_group = group->default_groups[i]; in populate_groups()
778 if (group->default_groups) { in unlink_group()
779 for (i = 0; group->default_groups[i]; i++) { in unlink_group()
780 new_group = group->default_groups[i]; in unlink_group()
805 if (group->default_groups) { in link_group()
806 for (i = 0; group->default_groups[i]; i++) { in link_group()
807 new_group = group->default_groups[i]; in link_group()
/linux-3.4.99/include/linux/
Dconfigfs.h97 struct config_group **default_groups; member
/linux-3.4.99/Documentation/filesystems/configfs/
Dconfigfs.txt220 struct config_group **default_groups;
401 NULL-terminated array default_groups on the config_group structure.
408 As a consequence of this, default_groups cannot be removed directly via