Home
last modified time | relevance | path

Searched refs:mattr (Results 1 – 2 of 2) sorted by relevance

/kernel/
Dparams.c543 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 …]
/kernel/module/
Dmain.c506 static ssize_t show_modinfo_##field(struct module_attribute *mattr, \
813 static ssize_t show_refcnt(struct module_attribute *mattr, in show_refcnt() argument
895 static ssize_t show_initstate(struct module_attribute *mattr, in show_initstate() argument
919 static ssize_t store_uevent(struct module_attribute *mattr, in store_uevent() argument
932 static ssize_t show_coresize(struct module_attribute *mattr, in show_coresize() argument
942 static ssize_t show_datasize(struct module_attribute *mattr, in show_datasize() argument
952 static ssize_t show_initsize(struct module_attribute *mattr, in show_initsize() argument
961 static ssize_t show_taint(struct module_attribute *mattr, in show_taint() argument