Lines Matching defs:mattr
472 static ssize_t show_modinfo_##field(struct module_attribute *mattr, \
782 static ssize_t show_refcnt(struct module_attribute *mattr,
828 static ssize_t show_initstate(struct module_attribute *mattr,
973 static ssize_t module_sect_show(struct module_attribute *mattr,
977 container_of(mattr, struct module_sect_attr, mattr);
1026 sattr->mattr.show = module_sect_show;
1027 sattr->mattr.store = NULL;
1028 sattr->mattr.attr.name = sattr->name;
1029 sattr->mattr.attr.owner = mod;
1030 sattr->mattr.attr.mode = S_IRUGO;
1031 *(gattr++) = &(sattr++)->mattr.attr;