Lines Matching refs:attribute
519 struct param_attribute *attribute = to_param_attr(mattr);
521 if (!attribute->param->ops->get)
525 count = attribute->param->ops->get(buf, attribute->param);
540 struct param_attribute *attribute = to_param_attr(mattr);
542 if (!attribute->param->ops->set)
546 err = attribute->param->ops->set(buf, attribute->param);
588 struct attribute **attrs;
799 struct attribute *attr,
802 struct module_attribute *attribute;
806 attribute = to_module_attr(attr);
809 if (!attribute->show)
812 ret = attribute->show(attribute, mk->mod, buf);
818 struct attribute *attr,
821 struct module_attribute *attribute;
825 attribute = to_module_attr(attr);
828 if (!attribute->store)
831 ret = attribute->store(attribute, mk->mod, buf, len);