Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/ !
Dmodule.h52 struct module_attribute { struct
54 ssize_t (*show)(struct module_attribute *, struct module_kobject *, argument
56 ssize_t (*store)(struct module_attribute *, struct module_kobject *, argument
64 struct module_attribute mattr; argument
69 extern ssize_t __modver_version_show(struct module_attribute *,
72 extern struct module_attribute module_uevent;
379 struct module_attribute *modinfo_attrs;
/linux-6.1.9/kernel/module/ !
Dsysfs.c277 struct module_attribute *attr; in module_remove_modinfo_attrs()
295 struct module_attribute *attr; in module_add_modinfo_attrs()
296 struct module_attribute *temp_attr; in module_add_modinfo_attrs()
300 mod->modinfo_attrs = kzalloc((sizeof(struct module_attribute) * in module_add_modinfo_attrs()
Dmain.c503 static ssize_t show_modinfo_##field(struct module_attribute *mattr, \
517 static struct module_attribute modinfo_##field = { \
809 static ssize_t show_refcnt(struct module_attribute *mattr, in show_refcnt()
815 static struct module_attribute modinfo_refcnt =
891 static ssize_t show_initstate(struct module_attribute *mattr, in show_initstate()
912 static struct module_attribute modinfo_initstate =
915 static ssize_t store_uevent(struct module_attribute *mattr, in store_uevent()
925 struct module_attribute module_uevent =
928 static ssize_t show_coresize(struct module_attribute *mattr, in show_coresize()
934 static struct module_attribute modinfo_coresize =
[all …]
Dinternal.h45 extern struct module_attribute *modinfo_attrs[];
/linux-6.1.9/kernel/ !
Dparams.c538 #define to_module_attr(n) container_of(n, struct module_attribute, attr)
543 struct module_attribute mattr;
557 static ssize_t param_attr_show(struct module_attribute *mattr, in param_attr_show()
573 static ssize_t param_attr_store(struct module_attribute *mattr, in param_attr_store()
855 ssize_t __modver_version_show(struct module_attribute *mattr, in __modver_version_show()
890 struct module_attribute *attribute; in module_attr_show()
909 struct module_attribute *attribute; in module_attr_store()