Home
last modified time | relevance | path

Searched refs:kobj_attr (Results 1 – 4 of 4) sorted by relevance

/linux-6.3-rc2/arch/powerpc/platforms/powernv/
A Dopal-sysparam.c26 struct kobj_attribute kobj_attr; member
102 struct kobj_attribute *kobj_attr, char *buf) in sys_param_show() argument
105 kobj_attr); in sys_param_show()
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()
253 attr[i].kobj_attr.attr.mode = 0200; in opal_sys_param_init()
256 attr[i].kobj_attr.attr.mode = 0644; in opal_sys_param_init()
262 attr[i].kobj_attr.show = sys_param_show; in opal_sys_param_init()
[all …]
/linux-6.3-rc2/arch/powerpc/platforms/pseries/
A Dpapr_platform_attributes.c58 struct kobj_attribute kobj_attr; member
141 struct kobj_attribute *kobj_attr, in desc_show() argument
145 kobj_attr); in desc_show()
160 struct kobj_attribute *kobj_attr, in val_show() argument
164 kobj_attr); in val_show()
180 struct kobj_attribute *kobj_attr, in val_desc_show() argument
184 kobj_attr); in val_desc_show()
208 sysfs_attr_init(&attr->kobj_attr.attr); in add_attr()
210 attr->kobj_attr.attr.mode = 0444; in add_attr()
211 attr->kobj_attr.show = ops_info[index].show; in add_attr()
[all …]
/linux-6.3-rc2/fs/btrfs/
A Dsysfs.c50 struct kobj_attribute kobj_attr; member
85 .kobj_attr = __INIT_KOBJ_ATTR(_name, S_IRUGO, \
92 (&btrfs_attr_features_##_name.kobj_attr.attr)
235 val ? "En" : "Dis", fa->kobj_attr.attr.name); in btrfs_feature_attr_store()
240 val ? "Setting" : "Clearing", fa->kobj_attr.attr.name); in btrfs_feature_attr_store()
1374 attrs[0] = &fa->kobj_attr.attr; in addrm_unknown_feature_attrs()
1497 name = btrfs_feature_attrs[set][i].kobj_attr.attr.name; in btrfs_printable_features()
1522 fa->kobj_attr.attr.name = sfa->kobj_attr.attr.name; in init_feature_attrs()
1530 if (fa->kobj_attr.attr.name) in init_feature_attrs()
1536 fa->kobj_attr.attr.name = name; in init_feature_attrs()
[all …]
/linux-6.3-rc2/arch/powerpc/kernel/
A Dcacheinfo.c573 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()

Completed in 12 milliseconds