Lines Matching refs:config_item
29 A configfs config_item is created via an explicit userspace operation:
121 Every object in configfs is a config_item. A config_item reflects an
138 struct config_item
143 struct config_item {
148 struct config_item *ci_parent;
154 void config_item_init(struct config_item *);
155 void config_item_init_type_name(struct config_item *,
158 struct config_item *config_item_get(struct config_item *);
159 void config_item_put(struct config_item *);
161 Generally, struct config_item is embedded in a container structure, a
163 config_item portion of that structure is how the object interacts with
167 config_group, a config_item must have one of the _init() functions
171 All users of a config_item should have a reference on it via
175 By itself, a config_item cannot do much more than appear in configfs.
185 void (*release)(struct config_item *);
186 int (*allow_link)(struct config_item *src,
187 struct config_item *target);
188 void (*drop_link)(struct config_item *src,
189 struct config_item *target);
201 operations can be performed on a config_item. All items that have been
203 method. This method is called when the config_item's reference count
215 ssize_t (*show)(struct config_item *, char *);
216 ssize_t (*store)(struct config_item *, const char *, size_t);
219 When a config_item wants an attribute to appear as a file in the item's
253 If binary attribute is readable and the config_item provides a
263 A config_item cannot live in a vacuum. The only way one can be created
268 struct config_item cg_item;
281 The config_group structure contains a config_item. Properly configuring
288 struct config_item *(*make_item)(struct config_group *group,
292 int (*commit_item)(struct config_item *item);
294 struct config_item *item);
296 struct config_item *item);
302 config_item (or more likely, its container structure), initializes it,
312 config_item, it is not necessary for a separate drop_group() method.
384 and config_item->ci_parent structure members.
410 A config_item may provide the ct_item_ops->allow_link() and
412 symlink(2) may be called with the config_item as the source of the link.
416 When symlink(2) is called, the source config_item's ->allow_link()
427 A config_item cannot be removed while it links to any other item, nor
511 config_item is ready to go. More importantly, an explicit action allows