Lines Matching refs:config_item
27 A configfs config_item is created via an explicit userspace operation:
104 Every object in configfs is a config_item. A config_item reflects an
121 [struct config_item]
123 struct config_item {
128 struct config_item *ci_parent;
134 void config_item_init(struct config_item *);
135 void config_item_init_type_name(struct config_item *,
138 struct config_item *config_item_get(struct config_item *);
139 void config_item_put(struct config_item *);
141 Generally, struct config_item is embedded in a container structure, a
143 config_item portion of that structure is how the object interacts with
147 config_group, a config_item must have one of the _init() functions
151 All users of a config_item should have a reference on it via
155 By itself, a config_item cannot do much more than appear in configfs.
162 void (*release)(struct config_item *);
163 ssize_t (*show_attribute)(struct config_item *,
166 ssize_t (*store_attribute)(struct config_item *,
169 int (*allow_link)(struct config_item *src,
170 struct config_item *target);
171 int (*drop_link)(struct config_item *src,
172 struct config_item *target);
183 operations can be performed on a config_item. All items that have been
185 method. This method is called when the config_item's reference count
198 When a config_item wants an attribute to appear as a file in the item's
205 If an attribute is readable and the config_item provides a
212 A config_item cannot live in a vacuum. The only way one can be created
217 struct config_item cg_item;
229 The config_group structure contains a config_item. Properly configuring
236 struct config_item *(*make_item)(struct config_group *group,
240 int (*commit_item)(struct config_item *item);
242 struct config_item *item);
244 struct config_item *item);
249 config_item (or more likely, its container structure), initializes it,
259 config_item, it is not necessary for a separate drop_group() method.
336 and config_item->ci_parent structure members.
361 A config_item may provide the ct_item_ops->allow_link() and
363 symlink(2) may be called with the config_item as the source of the link.
367 When symlink(2) is called, the source config_item's ->allow_link()
378 A config_item cannot be removed while it links to any other item, nor
458 config_item is ready to go. More importantly, an explicit action allows