Searched refs:bin_attr (Results 1 – 3 of 3) sorted by relevance
/fs/sysfs/ |
D | group.c | 23 struct bin_attribute *const *bin_attr; in remove_files() local 29 for (bin_attr = grp->bin_attrs; *bin_attr; bin_attr++) in remove_files() 30 kernfs_remove_by_name(parent, (*bin_attr)->attr.name); in remove_files() 38 struct bin_attribute *const *bin_attr; in create_files() local 75 for (i = 0, bin_attr = grp->bin_attrs; *bin_attr; i++, bin_attr++) { in create_files() 76 umode_t mode = (*bin_attr)->attr.mode; in create_files() 80 (*bin_attr)->attr.name); in create_files() 82 mode = grp->is_bin_visible(kobj, *bin_attr, i); in create_files() 89 (*bin_attr)->attr.name, mode); in create_files() 93 &(*bin_attr)->attr, true, in create_files()
|
/fs/configfs/ |
D | file.c | 47 struct configfs_bin_attribute *bin_attr; member 164 len = buffer->bin_attr->read(buffer->item, NULL, 0); in configfs_read_bin_file() 189 len = buffer->bin_attr->read(buffer->item, in configfs_read_bin_file() 384 buffer->bin_attr = to_bin_attr(dentry); in __configfs_open_file() 385 buffer->cb_max_size = buffer->bin_attr->cb_max_size; in __configfs_open_file() 411 if ((type & CONFIGFS_ITEM_BIN_ATTR) && !buffer->bin_attr->write) in __configfs_open_file() 424 if ((type & CONFIGFS_ITEM_BIN_ATTR) && !buffer->bin_attr->read) in __configfs_open_file() 482 buffer->bin_attr->write(buffer->item, in configfs_release_bin_file() 543 const struct configfs_bin_attribute *bin_attr) in configfs_create_bin_file() argument 547 umode_t mode = (bin_attr->cb_attr.ca_mode & S_IALLUGO) | S_IFREG; in configfs_create_bin_file() [all …]
|
D | dir.c | 600 struct configfs_bin_attribute *bin_attr; in populate_attrs() local 613 for (i = 0; (bin_attr = t->ct_bin_attrs[i]) != NULL; i++) { in populate_attrs() 614 error = configfs_create_bin_file(item, bin_attr); in populate_attrs()
|