Lines Matching refs:attr
46 struct configfs_attribute *attr; member
70 count = buffer->attr->show(buffer->item, buffer->page); in fill_read_buffer()
251 res = buffer->attr->store(buffer->item, buffer->page, count); in flush_write_buffer()
360 struct configfs_attribute *attr; in __configfs_open_file() local
379 attr = to_attr(dentry); in __configfs_open_file()
380 if (!attr) in __configfs_open_file()
387 buffer->attr = attr; in __configfs_open_file()
390 buffer->owner = attr->ca_owner; in __configfs_open_file()
409 if ((type & CONFIGFS_ITEM_ATTR) && !attr->store) in __configfs_open_file()
422 if ((type & CONFIGFS_ITEM_ATTR) && !attr->show) in __configfs_open_file()
521 int configfs_create_file(struct config_item * item, const struct configfs_attribute * attr) in configfs_create_file() argument
525 umode_t mode = (attr->ca_mode & S_IALLUGO) | S_IFREG; in configfs_create_file()
529 error = configfs_make_dirent(parent_sd, NULL, (void *) attr, mode, in configfs_create_file()