Home
last modified time | relevance | path

Searched refs:config_group (Results 1 – 25 of 62) sorted by relevance

123

/kernel/linux/linux-5.10/include/linux/
Dconfigfs.h46 struct config_group *ci_group;
79 struct config_group { struct
87 extern void config_group_init(struct config_group *group); argument
88 extern void config_group_init_type_name(struct config_group *group,
92 static inline struct config_group *to_config_group(struct config_item *item) in to_config_group()
94 return item ? container_of(item,struct config_group,cg_item) : NULL; in to_config_group()
97 static inline struct config_group *config_group_get(struct config_group *group) in config_group_get()
102 static inline void config_group_put(struct config_group *group) in config_group_put()
107 extern struct config_item *config_group_find_item(struct config_group *,
111 static inline void configfs_add_default_group(struct config_group *new_group, in configfs_add_default_group()
[all …]
Dpci-ep-cfs.h15 struct config_group *pci_ep_cfs_add_epc_group(const char *name);
16 void pci_ep_cfs_remove_epc_group(struct config_group *group);
17 struct config_group *pci_ep_cfs_add_epf_group(const char *name);
18 void pci_ep_cfs_remove_epf_group(struct config_group *group);
20 static inline struct config_group *pci_ep_cfs_add_epc_group(const char *name) in pci_ep_cfs_add_epc_group()
25 static inline void pci_ep_cfs_remove_epc_group(struct config_group *group) in pci_ep_cfs_remove_epc_group()
29 static inline struct config_group *pci_ep_cfs_add_epf_group(const char *name) in pci_ep_cfs_add_epf_group()
34 static inline void pci_ep_cfs_remove_epf_group(struct config_group *group) in pci_ep_cfs_remove_epf_group()
/kernel/linux/linux-5.10/include/target/
Dtarget_core_base.h262 struct config_group alua_tg_pt_gps_group;
272 struct config_group lu_gp_group;
303 struct config_group tg_pt_gp_group;
331 struct config_group t10_wwn_group;
574 struct config_group acl_group;
575 struct config_group acl_attrib_group;
576 struct config_group acl_auth_group;
577 struct config_group acl_param_group;
578 struct config_group acl_fabric_stat_group;
638 struct config_group stat_group;
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dcma_configfs.c48 struct config_group group;
53 struct config_group device_group;
54 struct config_group ports_group;
60 struct config_group *group; in to_dev_port_group()
65 group = container_of(item, struct config_group, cg_item); in to_dev_port_group()
247 struct config_group *group = container_of(item, struct config_group, in release_cma_dev()
258 struct config_group *group = container_of(item, struct config_group, in release_cma_ports_group()
286 static struct config_group *make_cma_dev(struct config_group *group, in make_cma_dev()
328 static void drop_cma_dev(struct config_group *cgroup, struct config_item *item) in drop_cma_dev()
330 struct config_group *group = in drop_cma_dev()
[all …]
/kernel/linux/linux-5.10/fs/dlm/
Dconfig.c35 static struct config_group *space_list;
36 static struct config_group *comm_list;
49 static struct config_group *make_cluster(struct config_group *, const char *);
50 static void drop_cluster(struct config_group *, struct config_item *);
52 static struct config_group *make_space(struct config_group *, const char *);
53 static void drop_space(struct config_group *, struct config_item *);
55 static struct config_item *make_comm(struct config_group *, const char *);
56 static void drop_comm(struct config_group *, struct config_item *);
58 static struct config_item *make_node(struct config_group *, const char *);
59 static void drop_node(struct config_group *, struct config_item *);
[all …]
/kernel/linux/linux-5.10/drivers/pci/endpoint/
Dpci-ep-cfs.c19 static struct config_group *functions_group;
20 static struct config_group *controllers_group;
23 struct config_group group;
29 struct config_group group;
137 struct config_group *pci_ep_cfs_add_epc_group(const char *name) in pci_ep_cfs_add_epc_group()
141 struct config_group *group; in pci_ep_cfs_add_epc_group()
180 void pci_ep_cfs_remove_epc_group(struct config_group *group) in pci_ep_cfs_remove_epc_group()
375 static struct config_group *pci_epf_make(struct config_group *group, in pci_epf_make()
433 static void pci_epf_drop(struct config_group *group, struct config_item *item) in pci_epf_drop()
448 struct config_group *pci_ep_cfs_add_epf_group(const char *name) in pci_ep_cfs_add_epf_group()
[all …]
/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_fabric_configfs.c234 static struct config_group *target_core_mappedlun_stat_mkdir( in target_core_mappedlun_stat_mkdir()
235 struct config_group *group, in target_core_mappedlun_stat_mkdir()
242 struct config_group *group, in target_core_mappedlun_stat_rmdir()
264 static struct config_group *target_fabric_make_mappedlun( in target_fabric_make_mappedlun()
265 struct config_group *group, in target_fabric_make_mappedlun()
326 struct config_group *group, in target_fabric_drop_mappedlun()
372 static struct config_group *target_fabric_make_nodeacl( in target_fabric_make_nodeacl()
373 struct config_group *group, in target_fabric_make_nodeacl()
421 struct config_group *group, in target_fabric_drop_nodeacl()
466 static struct config_group *target_fabric_make_np( in target_fabric_make_np()
[all …]
/kernel/linux/linux-5.10/drivers/nvme/target/
Dnvmet.h73 struct config_group device_group;
74 struct config_group group;
113 struct config_group group;
136 struct config_group group;
137 struct config_group subsys_group;
139 struct config_group referrals_group;
142 struct config_group ana_groups_group;
240 struct config_group group;
242 struct config_group namespaces_group;
243 struct config_group allowed_hosts_group;
[all …]
/kernel/linux/linux-5.10/fs/configfs/
Ddir.c642 static void detach_groups(struct config_group *group) in detach_groups()
686 static int create_default_group(struct config_group *parent_group, in create_default_group()
687 struct config_group *group, in create_default_group()
718 static int populate_groups(struct config_group *group, in populate_groups()
721 struct config_group *new_group; in populate_groups()
735 void configfs_remove_default_groups(struct config_group *group) in configfs_remove_default_groups()
737 struct config_group *g, *n; in configfs_remove_default_groups()
753 struct config_group *group; in unlink_obj()
792 static void unlink_group(struct config_group *group) in unlink_group()
794 struct config_group *new_group; in unlink_group()
[all …]
Ditem.c94 void config_group_init_type_name(struct config_group *group, const char *name, in config_group_init_type_name()
122 struct config_group *s = item->ci_group; in config_item_cleanup()
159 void config_group_init(struct config_group *group) in config_group_init()
176 struct config_item *config_group_find_item(struct config_group *group, in config_group_find_item()
/kernel/linux/linux-5.10/drivers/iio/
Dindustrialio-sw-device.c18 static struct config_group *iio_devices_group;
128 static struct config_group *device_make_group(struct config_group *group, in device_make_group()
142 static void device_drop_group(struct config_group *group, in device_drop_group()
Dindustrialio-sw-trigger.c18 static struct config_group *iio_triggers_group;
132 static struct config_group *trigger_make_group(struct config_group *group, in trigger_make_group()
146 static void trigger_drop_group(struct config_group *group, in trigger_drop_group()
/kernel/linux/linux-5.10/drivers/usb/gadget/
Dconfigfs.c36 struct config_group group;
37 struct config_group functions_group;
38 struct config_group configs_group;
39 struct config_group strings_group;
40 struct config_group os_desc_group;
62 struct config_group group;
63 struct config_group strings_group;
83 struct config_group group;
88 struct config_group group;
96 struct config_group group;
[all …]
Dconfigfs.h9 struct config_group *usb_os_desc_prepare_interf_dir(
10 struct config_group *parent,
/kernel/linux/linux-5.10/drivers/hwtracing/stm/
Dpolicy.c25 struct config_group group;
30 struct config_group group;
227 static struct config_group *
228 stp_policy_node_make(struct config_group *group, const char *name) in stp_policy_node_make()
273 stp_policy_node_drop(struct config_group *group, struct config_item *item) in stp_policy_node_drop()
387 static struct config_group *
388 stp_policy_make(struct config_group *group, const char *name) in stp_policy_make()
393 struct config_group *ret; in stp_policy_make()
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Duvc_configfs.c62 int (*create_children)(struct config_group *group);
67 struct config_group *group = to_config_group(item); in uvcg_config_item_release()
76 static int uvcg_config_create_group(struct config_group *parent,
79 static int uvcg_config_create_children(struct config_group *group, in uvcg_config_create_children()
97 static int uvcg_config_create_group(struct config_group *parent, in uvcg_config_create_group()
100 struct config_group *group; in uvcg_config_create_group()
112 static void uvcg_config_remove_children(struct config_group *group) in uvcg_config_remove_children()
114 struct config_group *child, *n; in uvcg_config_remove_children()
222 static struct config_item *uvcg_control_header_make(struct config_group *group, in uvcg_control_header_make()
263 struct config_group *group = to_config_group(item); \
[all …]
/kernel/linux/linux-5.10/include/linux/usb/
Dgadget_configfs.h47 static struct config_group *struct_in##_strings_make( \
48 struct config_group *group, \
86 struct config_group *group, \
/kernel/linux/linux-5.10/samples/configfs/
Dconfigfs_sample.c174 struct config_group group;
183 static struct config_item *simple_children_make_item(struct config_group *group, in simple_children_make_item()
260 static struct config_group *group_children_make_group( in group_children_make_group()
261 struct config_group *group, const char *name) in group_children_make_group()
/kernel/linux/linux-5.10/fs/ocfs2/cluster/
Dheartbeat.h51 struct config_group *o2hb_alloc_hb_set(void);
52 void o2hb_free_hb_set(struct config_group *group);
Dnodemanager.c413 struct config_group ns_group;
418 static struct o2nm_node_group *to_o2nm_node_group(struct config_group *group)
583 static struct config_item *o2nm_node_group_make_item(struct config_group *group, in o2nm_node_group_make_item()
604 static void o2nm_node_group_drop_item(struct config_group *group, in o2nm_node_group_drop_item()
679 static struct o2nm_cluster_group *to_o2nm_cluster_group(struct config_group *group)
687 static struct config_group *o2nm_cluster_group_make_group(struct config_group *group, in o2nm_cluster_group_make_group()
692 struct config_group *o2hb_group = NULL, *ret = NULL; in o2nm_cluster_group_make_group()
734 static void o2nm_cluster_group_drop_item(struct config_group *group, struct config_item *item) in o2nm_cluster_group_drop_item()
/kernel/linux/linux-5.10/include/linux/iio/
Dsw_trigger.h27 struct config_group *group;
33 struct config_group group;
Dsw_device.h27 struct config_group *group;
33 struct config_group group;
/kernel/linux/linux-5.10/drivers/acpi/
Dacpi_configfs.c19 static struct config_group *acpi_table_group;
211 static struct config_item *acpi_table_make_item(struct config_group *group, in acpi_table_make_item()
224 static void acpi_table_drop_item(struct config_group *group, in acpi_table_drop_item()
261 struct config_group *root = &acpi_configfs.su_group; in acpi_configfs_init()
/kernel/linux/linux-5.10/drivers/most/
Dconfigfs.c413 struct config_group group;
423 static struct config_item *most_common_make_item(struct config_group *group, in most_common_make_item()
452 struct config_group *group = to_config_group(item); in most_common_release()
461 static void most_common_disconnect(struct config_group *group, in most_common_disconnect()
514 struct config_group group;
524 static struct config_item *most_snd_grp_make_item(struct config_group *group, in most_snd_grp_make_item()
595 static struct config_group *most_sound_make_group(struct config_group *group, in most_sound_make_group()
620 static void most_sound_disconnect(struct config_group *group, in most_sound_disconnect()
/kernel/linux/linux-5.10/Documentation/filesystems/
Dconfigfs.rst127 Items are created and destroyed inside a config_group. A group is a
135 subsystem is also a config_group, and can do everything a config_group
149 struct config_group *ci_group;
167 config_group, a config_item must have one of the _init() functions
260 struct config_group
264 is via mkdir(2) on a config_group. This will trigger creation of a
267 struct config_group {
275 void config_group_init(struct config_group *group);
276 void config_group_init_type_name(struct config_group *group,
281 The config_group structure contains a config_item. Properly configuring
[all …]

123