Searched refs:module_attribute (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
D | module.h | 55 struct module_attribute { struct 57 ssize_t (*show)(struct module_attribute *, struct module_kobject *, argument 59 ssize_t (*store)(struct module_attribute *, struct module_kobject *, argument 67 struct module_attribute mattr; argument 72 extern ssize_t __modver_version_show(struct module_attribute *, 75 extern struct module_attribute module_uevent; 377 struct module_attribute *modinfo_attrs;
|
/kernel/linux/linux-5.10/kernel/ |
D | params.c | 520 #define to_module_attr(n) container_of(n, struct module_attribute, attr) 525 struct module_attribute mattr; 539 static ssize_t param_attr_show(struct module_attribute *mattr, in param_attr_show() 555 static ssize_t param_attr_store(struct module_attribute *mattr, in param_attr_store() 837 ssize_t __modver_version_show(struct module_attribute *mattr, in __modver_version_show() 874 struct module_attribute *attribute; in module_attr_show() 893 struct module_attribute *attribute; in module_attr_store()
|
D | module.c | 790 static ssize_t show_modinfo_##field(struct module_attribute *mattr, \ 804 static struct module_attribute modinfo_##field = { \ 1116 static ssize_t show_refcnt(struct module_attribute *mattr, in show_refcnt() 1122 static struct module_attribute modinfo_refcnt = 1204 static ssize_t show_initstate(struct module_attribute *mattr, in show_initstate() 1225 static struct module_attribute modinfo_initstate = 1228 static ssize_t store_uevent(struct module_attribute *mattr, in store_uevent() 1238 struct module_attribute module_uevent = 1241 static ssize_t show_coresize(struct module_attribute *mattr, in show_coresize() 1247 static struct module_attribute modinfo_coresize = [all …]
|