Home
last modified time | relevance | path

Searched refs:class_attribute (Results 1 – 5 of 5) sorted by relevance

/NextBSD/sys/compat/linuxkpi/common/include/linux/
HDdevice.h81 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/
HDlinux_compat.c238 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/
HDuser_mad.c1040 static ssize_t show_abi_version(struct class *class, struct class_attribute *attr, char *buf) in show_abi_version()
HDuverbs_main.c1187 static ssize_t show_abi_version(struct class *class, struct class_attribute *attr, char *buf) in show_abi_version()
HDucm.c1338 static ssize_t show_abi_version(struct class *class, struct class_attribute *attr, char *buf) in show_abi_version()