Home
last modified time | relevance | path

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

12

/Linux-v5.10/fs/configfs/
Ddir.c634 struct dentry * dentry = dget(group->cg_item.ci_dentry); in detach_groups()
683 struct dentry *child, *parent = parent_group->cg_item.ci_dentry; in create_default_group()
685 if (!group->cg_item.ci_name) in create_default_group()
686 group->cg_item.ci_name = group->cg_item.ci_namebuf; in create_default_group()
689 child = d_alloc_name(parent, group->cg_item.ci_name); in create_default_group()
693 ret = configfs_attach_group(&parent_group->cg_item, in create_default_group()
694 &group->cg_item, child, frag); in create_default_group()
731 config_item_put(&g->cg_item); in configfs_remove_default_groups()
790 unlink_obj(&group->cg_item); in unlink_group()
798 link_obj(&parent_group->cg_item, &group->cg_item); in link_group()
[all …]
Dmount.c46 .cg_item = {
48 .ci_name = configfs_root_group.cg_item.ci_namebuf,
54 return item == &configfs_root_group.cg_item; in configfs_is_root()
60 .s_element = &configfs_root_group.cg_item,
94 configfs_root_group.cg_item.ci_dentry = root; in configfs_fill_super()
Ditem.c97 config_item_set_name(&group->cg_item, "%s", name); in config_group_init_type_name()
98 group->cg_item.ci_type = type; in config_group_init_type_name()
161 config_item_init(&group->cg_item); in config_group_init()
/Linux-v5.10/drivers/infiniband/core/
Dcma_configfs.c65 group = container_of(item, struct config_group, cg_item); in to_dev_port_group()
246 cg_item); in release_cma_dev()
257 cg_item); in release_cma_ports_group()
329 container_of(item, struct config_group, cg_item); in drop_cma_dev()
350 .cg_item = {
/Linux-v5.10/samples/configfs/
Dconfigfs_sample.c104 .cg_item = {
241 .cg_item = {
309 .cg_item = {
345 ret, subsys->su_group.cg_item.ci_namebuf); in configfs_example_init()
/Linux-v5.10/include/linux/
Dconfigfs.h80 struct config_item cg_item; member
94 return item ? container_of(item,struct config_group,cg_item) : NULL; in to_config_group()
99 return group ? to_config_group(config_item_get(&group->cg_item)) : NULL; in config_group_get()
104 config_item_put(&group->cg_item); in config_group_put()
/Linux-v5.10/drivers/hwtracing/stm/
Dpolicy.c62 return policy_node->group.cg_item.ci_name ? : "<none>"; in stp_policy_node_name()
235 if (group->cg_item.ci_type == &stp_policy_type) { in stp_policy_node_make()
485 .cg_item = {
519 policy_node->group.cg_item.ci_name)) { in __stp_policy_node_lookup()
550 config_item_get(&policy_node->group.cg_item); in stp_policy_node_lookup()
562 config_item_put(&policy_node->group.cg_item); in stp_policy_node_put()
/Linux-v5.10/drivers/usb/gadget/function/
Duvc_configfs.c119 config_item_put(&child->cg_item); in uvcg_config_remove_children()
272 opts_item = group->cg_item.ci_parent->ci_parent->ci_parent; \
306 opts_item = group->cg_item.ci_parent->ci_parent->ci_parent; in uvcg_default_processing_bm_controls_show()
375 opts_item = group->cg_item.ci_parent->ci_parent->ci_parent-> \
417 opts_item = group->cg_item.ci_parent->ci_parent->ci_parent-> in uvcg_default_camera_bm_controls_show()
489 opts_item = group->cg_item.ci_parent->ci_parent-> \
578 group.cg_item); in uvcg_get_ctl_class_arr()
800 opts_item = f->group.cg_item.ci_parent->ci_parent->ci_parent; in uvcg_format_bma_controls_show()
826 opts_item = ch->group.cg_item.ci_parent->ci_parent->ci_parent; in uvcg_format_bma_controls_store()
1367 opts_item = group->cg_item.ci_parent->ci_parent->ci_parent; in uvcg_frame_make()
[all …]
Df_mass_storage.c3035 struct fsg_opts *fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); in fsg_lun_opts_file_show()
3044 struct fsg_opts *fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); in fsg_lun_opts_file_store()
3060 struct fsg_opts *fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); in fsg_lun_opts_ro_store()
3090 struct fsg_opts *fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); in fsg_lun_opts_cdrom_store()
3162 fsg_opts = to_fsg_opts(&group->cg_item); in fsg_lun_make()
3183 (const char **)&group->cg_item.ci_name); in fsg_lun_make()
3206 fsg_opts = to_fsg_opts(&group->cg_item); in fsg_lun_drop()
3212 gadget = group->cg_item.ci_parent->ci_parent; in fsg_lun_drop()
3372 (const char **)&opts->func_inst.group.cg_item.ci_name); in fsg_alloc_inst()
/Linux-v5.10/drivers/most/
Dconfigfs.c440 if (!strcmp(group->cg_item.ci_namebuf, "most_cdev")) in most_common_make_item()
442 else if (!strcmp(group->cg_item.ci_namebuf, "most_net")) in most_common_make_item()
444 else if (!strcmp(group->cg_item.ci_namebuf, "most_video")) in most_common_make_item()
483 .cg_item = {
494 .cg_item = {
505 .cg_item = {
641 .cg_item = {
/Linux-v5.10/drivers/target/
Dtarget_core_configfs.c262 config_item_name(&tf->tf_group.cg_item)); in target_core_register_fabric()
315 .cg_item = {
610 configname = config_item_name(&dev->dev_group.cg_item); in dev_set_t10_wwn_model_alias()
2183 config_item_name(&hba->hba_group.cg_item), in target_dev_alias_store()
2184 config_item_name(&dev->dev_group.cg_item), in target_dev_alias_store()
2224 config_item_name(&hba->hba_group.cg_item), in target_dev_udev_path_store()
2225 config_item_name(&dev->dev_group.cg_item), in target_dev_udev_path_store()
2273 lu_ci = &lu_gp->lu_gp_group.cg_item; in target_dev_alua_lu_gp_show()
2328 config_item_name(&hba->hba_group.cg_item), in target_dev_alua_lu_gp_store()
2329 config_item_name(&dev->dev_group.cg_item), in target_dev_alua_lu_gp_store()
[all …]
Dtarget_core_alua.c927 config_item_name(&tg_pt_gp->tg_pt_gp_group.cg_item)); in core_alua_update_tpg_primary_metadata()
1068 "implicit", config_item_name(&tg_pt_gp->tg_pt_gp_group.cg_item), in core_alua_do_transition_tg_pt()
1185 config_item_name(&lu_gp->lu_gp_group.cg_item), in core_alua_do_port_transition()
1274 "implicit", config_item_name(&tg_pt_gp->tg_pt_gp_group.cg_item), in core_alua_set_tg_pt_secondary_state()
1583 ci = &lu_gp->lu_gp_group.cg_item; in core_alua_get_lu_gp_by_name()
1807 ci = &tg_pt_gp->tg_pt_gp_group.cg_item; in core_alua_get_tg_pt_gp_by_name()
1889 tg_pt_ci = &tg_pt_gp->tg_pt_gp_group.cg_item; in core_alua_show_tg_pt_gp_info()
1963 config_item_name(&lun->lun_group.cg_item), in core_alua_store_tg_pt_gp_info()
1965 &tg_pt_gp->tg_pt_gp_group.cg_item), in core_alua_store_tg_pt_gp_info()
1985 config_item_name(&lun->lun_group.cg_item), in core_alua_store_tg_pt_gp_info()
[all …]
Dtarget_core_fabric_configfs.c98 nacl_ci = &lun_acl_ci->ci_parent->ci_group->cg_item; in target_fabric_mappedlun_link()
99 tpg_ci = &nacl_ci->ci_group->cg_item; in target_fabric_mappedlun_link()
100 wwn_ci = &tpg_ci->ci_group->cg_item; in target_fabric_mappedlun_link()
101 tpg_ci_s = &lun_ci->ci_parent->ci_group->cg_item; in target_fabric_mappedlun_link()
102 wwn_ci_s = &tpg_ci_s->ci_group->cg_item; in target_fabric_mappedlun_link()
643 tpg_ci = &lun_ci->ci_parent->ci_group->cg_item; in target_fabric_port_link()
Dtarget_core_xcopy.c74 rc = target_depend_item(&se_dev->dev_group.cg_item); in target_xcopy_locate_se_dev_e4_iter()
403 remote_dev, &remote_dev->dev_group.cg_item); in xcopy_pt_undepend_remotedev()
405 target_undepend_item(&remote_dev->dev_group.cg_item); in xcopy_pt_undepend_remotedev()
Dtarget_core_pr.c1419 return target_depend_item(&tpg->tpg_group.cg_item); in core_scsi3_tpg_depend_item()
1424 target_undepend_item(&tpg->tpg_group.cg_item); in core_scsi3_tpg_undepend_item()
1432 return target_depend_item(&nacl->acl_group.cg_item); in core_scsi3_nodeacl_depend_item()
1438 target_undepend_item(&nacl->acl_group.cg_item); in core_scsi3_nodeacl_undepend_item()
1454 return target_depend_item(&lun_acl->se_lun_group.cg_item); in core_scsi3_lunacl_depend_item()
1471 target_undepend_item(&lun_acl->se_lun_group.cg_item); in core_scsi3_lunacl_undepend_item()
/Linux-v5.10/drivers/iio/
Dindustrialio-sw-device.c133 d = iio_sw_device_create(group->cg_item.ci_name, name); in device_make_group()
137 config_item_set_name(&d->group.cg_item, "%s", name); in device_make_group()
Dindustrialio-sw-trigger.c133 t = iio_sw_trigger_create(group->cg_item.ci_name, name); in trigger_make_group()
137 config_item_set_name(&t->group.cg_item, "%s", name); in trigger_make_group()
Dindustrialio-configfs.c23 .cg_item = {
/Linux-v5.10/drivers/pci/endpoint/
Dpci-ep-cfs.c400 group->cg_item.ci_name, epf_group->index); in pci_epf_make()
485 .cg_item = {
503 ret, root->cg_item.ci_namebuf); in pci_ep_cfs_init()
/Linux-v5.10/fs/dlm/
Dconfig.c510 struct dlm_space *sp = config_item_to_space(g->cg_item.ci_parent); in make_node()
532 struct dlm_space *sp = config_item_to_space(g->cg_item.ci_parent); in drop_node()
552 .cg_item = {
780 config_item_put(&sp->group.cg_item); in put_space()
/Linux-v5.10/drivers/target/iscsi/
Discsi_target_configfs.c221 config_item_name(&se_tpg->se_tpg_wwn->wwn_group.cg_item), in lio_target_call_addnptotpg()
264 " PORTAL: %pISpc\n", config_item_name(&se_tpg->se_tpg_wwn->wwn_group.cg_item), in lio_target_call_delnpfromtpg()
642 acl_ci = &se_nacl->acl_group.cg_item; in lio_target_nacl_cmdsn_depth_store()
647 tpg_ci = &acl_ci->ci_parent->ci_group->cg_item; in lio_target_nacl_cmdsn_depth_store()
652 wwn_ci = &tpg_ci->ci_group->cg_item; in lio_target_nacl_cmdsn_depth_store()
/Linux-v5.10/drivers/acpi/
Dacpi_configfs.c250 .cg_item = {
/Linux-v5.10/drivers/usb/gadget/
Dconfigfs.c592 ret = config_item_set_name(&fi->group.cg_item, "%s", name); in function_make()
773 return to_gadget_info(to_os_desc(item)->group.cg_item.ci_parent); in os_desc_item_to_gadget_info()
1104 struct usb_os_desc *desc = to_usb_os_desc(&group->cg_item); in ext_prop_drop()
1220 config_item_set_name(&d->group.cg_item, "interface.%s", in usb_os_desc_prepare_interf_dir()
1622 .cg_item = {
/Linux-v5.10/fs/ocfs2/cluster/
Dnodemanager.c608 struct o2nm_cluster *cluster = to_o2nm_cluster(group->cg_item.ci_parent); in o2nm_node_group_drop_item()
758 .cg_item = {
/Linux-v5.10/drivers/target/tcm_fc/
Dtfc_conf.c280 config_item_name(&tpg->se_tpg.tpg_group.cg_item)); in ft_del_tpg()

12