Lines Matching refs:bin_attribute

27 struct bin_attribute;
104 const struct bin_attribute *, int);
106 const struct bin_attribute *,
110 struct bin_attribute **bin_attrs;
111 const struct bin_attribute *const *bin_attrs_new;
207 struct kobject *kobj, const struct bin_attribute *attr, int n) \
216 struct kobject *kobj, const struct bin_attribute *a, int n) \
304 struct bin_attribute { struct
309 ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *, argument
311 ssize_t (*read_new)(struct file *, struct kobject *, const struct bin_attribute *, argument
313 ssize_t (*write)(struct file *, struct kobject *, struct bin_attribute *, argument
316 const struct bin_attribute *, char *, loff_t, size_t); argument
317 loff_t (*llseek)(struct file *, struct kobject *, const struct bin_attribute *, argument
319 int (*mmap)(struct file *, struct kobject *, const struct bin_attribute *attr, argument
336 const struct bin_attribute *, char *, loff_t, size_t);
372 struct bin_attribute bin_attr_##_name = __BIN_ATTR(_name, _mode, _read, \
376 struct bin_attribute bin_attr_##_name = __BIN_ATTR_RO(_name, _size)
379 struct bin_attribute bin_attr_##_name = __BIN_ATTR_WO(_name, _size)
382 struct bin_attribute bin_attr_##_name = __BIN_ATTR_RW(_name, _size)
392 struct bin_attribute bin_attr_##_name = __BIN_ATTR_ADMIN_RO(_name, _size)
395 struct bin_attribute bin_attr_##_name = __BIN_ATTR_ADMIN_RW(_name, _size)
401 struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0444)
404 struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400)
441 const struct bin_attribute *attr);
443 const struct bin_attribute *attr);
514 const struct bin_attribute *attr, char *buf,
600 const struct bin_attribute *attr) in sysfs_create_bin_file()
606 const struct bin_attribute *attr) in sysfs_remove_bin_file()
777 const struct bin_attribute *attr, in sysfs_bin_attr_simple_read()