Lines Matching refs:attribute
399 struct param_attribute *attribute = to_param_attr(mattr);
401 if (!attribute->param->get)
404 count = attribute->param->get(buf, attribute->param);
418 struct param_attribute *attribute = to_param_attr(mattr);
420 if (!attribute->param->set)
423 err = attribute->param->set(buf, attribute->param);
458 struct attribute **gattr;
632 struct attribute *attr,
635 struct module_attribute *attribute;
639 attribute = to_module_attr(attr);
642 if (!attribute->show)
645 ret = attribute->show(attribute, mk->mod, buf);
651 struct attribute *attr,
654 struct module_attribute *attribute;
658 attribute = to_module_attr(attr);
661 if (!attribute->store)
664 ret = attribute->store(attribute, mk->mod, buf, len);