Lines Matching refs:attr
845 container_of(_attr, struct padata_sysfs_entry, attr)
854 struct attribute attr; member
861 struct attribute *attr, char *buf) in show_cpumask() argument
867 if (!strcmp(attr->name, "serial_cpumask")) in show_cpumask()
879 struct attribute *attr, in store_cpumask() argument
894 mask_type = !strcmp(attr->name, "serial_cpumask") ? in store_cpumask()
921 &serial_cpumask_attr.attr,
922 ¶llel_cpumask_attr.attr,
928 struct attribute *attr, char *buf) in padata_sysfs_show() argument
935 pentry = attr2pentry(attr); in padata_sysfs_show()
937 ret = pentry->show(pinst, attr, buf); in padata_sysfs_show()
942 static ssize_t padata_sysfs_store(struct kobject *kobj, struct attribute *attr, in padata_sysfs_store() argument
950 pentry = attr2pentry(attr); in padata_sysfs_store()
952 ret = pentry->store(pinst, attr, buf, count); in padata_sysfs_store()