Home
last modified time | relevance | path

Searched refs:cg_item (Results 1 – 26 of 26) sorted by relevance

/linux-4.4.14/fs/configfs/
Ddir.c611 struct dentry * dentry = dget(group->cg_item.ci_dentry); in detach_groups()
659 struct dentry *child, *parent = parent_group->cg_item.ci_dentry; in create_default_group()
661 if (!group->cg_item.ci_name) in create_default_group()
662 group->cg_item.ci_name = group->cg_item.ci_namebuf; in create_default_group()
665 child = d_alloc_name(parent, group->cg_item.ci_name); in create_default_group()
669 ret = configfs_attach_group(&parent_group->cg_item, in create_default_group()
670 &group->cg_item, child); in create_default_group()
764 unlink_obj(&group->cg_item); in unlink_group()
773 link_obj(&parent_group->cg_item, &group->cg_item); in link_group()
777 else if (configfs_is_root(&parent_group->cg_item)) in link_group()
[all …]
Dmount.c50 .cg_item = {
52 .ci_name = configfs_root_group.cg_item.ci_namebuf,
58 return item == &configfs_root_group.cg_item; in configfs_is_root()
64 .s_element = &configfs_root_group.cg_item,
98 configfs_root_group.cg_item.ci_dentry = root; in configfs_fill_super()
Ditem.c127 config_item_set_name(&group->cg_item, "%s", name); in config_group_init_type_name()
128 group->cg_item.ci_type = type; in config_group_init_type_name()
183 config_item_init(&group->cg_item); in config_group_init()
/linux-4.4.14/include/linux/
Dconfigfs.h94 struct config_item cg_item; member
107 return item ? container_of(item,struct config_group,cg_item) : NULL; in to_config_group()
112 return group ? to_config_group(config_item_get(&group->cg_item)) : NULL; in config_group_get()
117 config_item_put(&group->cg_item); in config_group_put()
/linux-4.4.14/drivers/hwtracing/stm/
Dpolicy.c60 return policy_node->group.cg_item.ci_name ? : "<none>"; in stp_policy_node_name()
200 if (group->cg_item.ci_type == &stp_policy_type) { in stp_policy_node_make()
378 .cg_item = {
416 policy_node->group.cg_item.ci_name)) { in __stp_policy_node_lookup()
447 config_item_get(&policy_node->group.cg_item); in stp_policy_node_lookup()
455 config_item_put(&policy_node->group.cg_item); in stp_policy_node_put()
/linux-4.4.14/drivers/target/
Dtarget_core_fabric_configfs.c97 nacl_ci = &lun_acl_ci->ci_parent->ci_group->cg_item; in target_fabric_mappedlun_link()
98 tpg_ci = &nacl_ci->ci_group->cg_item; in target_fabric_mappedlun_link()
99 wwn_ci = &tpg_ci->ci_group->cg_item; in target_fabric_mappedlun_link()
100 tpg_ci_s = &lun_ci->ci_parent->ci_group->cg_item; in target_fabric_mappedlun_link()
101 wwn_ci_s = &tpg_ci_s->ci_group->cg_item; in target_fabric_mappedlun_link()
282 acl_ci = &group->cg_item; in target_fabric_make_mappedlun()
366 df_item = &ml_stat_grp->default_groups[i]->cg_item; in target_fabric_drop_mappedlun()
374 df_item = &lacl_cg->default_groups[i]->cg_item; in target_fabric_drop_mappedlun()
475 df_item = &nacl_cg->default_groups[i]->cg_item; in target_fabric_drop_nodeacl()
693 tpg_ci = &lun_ci->ci_parent->ci_group->cg_item; in target_fabric_port_link()
[all …]
Dtarget_core_configfs.c206 " %s\n", tf->tf_group.cg_item.ci_name); in target_core_register_fabric()
235 df_item = &tf_group->default_groups[i]->cg_item; in target_core_deregister_fabric()
266 .cg_item = {
562 configname = config_item_name(&dev->dev_group.cg_item); in dev_set_t10_wwn_model_alias()
1753 config_item_name(&hba->hba_group.cg_item), in target_dev_alias_store()
1754 config_item_name(&dev->dev_group.cg_item), in target_dev_alias_store()
1794 config_item_name(&hba->hba_group.cg_item), in target_dev_udev_path_store()
1795 config_item_name(&dev->dev_group.cg_item), in target_dev_udev_path_store()
1843 lu_ci = &lu_gp->lu_gp_group.cg_item; in target_dev_alua_lu_gp_show()
1898 config_item_name(&hba->hba_group.cg_item), in target_dev_alua_lu_gp_store()
[all …]
Dtarget_core_alua.c936 config_item_name(&tg_pt_gp->tg_pt_gp_group.cg_item)); in core_alua_update_tpg_primary_metadata()
1043 "implicit", config_item_name(&tg_pt_gp->tg_pt_gp_group.cg_item), in core_alua_do_transition_tg_pt_work()
1237 config_item_name(&lu_gp->lu_gp_group.cg_item), in core_alua_do_port_transition()
1322 "implicit", config_item_name(&tg_pt_gp->tg_pt_gp_group.cg_item), in core_alua_set_tg_pt_secondary_state()
1631 ci = &lu_gp->lu_gp_group.cg_item; in core_alua_get_lu_gp_by_name()
1857 ci = &tg_pt_gp->tg_pt_gp_group.cg_item; in core_alua_get_tg_pt_gp_by_name()
1939 tg_pt_ci = &tg_pt_gp->tg_pt_gp_group.cg_item; in core_alua_show_tg_pt_gp_info()
2013 config_item_name(&lun->lun_group.cg_item), in core_alua_store_tg_pt_gp_info()
2015 &tg_pt_gp->tg_pt_gp_group.cg_item), in core_alua_store_tg_pt_gp_info()
2035 config_item_name(&lun->lun_group.cg_item), in core_alua_store_tg_pt_gp_info()
[all …]
Dtarget_core_xcopy.c90 rc = target_depend_item(&se_dev->dev_group.cg_item); in target_xcopy_locate_se_dev_e4()
375 remote_dev, &remote_dev->dev_group.cg_item); in xcopy_pt_undepend_remotedev()
377 target_undepend_item(&remote_dev->dev_group.cg_item); in xcopy_pt_undepend_remotedev()
Dtarget_core_pr.c1434 return target_depend_item(&tpg->tpg_group.cg_item); in core_scsi3_tpg_depend_item()
1439 target_undepend_item(&tpg->tpg_group.cg_item); in core_scsi3_tpg_undepend_item()
1447 return target_depend_item(&nacl->acl_group.cg_item); in core_scsi3_nodeacl_depend_item()
1453 target_undepend_item(&nacl->acl_group.cg_item); in core_scsi3_nodeacl_undepend_item()
1473 return target_depend_item(&lun_acl->se_lun_group.cg_item); in core_scsi3_lunacl_depend_item()
1493 target_undepend_item(&lun_acl->se_lun_group.cg_item); in core_scsi3_lunacl_undepend_item()
/linux-4.4.14/samples/configfs/
Dconfigfs_sample.c126 .cg_item = {
273 .cg_item = {
342 .cg_item = {
380 subsys->su_group.cg_item.ci_namebuf); in configfs_example_init()
/linux-4.4.14/drivers/usb/gadget/function/
Duvc_configfs.c203 opts_item = dp->group.cg_item.ci_parent->ci_parent->ci_parent; \
241 opts_item = dp->group.cg_item.ci_parent->ci_parent->ci_parent; in uvcg_default_processing_bm_controls_show()
314 opts_item = dc->group.cg_item.ci_parent->ci_parent->ci_parent-> \
360 opts_item = dc->group.cg_item.ci_parent->ci_parent->ci_parent-> in uvcg_default_camera_bm_controls_show()
436 opts_item = dout->group.cg_item.ci_parent->ci_parent-> \
665 &uvcg_uncompressed_grp.group.cg_item,
666 &uvcg_mjpeg_grp.group.cg_item,
697 opts_item = f->group.cg_item.ci_parent->ci_parent->ci_parent; in uvcg_format_bma_controls_show()
723 opts_item = ch->group.cg_item.ci_parent->ci_parent->ci_parent; in uvcg_format_bma_controls_store()
1224 opts_item = group->cg_item.ci_parent->ci_parent->ci_parent; in uvcg_frame_make()
[all …]
Df_mass_storage.c3152 struct fsg_opts *fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); in fsg_lun_opts_file_show()
3161 struct fsg_opts *fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); in fsg_lun_opts_file_store()
3177 struct fsg_opts *fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); in fsg_lun_opts_ro_store()
3207 struct fsg_opts *fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); in fsg_lun_opts_cdrom_store()
3264 fsg_opts = to_fsg_opts(&group->cg_item); in fsg_lun_make()
3284 (const char **)&group->cg_item.ci_name); in fsg_lun_make()
3307 fsg_opts = to_fsg_opts(&group->cg_item); in fsg_lun_drop()
3313 gadget = group->cg_item.ci_parent->ci_parent; in fsg_lun_drop()
3475 (const char **)&opts->func_inst.group.cg_item.ci_name); in fsg_alloc_inst()
Df_fs.c3465 if (opts->no_configfs || !opts->func_inst.group.cg_item.ci_parent in ffs_closed()
3466 || !atomic_read(&opts->func_inst.group.cg_item.ci_kref.refcount)) in ffs_closed()
3470 func_inst.group.cg_item.ci_parent->ci_parent); in ffs_closed()
/linux-4.4.14/fs/dlm/
Dconfig.c399 tmp = &cl->group.default_groups[j]->cg_item; in drop_cluster()
458 tmp = &sp->group.default_groups[j]->cg_item; in drop_space()
512 struct dlm_space *sp = config_item_to_space(g->cg_item.ci_parent); in make_node()
534 struct dlm_space *sp = config_item_to_space(g->cg_item.ci_parent); in drop_node()
554 .cg_item = {
761 config_item_put(&sp->group.cg_item); in put_space()
/linux-4.4.14/drivers/misc/
Dspear13xx_pcie_gadget.c670 struct config_item *cg_item; in spear_pcie_gadget_probe() local
679 cg_item = &target->subsys.su_group.cg_item; in spear_pcie_gadget_probe()
680 sprintf(cg_item->ci_namebuf, "pcie_gadget.%d", pdev->id); in spear_pcie_gadget_probe()
681 cg_item->ci_type = &pcie_gadget_target_type; in spear_pcie_gadget_probe()
/linux-4.4.14/drivers/target/iscsi/
Discsi_target_configfs.c289 config_item_name(&se_tpg->se_tpg_wwn->wwn_group.cg_item), in lio_target_call_addnptotpg()
332 " PORTAL: %pISpc\n", config_item_name(&se_tpg->se_tpg_wwn->wwn_group.cg_item), in lio_target_call_delnpfromtpg()
710 acl_ci = &se_nacl->acl_group.cg_item; in lio_target_nacl_cmdsn_depth_store()
715 tpg_ci = &acl_ci->ci_parent->ci_group->cg_item; in lio_target_nacl_cmdsn_depth_store()
720 wwn_ci = &tpg_ci->ci_group->cg_item; in lio_target_nacl_cmdsn_depth_store()
805 df_item = &stats_cg->default_groups[i]->cg_item; in lio_target_cleanup_nodeacl()
1319 df_item = &stats_cg->default_groups[i]->cg_item; in lio_target_call_coredeltiqn()
/linux-4.4.14/fs/ocfs2/cluster/
Dnodemanager.c585 struct o2nm_cluster *cluster = to_o2nm_cluster(group->cg_item.ci_parent); in o2nm_node_group_drop_item()
724 killme = &cluster->cl_group.default_groups[i]->cg_item; in o2nm_cluster_group_drop_item()
745 .cg_item = {
/linux-4.4.14/drivers/usb/gadget/
Dconfigfs.c554 ret = config_item_set_name(&fi->group.cg_item, "%s", name); in function_make()
736 return to_gadget_info(to_os_desc(item)->group.cg_item.ci_parent); in os_desc_item_to_gadget_info()
1064 struct usb_os_desc *desc = to_usb_os_desc(&group->cg_item); in ext_prop_drop()
1187 config_item_set_name(&d->group.cg_item, "interface.%s", in usb_os_desc_prepare_interf_dir()
1486 .cg_item = {
/linux-4.4.14/drivers/target/tcm_fc/
Dtfc_conf.c294 config_item_name(&tpg->se_tpg.tpg_group.cg_item)); in ft_del_tpg()
/linux-4.4.14/drivers/target/loopback/
Dtcm_loop.c1086 config_item_name(&wwn->wwn_group.cg_item), tpgt); in tcm_loop_make_naa_tpg()
1116 config_item_name(&wwn->wwn_group.cg_item), tpgt); in tcm_loop_drop_naa_tpg()
/linux-4.4.14/drivers/net/
Dnetconsole.c693 .cg_item = {
/linux-4.4.14/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c803 if (!target_depend_item(&se_tpg->tpg_group.cg_item)) { in tcm_qla2xxx_depend_tpg()
819 target_undepend_item(&se_tpg->tpg_group.cg_item); in tcm_qla2xxx_undepend_tpg()
/linux-4.4.14/drivers/vhost/
Dscsi.c1254 ret = target_depend_item(&se_tpg->tpg_group.cg_item); in vhost_scsi_set_endpoint()
1357 target_undepend_item(&se_tpg->tpg_group.cg_item); in vhost_scsi_clear_endpoint()
/linux-4.4.14/Documentation/filesystems/configfs/
Dconfigfs.txt211 struct config_item cg_item;
/linux-4.4.14/drivers/infiniband/ulp/srpt/
Dib_srpt.c3716 pr_debug("drop_tport(%s\n", config_item_name(&sport->port_wwn.wwn_group.cg_item)); in srpt_drop_tport()