Searched refs:mattr (Results 1 – 2 of 2) sorted by relevance
/kernel/ |
D | params.c | 525 struct module_attribute mattr; member 537 #define to_param_attr(n) container_of(n, struct param_attribute, mattr) 539 static ssize_t param_attr_show(struct module_attribute *mattr, in param_attr_show() argument 543 struct param_attribute *attribute = to_param_attr(mattr); in param_attr_show() 555 static ssize_t param_attr_store(struct module_attribute *mattr, in param_attr_store() argument 560 struct param_attribute *attribute = to_param_attr(mattr); in param_attr_store() 651 sysfs_attr_init(&mk->mp->attrs[mk->mp->num].mattr.attr); in add_sysfs_param() 653 mk->mp->attrs[mk->mp->num].mattr.show = param_attr_show; in add_sysfs_param() 656 mk->mp->attrs[mk->mp->num].mattr.store = param_attr_store; in add_sysfs_param() 658 mk->mp->attrs[mk->mp->num].mattr.store = NULL; in add_sysfs_param() [all …]
|
D | module.c | 792 static ssize_t show_modinfo_##field(struct module_attribute *mattr, \ 1119 static ssize_t show_refcnt(struct module_attribute *mattr, in show_refcnt() argument 1207 static ssize_t show_initstate(struct module_attribute *mattr, in show_initstate() argument 1231 static ssize_t store_uevent(struct module_attribute *mattr, in store_uevent() argument 1244 static ssize_t show_coresize(struct module_attribute *mattr, in show_coresize() argument 1253 static ssize_t show_initsize(struct module_attribute *mattr, in show_initsize() argument 1262 static ssize_t show_taint(struct module_attribute *mattr, in show_taint() argument
|