Lines Matching defs:attribute
564 struct param_attribute *attribute = to_param_attr(mattr);
566 if (!attribute->param->ops->get)
570 count = attribute->param->ops->get(buf, attribute->param);
581 struct param_attribute *attribute = to_param_attr(mattr);
583 if (!attribute->param->ops->set)
587 if (param_check_unsafe(attribute->param))
588 err = attribute->param->ops->set(buf, attribute->param);
633 struct attribute **new_attrs;
645 /* NULL-terminated attribute array. */
892 struct attribute *attr,
895 struct module_attribute *attribute;
899 attribute = to_module_attr(attr);
902 if (!attribute->show)
905 ret = attribute->show(attribute, mk, buf);
911 struct attribute *attr,
914 struct module_attribute *attribute;
918 attribute = to_module_attr(attr);
921 if (!attribute->store)
924 ret = attribute->store(attribute, mk, buf, len);