Lines Matching refs:bin_attr
45 struct configfs_bin_attribute *bin_attr; member
127 len = buffer->bin_attr->read(buffer->item, NULL, 0); in configfs_bin_read_iter()
152 len = buffer->bin_attr->read(buffer->item, in configfs_bin_read_iter()
318 buffer->bin_attr = to_bin_attr(dentry); in __configfs_open_file()
319 buffer->cb_max_size = buffer->bin_attr->cb_max_size; in __configfs_open_file()
345 if ((type & CONFIGFS_ITEM_BIN_ATTR) && !buffer->bin_attr->write) in __configfs_open_file()
358 if ((type & CONFIGFS_ITEM_BIN_ATTR) && !buffer->bin_attr->read) in __configfs_open_file()
411 buffer->bin_attr->write(buffer->item, in configfs_release_bin_file()
469 const struct configfs_bin_attribute *bin_attr) in configfs_create_bin_file() argument
473 umode_t mode = (bin_attr->cb_attr.ca_mode & S_IALLUGO) | S_IFREG; in configfs_create_bin_file()
477 error = configfs_make_dirent(parent_sd, NULL, (void *) bin_attr, mode, in configfs_create_bin_file()