Searched refs:mattr (Results 1 – 2 of 2) sorted by relevance
/kernel/ |
D | params.c | 543 struct module_attribute mattr; member 555 #define to_param_attr(n) container_of(n, struct param_attribute, mattr) 557 static ssize_t param_attr_show(struct module_attribute *mattr, in param_attr_show() argument 561 struct param_attribute *attribute = to_param_attr(mattr); in param_attr_show() 573 static ssize_t param_attr_store(struct module_attribute *mattr, in param_attr_store() argument 578 struct param_attribute *attribute = to_param_attr(mattr); in param_attr_store() 669 sysfs_attr_init(&mk->mp->attrs[mk->mp->num].mattr.attr); in add_sysfs_param() 671 mk->mp->attrs[mk->mp->num].mattr.show = param_attr_show; in add_sysfs_param() 674 mk->mp->attrs[mk->mp->num].mattr.store = param_attr_store; in add_sysfs_param() 676 mk->mp->attrs[mk->mp->num].mattr.store = NULL; in add_sysfs_param() [all …]
|
D | module.c | 726 static ssize_t show_modinfo_##field(struct module_attribute *mattr, \ 1054 static ssize_t show_refcnt(struct module_attribute *mattr, in show_refcnt() argument 1142 static ssize_t show_initstate(struct module_attribute *mattr, in show_initstate() argument 1166 static ssize_t store_uevent(struct module_attribute *mattr, in store_uevent() argument 1179 static ssize_t show_coresize(struct module_attribute *mattr, in show_coresize() argument 1188 static ssize_t show_initsize(struct module_attribute *mattr, in show_initsize() argument 1197 static ssize_t show_taint(struct module_attribute *mattr, in show_taint() argument
|