Searched refs:kobj_attr (Results 1 – 2 of 2) sorted by relevance
/arch/powerpc/platforms/powernv/ |
D | opal-sysparam.c | 39 struct kobj_attribute kobj_attr; member 115 struct kobj_attribute *kobj_attr, char *buf) in sys_param_show() argument 117 struct param_attr *attr = container_of(kobj_attr, struct param_attr, in sys_param_show() 118 kobj_attr); in sys_param_show() 136 struct kobj_attribute *kobj_attr, const char *buf, size_t count) in sys_param_store() argument 138 struct param_attr *attr = container_of(kobj_attr, struct param_attr, in sys_param_store() 139 kobj_attr); in sys_param_store() 253 sysfs_attr_init(&attr[i].kobj_attr.attr); in opal_sys_param_init() 257 &attr[i].kobj_attr.attr.name)) in opal_sys_param_init() 263 attr[i].kobj_attr.attr.mode = S_IRUGO; in opal_sys_param_init() [all …]
|
/arch/powerpc/kernel/ |
D | cacheinfo.c | 523 struct kobj_attribute *kobj_attr; in cache_index_show() local 525 kobj_attr = container_of(attr, struct kobj_attribute, attr); in cache_index_show() 527 return kobj_attr->show(k, kobj_attr, buf); in cache_index_show()
|