Lines Matching refs:item
55 * fill_read_buffer - allocate and fill buffer from item.
67 struct config_item * item = to_item(dentry->d_parent);
77 count = ops->show_attribute(item,attr,buffer->page);
95 * is in the file's ->d_fsdata. The target item is in the directory's
99 * item's show() method exactly once (if the read is happening from
101 * all the data the item has to offer for that attribute.
173 struct config_item * item = to_item(dentry->d_parent);
176 return ops->store_attribute(item,attr,buffer->page,count);
215 struct config_item *item = configfs_get_config_item(file->f_path.dentry->d_parent);
221 if (!item || !attr)
230 if (item->ci_type)
231 ops = item->ci_type->ct_item_ops;
277 if (error && item)
278 config_item_put(item);
289 struct config_item * item = to_item(filp->f_path.dentry->d_parent);
294 if (item)
295 config_item_put(item);
332 * configfs_create_file - create an attribute file for an item.
333 * @item: item we're creating for.
337 int configfs_create_file(struct config_item * item, const struct configfs_attribute * attr)
339 BUG_ON(!item || !item->ci_dentry || !attr);
341 return configfs_add_file(item->ci_dentry, attr,