Searched refs:class_attribute (Results 1 - 2 of 2) sorted by relevance
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | device.h | 126 struct class_attribute { struct 128 ssize_t (*show)(struct class *, struct class_attribute *, char *); 129 ssize_t (*store)(struct class *, struct class_attribute *, const char *, size_t); 130 const void *(*namespace)(struct class *, const struct class_attribute *); 134 struct class_attribute class_attr_##_name = \ 158 struct class_attribute attr; 164 struct class_attribute *attr, char *buf) 536 class_create_file(struct class *class, const struct class_attribute *attr) 545 class_remove_file(struct class *class, const struct class_attribute *attr)
|
/freebsd-11-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_compat.c | 265 struct class_attribute *dattr; 268 dattr = container_of(attr, struct class_attribute, attr); 280 struct class_attribute *dattr; 283 dattr = container_of(attr, struct class_attribute, attr);
|
Completed in 92 milliseconds