Lines Matching refs:config_item

27 A configfs config_item is created via an explicit userspace operation:
116 Every object in configfs is a config_item. A config_item reflects an
133 [struct config_item]
135 struct config_item {
140 struct config_item *ci_parent;
146 void config_item_init(struct config_item *);
147 void config_item_init_type_name(struct config_item *,
150 struct config_item *config_item_get(struct config_item *);
151 void config_item_put(struct config_item *);
153 Generally, struct config_item is embedded in a container structure, a
155 config_item portion of that structure is how the object interacts with
159 config_group, a config_item must have one of the _init() functions
163 All users of a config_item should have a reference on it via
167 By itself, a config_item cannot do much more than appear in configfs.
174 void (*release)(struct config_item *);
175 int (*allow_link)(struct config_item *src,
176 struct config_item *target);
177 void (*drop_link)(struct config_item *src,
178 struct config_item *target);
190 operations can be performed on a config_item. All items that have been
192 method. This method is called when the config_item's reference count
201 ssize_t (*show)(struct config_item *, char *);
202 ssize_t (*store)(struct config_item *, const char *, size_t);
205 When a config_item wants an attribute to appear as a file in the item's
236 If binary attribute is readable and the config_item provides a
245 A config_item cannot live in a vacuum. The only way one can be created
250 struct config_item cg_item;
263 The config_group structure contains a config_item. Properly configuring
270 struct config_item *(*make_item)(struct config_group *group,
274 int (*commit_item)(struct config_item *item);
276 struct config_item *item);
278 struct config_item *item);
283 config_item (or more likely, its container structure), initializes it,
293 config_item, it is not necessary for a separate drop_group() method.
360 and config_item->ci_parent structure members.
385 A config_item may provide the ct_item_ops->allow_link() and
387 symlink(2) may be called with the config_item as the source of the link.
391 When symlink(2) is called, the source config_item's ->allow_link()
402 A config_item cannot be removed while it links to any other item, nor
482 config_item is ready to go. More importantly, an explicit action allows