Searched refs:kobj_attr (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/arch/powerpc/platforms/powernv/ |
D | opal-sysparam.c | 26 struct kobj_attribute kobj_attr; member 102 struct kobj_attribute *kobj_attr, char *buf) in sys_param_show() argument 104 struct param_attr *attr = container_of(kobj_attr, struct param_attr, in sys_param_show() 105 kobj_attr); in sys_param_show() 123 struct kobj_attribute *kobj_attr, const char *buf, size_t count) in sys_param_store() argument 125 struct param_attr *attr = container_of(kobj_attr, struct param_attr, in sys_param_store() 126 kobj_attr); in sys_param_store() 240 sysfs_attr_init(&attr[i].kobj_attr.attr); in opal_sys_param_init() 244 &attr[i].kobj_attr.attr.name)) in opal_sys_param_init() 250 attr[i].kobj_attr.attr.mode = 0444; in opal_sys_param_init() [all …]
|
/linux-6.1.9/arch/powerpc/platforms/pseries/ |
D | papr_platform_attributes.c | 58 struct kobj_attribute kobj_attr; member 141 struct kobj_attribute *kobj_attr, in desc_show() argument 144 struct papr_attr *pattr = container_of(kobj_attr, struct papr_attr, in desc_show() 145 kobj_attr); in desc_show() 160 struct kobj_attribute *kobj_attr, in val_show() argument 163 struct papr_attr *pattr = container_of(kobj_attr, struct papr_attr, in val_show() 164 kobj_attr); in val_show() 180 struct kobj_attribute *kobj_attr, in val_desc_show() argument 183 struct papr_attr *pattr = container_of(kobj_attr, struct papr_attr, in val_desc_show() 184 kobj_attr); in val_desc_show() [all …]
|
/linux-6.1.9/fs/btrfs/ |
D | sysfs.c | 47 struct kobj_attribute kobj_attr; member 82 .kobj_attr = __INIT_KOBJ_ATTR(_name, S_IRUGO, \ 89 (&btrfs_attr_features_##_name.kobj_attr.attr) 104 return container_of(a, struct btrfs_feature_attr, kobj_attr); in to_btrfs_feature_attr() 232 val ? "En" : "Dis", fa->kobj_attr.attr.name); in btrfs_feature_attr_store() 237 val ? "Setting" : "Clearing", fa->kobj_attr.attr.name); in btrfs_feature_attr_store() 1330 attrs[0] = &fa->kobj_attr.attr; in addrm_unknown_feature_attrs() 1453 name = btrfs_feature_attrs[set][i].kobj_attr.attr.name; in btrfs_printable_features() 1478 fa->kobj_attr.attr.name = sfa->kobj_attr.attr.name; in init_feature_attrs() 1486 if (fa->kobj_attr.attr.name) in init_feature_attrs() [all …]
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | cacheinfo.c | 573 struct kobj_attribute *kobj_attr; in cache_index_show() local 575 kobj_attr = container_of(attr, struct kobj_attribute, attr); in cache_index_show() 577 return kobj_attr->show(k, kobj_attr, buf); in cache_index_show()
|