Searched refs:class_attribute (Results 1 – 5 of 5) sorted by relevance
| /NextBSD/sys/compat/linuxkpi/common/include/linux/ |
| HD | device.h | 81 struct class_attribute { struct 83 ssize_t (*show)(struct class *, struct class_attribute *, char *); argument 84 ssize_t (*store)(struct class *, struct class_attribute *, const char *, size_t); argument 85 const void *(*namespace)(struct class *, const struct class_attribute *); argument 89 struct class_attribute class_attr_##_name = \ 107 struct class_attribute attr; 113 struct class_attribute *attr, char *buf) in show_class_attr_string() 307 class_create_file(struct class *class, const struct class_attribute *attr) in class_create_file() 316 class_remove_file(struct class *class, const struct class_attribute *attr) in class_remove_file()
|
| /NextBSD/sys/compat/linuxkpi/common/src/ |
| HD | linux_compat.c | 238 struct class_attribute *dattr; in linux_class_show() 241 dattr = container_of(attr, struct class_attribute, attr); in linux_class_show() 253 struct class_attribute *dattr; in linux_class_store() 256 dattr = container_of(attr, struct class_attribute, attr); in linux_class_store()
|
| /NextBSD/sys/ofed/drivers/infiniband/core/ |
| HD | user_mad.c | 1040 static ssize_t show_abi_version(struct class *class, struct class_attribute *attr, char *buf) in show_abi_version()
|
| HD | uverbs_main.c | 1187 static ssize_t show_abi_version(struct class *class, struct class_attribute *attr, char *buf) in show_abi_version()
|
| HD | ucm.c | 1338 static ssize_t show_abi_version(struct class *class, struct class_attribute *attr, char *buf) in show_abi_version()
|