Home
last modified time | relevance | path

Searched refs:sysfs_ops (Results 1 – 25 of 123) sorted by relevance

12345

/openbmc/linux/fs/sysfs/
H A Dfile.c26 static const struct sysfs_ops *sysfs_file_ops(struct kernfs_node *kn) in sysfs_file_ops()
32 return kobj->ktype ? kobj->ktype->sysfs_ops : NULL; in sysfs_file_ops()
44 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); in sysfs_kf_seq_show()
104 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); in sysfs_kf_read()
130 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); in sysfs_kf_write()
259 const struct sysfs_ops *sysfs_ops = kobj->ktype->sysfs_ops; in sysfs_add_file_mode_ns() local
265 if (WARN(!sysfs_ops, KERN_ERR in sysfs_add_file_mode_ns()
271 if (sysfs_ops->show && sysfs_ops->store) in sysfs_add_file_mode_ns()
273 else if (sysfs_ops->show) in sysfs_add_file_mode_ns()
275 else if (sysfs_ops->store) in sysfs_add_file_mode_ns()
[all …]
/openbmc/linux/fs/ubifs/
H A Dsysfs.c73 static const struct sysfs_ops ubifs_attr_ops = {
79 .sysfs_ops = &ubifs_attr_ops,
84 .sysfs_ops = &ubifs_attr_ops,
/openbmc/linux/fs/erofs/
H A Dsysfs.c177 static const struct sysfs_ops erofs_attr_ops = {
184 .sysfs_ops = &erofs_attr_ops,
189 .sysfs_ops = &erofs_attr_ops,
198 .sysfs_ops = &erofs_attr_ops,
/openbmc/linux/fs/xfs/
H A Dxfs_sysfs.c62 static const struct sysfs_ops xfs_sysfs_ops = {
74 .sysfs_ops = &xfs_sysfs_ops,
271 .sysfs_ops = &xfs_sysfs_ops,
329 .sysfs_ops = &xfs_sysfs_ops,
415 .sysfs_ops = &xfs_sysfs_ops,
569 .sysfs_ops = &xfs_sysfs_ops,
575 .sysfs_ops = &xfs_sysfs_ops,
/openbmc/linux/include/linux/
H A Dkobject.h118 const struct sysfs_ops *sysfs_ops; member
147 extern const struct sysfs_ops kobj_sysfs_ops;
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dvas-sysfs.c160 static const struct sysfs_ops vas_sysfs_ops = {
167 .sysfs_ops = &vas_sysfs_ops,
173 .sysfs_ops = &vas_sysfs_ops,
/openbmc/linux/fs/nfs/
H A Dsysfs.c37 .sysfs_ops = &kobj_sysfs_ops,
146 .sysfs_ops = &kobj_sysfs_ops,
165 .sysfs_ops = &kobj_sysfs_ops,
307 .sysfs_ops = &kobj_sysfs_ops,
/openbmc/linux/drivers/edac/
H A Dedac_device_sysfs.c142 static const struct sysfs_ops device_ctl_info_ops = {
217 .sysfs_ops = &device_ctl_info_ops,
371 static const struct sysfs_ops device_instance_ops = {
402 .sysfs_ops = &device_instance_ops,
475 static const struct sysfs_ops device_block_ops = {
501 .sysfs_ops = &device_block_ops,
H A Dedac_pci_sysfs.c122 static const struct sysfs_ops pci_instance_ops = {
148 .sysfs_ops = &pci_instance_ops,
262 static const struct sysfs_ops edac_pci_sysfs_ops = {
331 .sysfs_ops = &edac_pci_sysfs_ops,
/openbmc/linux/fs/zonefs/
H A Dsysfs.c78 static const struct sysfs_ops zonefs_sysfs_attr_ops = {
84 .sysfs_ops = &zonefs_sysfs_attr_ops,
/openbmc/linux/drivers/dma-buf/
H A Ddma-buf-sysfs-stats.c78 static const struct sysfs_ops dma_buf_stats_sysfs_ops = {
116 .sysfs_ops = &dma_buf_stats_sysfs_ops,
/openbmc/linux/drivers/md/
H A Ddm-sysfs.c118 static const struct sysfs_ops dm_sysfs_ops = {
124 .sysfs_ops = &dm_sysfs_ops,
/openbmc/linux/mm/damon/
H A Dsysfs.c86 .sysfs_ops = &kobj_sysfs_ops,
203 .sysfs_ops = &kobj_sysfs_ops,
282 .sysfs_ops = &kobj_sysfs_ops,
407 .sysfs_ops = &kobj_sysfs_ops,
535 .sysfs_ops = &kobj_sysfs_ops,
617 .sysfs_ops = &kobj_sysfs_ops,
805 .sysfs_ops = &kobj_sysfs_ops,
931 .sysfs_ops = &kobj_sysfs_ops,
1603 .sysfs_ops = &kobj_sysfs_ops,
1746 .sysfs_ops = &kobj_sysfs_ops,
[all …]
H A Dsysfs-schemes.c108 .sysfs_ops = &kobj_sysfs_ops,
176 .sysfs_ops = &kobj_sysfs_ops,
275 .sysfs_ops = &kobj_sysfs_ops,
480 .sysfs_ops = &kobj_sysfs_ops,
599 .sysfs_ops = &kobj_sysfs_ops,
774 .sysfs_ops = &kobj_sysfs_ops,
885 .sysfs_ops = &kobj_sysfs_ops,
1016 .sysfs_ops = &kobj_sysfs_ops,
1115 .sysfs_ops = &kobj_sysfs_ops,
1375 .sysfs_ops = &kobj_sysfs_ops,
[all …]
/openbmc/linux/block/
H A Dblk-crypto-sysfs.c110 static const struct sysfs_ops blk_crypto_attr_ops = {
121 .sysfs_ops = &blk_crypto_attr_ops,
/openbmc/linux/drivers/cpuidle/
H A Dsysfs.c197 static const struct sysfs_ops cpuidle_sysfs_ops = {
211 .sysfs_ops = &cpuidle_sysfs_ops,
445 static const struct sysfs_ops cpuidle_state_sysfs_ops = {
458 .sysfs_ops = &cpuidle_state_sysfs_ops,
593 static const struct sysfs_ops cpuidle_driver_sysfs_ops = {
605 .sysfs_ops = &cpuidle_driver_sysfs_ops,
/openbmc/linux/fs/orangefs/
H A Dorangefs-sysfs.c205 static const struct sysfs_ops orangefs_sysfs_ops = {
908 .sysfs_ops = &orangefs_sysfs_ops,
955 .sysfs_ops = &orangefs_sysfs_ops,
1002 .sysfs_ops = &orangefs_sysfs_ops,
1049 .sysfs_ops = &orangefs_sysfs_ops,
1096 .sysfs_ops = &orangefs_sysfs_ops,
1136 .sysfs_ops = &orangefs_sysfs_ops,
1169 .sysfs_ops = &orangefs_sysfs_ops,
/openbmc/linux/drivers/md/bcache/
H A Dsysfs.h8 .sysfs_ops = &((const struct sysfs_ops) { \
/openbmc/linux/fs/ocfs2/cluster/
H A Dmasklog.c142 static const struct sysfs_ops mlog_attr_ops = {
149 .sysfs_ops = &mlog_attr_ops,
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Dkobject.rst260 const struct sysfs_ops *sysfs_ops;
273 方法的一个指针。另外两个字段(sysfs_ops 和 default_groups)控制这种
/openbmc/linux/arch/x86/platform/efi/
H A Druntime-map.c84 static const struct sysfs_ops map_attr_ops = {
97 .sysfs_ops = &map_attr_ops,
/openbmc/linux/drivers/dma/ioat/
H A Dsysfs.c70 const struct sysfs_ops ioat_sysfs_ops = {
164 .sysfs_ops = &ioat_sysfs_ops,
/openbmc/linux/samples/kobject/
H A Dkset-example.c89 static const struct sysfs_ops foo_sysfs_ops = {
189 .sysfs_ops = &foo_sysfs_ops,
/openbmc/linux/drivers/platform/x86/
H A Duv_sysfs.c202 static const struct sysfs_ops hub_sysfs_ops = {
208 .sysfs_ops = &hub_sysfs_ops,
355 static const struct sysfs_ops uv_port_sysfs_ops = {
361 .sysfs_ops = &uv_port_sysfs_ops,
527 static const struct sysfs_ops uv_pci_top_sysfs_ops = {
533 .sysfs_ops = &uv_pci_top_sysfs_ops,
/openbmc/linux/arch/ia64/kernel/
H A Dtopology.c272 static const struct sysfs_ops cache_sysfs_ops = {
277 .sysfs_ops = &cache_sysfs_ops,
282 .sysfs_ops = &cache_sysfs_ops,

12345