Home
last modified time | relevance | path

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

123

/openbmc/linux/include/linux/
H A Dconfigfs.h44 struct config_group *ci_group;
77 struct config_group { struct
85 extern void config_group_init(struct config_group *group); argument
86 extern void config_group_init_type_name(struct config_group *group,
90 static inline struct config_group *to_config_group(struct config_item *item) in to_config_group()
92 return item ? container_of(item,struct config_group,cg_item) : NULL; in to_config_group()
95 static inline struct config_group *config_group_get(struct config_group *group) in config_group_get()
100 static inline void config_group_put(struct config_group *group) in config_group_put()
105 extern struct config_item *config_group_find_item(struct config_group *,
109 static inline void configfs_add_default_group(struct config_group *new_group, in configfs_add_default_group()
[all …]
H A 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()
H A Dpci-epf.h66 struct config_group *(*add_cfs)(struct pci_epf *epf,
67 struct config_group *group);
177 struct config_group *group;
/openbmc/linux/include/target/
H A Dtarget_core_base.h268 struct config_group alua_tg_pt_gps_group;
278 struct config_group lu_gp_group;
309 struct config_group tg_pt_gp_group;
338 struct config_group t10_wwn_group;
582 struct config_group acl_group;
583 struct config_group acl_attrib_group;
584 struct config_group acl_auth_group;
585 struct config_group acl_param_group;
586 struct config_group acl_fabric_stat_group;
650 struct config_group stat_group;
[all …]
/openbmc/linux/drivers/pci/endpoint/
H A Dpci-ep-cfs.c19 static struct config_group *functions_group;
20 static struct config_group *controllers_group;
23 struct config_group group;
24 struct config_group primary_epc_group;
25 struct config_group secondary_epc_group;
26 struct config_group *type_group;
33 struct config_group group;
96 static struct config_group
99 struct config_group *secondary_epc_group; in pci_ep_cfs_add_secondary_group()
157 static struct config_group
[all …]
/openbmc/linux/drivers/infiniband/core/
H A Dcma_configfs.c47 struct config_group group;
52 struct config_group device_group;
53 struct config_group ports_group;
59 struct config_group *group; in to_dev_port_group()
64 group = container_of(item, struct config_group, cg_item); in to_dev_port_group()
238 struct config_group *group = container_of(item, struct config_group, in release_cma_dev()
249 struct config_group *group = container_of(item, struct config_group, in release_cma_ports_group()
277 static struct config_group *make_cma_dev(struct config_group *group, in make_cma_dev()
319 static void drop_cma_dev(struct config_group *cgroup, struct config_item *item) in drop_cma_dev()
321 struct config_group *group = in drop_cma_dev()
[all …]
/openbmc/linux/fs/dlm/
H A Dconfig.c36 static struct config_group *space_list;
37 static struct config_group *comm_list;
50 static struct config_group *make_cluster(struct config_group *, const char *);
51 static void drop_cluster(struct config_group *, struct config_item *);
53 static struct config_group *make_space(struct config_group *, const char *);
54 static void drop_space(struct config_group *, struct config_item *);
56 static struct config_item *make_comm(struct config_group *, const char *);
57 static void drop_comm(struct config_group *, struct config_item *);
59 static struct config_item *make_node(struct config_group *, const char *);
60 static void drop_node(struct config_group *, struct config_item *);
[all …]
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-syscfg-configfs.h17 struct config_group group;
25 struct config_group group;
32 struct config_group group;
39 struct config_group group;
H A Dcoresight-syscfg-configfs.c205 static struct config_group *cscfg_create_config_group(struct cscfg_config_desc *config_desc) in cscfg_create_config_group()
323 struct config_group *params_group) in cscfg_create_params_group_items()
344 static struct config_group *cscfg_create_feature_group(struct cscfg_feature_desc *feat_desc) in cscfg_create_feature_group()
348 struct config_group *params_group = NULL; in cscfg_create_feature_group()
360 params_group = devm_kzalloc(dev, sizeof(struct config_group), GFP_KERNEL); in cscfg_create_feature_group()
387 static struct config_group cscfg_configs_grp = {
397 struct config_group *new_group; in cscfg_configfs_add_config()
421 static struct config_group cscfg_features_grp = {
431 struct config_group *new_group; in cscfg_configfs_add_feature()
/openbmc/linux/drivers/target/
H A Dtarget_core_fabric_configfs.c235 static struct config_group *target_core_mappedlun_stat_mkdir( in target_core_mappedlun_stat_mkdir()
236 struct config_group *group, in target_core_mappedlun_stat_mkdir()
243 struct config_group *group, in target_core_mappedlun_stat_rmdir()
265 static struct config_group *target_fabric_make_mappedlun( in target_fabric_make_mappedlun()
266 struct config_group *group, in target_fabric_make_mappedlun()
327 struct config_group *group, in target_fabric_drop_mappedlun()
373 static struct config_group *target_fabric_make_nodeacl( in target_fabric_make_nodeacl()
374 struct config_group *group, in target_fabric_make_nodeacl()
422 struct config_group *group, in target_fabric_drop_nodeacl()
467 static struct config_group *target_fabric_make_np( in target_fabric_make_np()
[all …]
/openbmc/linux/fs/configfs/
H A Ddir.c616 static void detach_groups(struct config_group *group) in detach_groups()
660 static int create_default_group(struct config_group *parent_group, in create_default_group()
661 struct config_group *group, in create_default_group()
692 static int populate_groups(struct config_group *group, in populate_groups()
695 struct config_group *new_group; in populate_groups()
709 void configfs_remove_default_groups(struct config_group *group) in configfs_remove_default_groups()
711 struct config_group *g, *n; in configfs_remove_default_groups()
727 struct config_group *group; in unlink_obj()
766 static void unlink_group(struct config_group *group) in unlink_group()
768 struct config_group *new_group; in unlink_group()
[all …]
H A Ditem.c92 void config_group_init_type_name(struct config_group *group, const char *name, in config_group_init_type_name()
120 struct config_group *s = item->ci_group; in config_item_cleanup()
157 void config_group_init(struct config_group *group) in config_group_init()
174 struct config_item *config_group_find_item(struct config_group *group, in config_group_find_item()
/openbmc/linux/drivers/usb/gadget/function/
H A Duvc_configfs.c120 int (*create_children)(struct config_group *group);
125 struct config_group *group = to_config_group(item); in uvcg_config_item_release()
134 static int uvcg_config_create_group(struct config_group *parent,
137 static int uvcg_config_create_children(struct config_group *group, in uvcg_config_create_children()
155 static int uvcg_config_create_group(struct config_group *parent, in uvcg_config_create_group()
158 struct config_group *group; in uvcg_config_create_group()
170 static void uvcg_config_remove_children(struct config_group *group) in uvcg_config_remove_children()
172 struct config_group *child, *n; in uvcg_config_remove_children()
267 static struct config_item *uvcg_control_header_make(struct config_group *group, in uvcg_control_header_make()
308 struct config_group *group = to_config_group(item); \
[all …]
H A Du_midi2.h53 struct config_group group;
60 struct config_group group;
/openbmc/linux/drivers/iio/
H A 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()
H A 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()
/openbmc/linux/drivers/nvme/target/
H A Dnvmet.h76 struct config_group device_group;
77 struct config_group group;
129 struct config_group group;
152 struct config_group group;
153 struct config_group subsys_group;
155 struct config_group referrals_group;
158 struct config_group ana_groups_group;
261 struct config_group group;
263 struct config_group namespaces_group;
264 struct config_group allowed_hosts_group;
[all …]
/openbmc/linux/drivers/hwtracing/stm/
H A Dpolicy.c25 struct config_group group;
30 struct config_group group;
222 static struct config_group *
223 stp_policy_node_make(struct config_group *group, const char *name) in stp_policy_node_make()
268 stp_policy_node_drop(struct config_group *group, struct config_item *item) in stp_policy_node_drop()
382 static struct config_group *
383 stp_policy_make(struct config_group *group, const char *name) in stp_policy_make()
388 struct config_group *ret; in stp_policy_make()
/openbmc/linux/drivers/usb/gadget/
H A Dconfigfs.c38 struct config_group group;
39 struct config_group functions_group;
40 struct config_group configs_group;
41 struct config_group strings_group;
42 struct config_group os_desc_group;
43 struct config_group webusb_group;
70 struct config_group group;
71 struct config_group strings_group;
96 struct config_group group;
107 struct config_group group;
[all …]
H A Dconfigfs.h9 struct config_group *usb_os_desc_prepare_interf_dir(
10 struct config_group *parent,
/openbmc/linux/Documentation/filesystems/
H A 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 …]
/openbmc/linux/include/linux/usb/
H A Dgadget_configfs.h47 static struct config_group *struct_in##_strings_make( \
48 struct config_group *group, \
86 struct config_group *group, \
/openbmc/linux/samples/configfs/
H A Dconfigfs_sample.c172 struct config_group group;
181 static struct config_item *simple_children_make_item(struct config_group *group, in simple_children_make_item()
258 static struct config_group *group_children_make_group( in group_children_make_group()
259 struct config_group *group, const char *name) in group_children_make_group()
/openbmc/linux/include/linux/iio/
H A Dsw_device.h27 struct config_group *group;
33 struct config_group group;
H A Dsw_trigger.h27 struct config_group *group;
33 struct config_group group;

123