Home
last modified time | relevance | path

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

/linux-3.4.99/kernel/
Dparams.c513 struct module_attribute mattr; member
525 #define to_param_attr(n) container_of(n, struct param_attribute, mattr)
527 static ssize_t param_attr_show(struct module_attribute *mattr, in param_attr_show() argument
531 struct param_attribute *attribute = to_param_attr(mattr); in param_attr_show()
547 static ssize_t param_attr_store(struct module_attribute *mattr, in param_attr_store() argument
552 struct param_attribute *attribute = to_param_attr(mattr); in param_attr_store()
637 sysfs_attr_init(&new->attrs[num].mattr.attr); in add_sysfs_param()
639 new->attrs[num].mattr.show = param_attr_show; in add_sysfs_param()
640 new->attrs[num].mattr.store = param_attr_store; in add_sysfs_param()
641 new->attrs[num].mattr.attr.name = (char *)name; in add_sysfs_param()
[all …]
Dmodule.c541 static ssize_t show_modinfo_##field(struct module_attribute *mattr, \
898 static ssize_t show_refcnt(struct module_attribute *mattr, in show_refcnt() argument
996 static ssize_t show_initstate(struct module_attribute *mattr, in show_initstate() argument
1018 static ssize_t store_uevent(struct module_attribute *mattr, in store_uevent() argument
1032 static ssize_t show_coresize(struct module_attribute *mattr, in show_coresize() argument
1041 static ssize_t show_initsize(struct module_attribute *mattr, in show_initsize() argument
1050 static ssize_t show_taint(struct module_attribute *mattr, in show_taint() argument
1266 struct module_attribute mattr; member
1278 static ssize_t module_sect_show(struct module_attribute *mattr, in module_sect_show() argument
1282 container_of(mattr, struct module_sect_attr, mattr); in module_sect_show()
[all …]
/linux-3.4.99/include/linux/
Dmodule.h56 struct module_attribute mattr; member
159 .mattr = { \
/linux-3.4.99/drivers/media/rc/
Drc-main.c762 struct device_attribute *mattr, char *buf) in show_protocols() argument
826 struct device_attribute *mattr, in store_protocols() argument