/linux-6.3-rc2/fs/sysfs/ |
A D | file.c | 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() 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() 278 if (sysfs_ops->show && sysfs_ops->store) in sysfs_add_file_mode_ns() 280 else if (sysfs_ops->show) in sysfs_add_file_mode_ns() [all …]
|
/linux-6.3-rc2/fs/ubifs/ |
A D | sysfs.c | 73 static const struct sysfs_ops ubifs_attr_ops = { 79 .sysfs_ops = &ubifs_attr_ops, 84 .sysfs_ops = &ubifs_attr_ops,
|
/linux-6.3-rc2/fs/erofs/ |
A D | sysfs.c | 177 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,
|
/linux-6.3-rc2/fs/xfs/ |
A D | xfs_sysfs.c | 62 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,
|
/linux-6.3-rc2/include/linux/ |
A D | kobject.h | 122 const struct sysfs_ops *sysfs_ops; member 151 extern const struct sysfs_ops kobj_sysfs_ops;
|
/linux-6.3-rc2/arch/powerpc/platforms/pseries/ |
A D | vas-sysfs.c | 160 static const struct sysfs_ops vas_sysfs_ops = { 167 .sysfs_ops = &vas_sysfs_ops, 173 .sysfs_ops = &vas_sysfs_ops,
|
/linux-6.3-rc2/drivers/edac/ |
A D | edac_device_sysfs.c | 142 static const struct sysfs_ops device_ctl_info_ops = { 217 .sysfs_ops = &device_ctl_info_ops, 369 static const struct sysfs_ops device_instance_ops = { 400 .sysfs_ops = &device_instance_ops, 473 static const struct sysfs_ops device_block_ops = { 499 .sysfs_ops = &device_block_ops,
|
A D | edac_pci_sysfs.c | 122 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,
|
/linux-6.3-rc2/fs/zonefs/ |
A D | sysfs.c | 78 static const struct sysfs_ops zonefs_sysfs_attr_ops = { 84 .sysfs_ops = &zonefs_sysfs_attr_ops,
|
/linux-6.3-rc2/drivers/cpuidle/ |
A D | sysfs.c | 190 static const struct sysfs_ops cpuidle_sysfs_ops = { 204 .sysfs_ops = &cpuidle_sysfs_ops, 438 static const struct sysfs_ops cpuidle_state_sysfs_ops = { 451 .sysfs_ops = &cpuidle_state_sysfs_ops, 586 static const struct sysfs_ops cpuidle_driver_sysfs_ops = { 598 .sysfs_ops = &cpuidle_driver_sysfs_ops,
|
/linux-6.3-rc2/drivers/dma-buf/ |
A D | dma-buf-sysfs-stats.c | 78 static const struct sysfs_ops dma_buf_stats_sysfs_ops = { 116 .sysfs_ops = &dma_buf_stats_sysfs_ops,
|
/linux-6.3-rc2/drivers/md/ |
A D | dm-sysfs.c | 118 static const struct sysfs_ops dm_sysfs_ops = { 124 .sysfs_ops = &dm_sysfs_ops,
|
/linux-6.3-rc2/block/ |
A D | blk-crypto-sysfs.c | 110 static const struct sysfs_ops blk_crypto_attr_ops = { 121 .sysfs_ops = &blk_crypto_attr_ops,
|
/linux-6.3-rc2/mm/damon/ |
A D | sysfs.c | 86 .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, 1569 .sysfs_ops = &kobj_sysfs_ops, 1712 .sysfs_ops = &kobj_sysfs_ops, [all …]
|
A D | sysfs-schemes.c | 108 .sysfs_ops = &kobj_sysfs_ops, 158 .sysfs_ops = &kobj_sysfs_ops, 257 .sysfs_ops = &kobj_sysfs_ops, 389 .sysfs_ops = &kobj_sysfs_ops, 508 .sysfs_ops = &kobj_sysfs_ops, 683 .sysfs_ops = &kobj_sysfs_ops, 794 .sysfs_ops = &kobj_sysfs_ops, 925 .sysfs_ops = &kobj_sysfs_ops, 1024 .sysfs_ops = &kobj_sysfs_ops, 1284 .sysfs_ops = &kobj_sysfs_ops, [all …]
|
/linux-6.3-rc2/drivers/md/bcache/ |
A D | sysfs.h | 8 .sysfs_ops = &((const struct sysfs_ops) { \
|
/linux-6.3-rc2/fs/orangefs/ |
A D | orangefs-sysfs.c | 205 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,
|
/linux-6.3-rc2/fs/nfs/ |
A D | sysfs.c | 36 .sysfs_ops = &kobj_sysfs_ops, 150 .sysfs_ops = &kobj_sysfs_ops,
|
/linux-6.3-rc2/fs/ocfs2/cluster/ |
A D | masklog.c | 142 static const struct sysfs_ops mlog_attr_ops = { 149 .sysfs_ops = &mlog_attr_ops,
|
/linux-6.3-rc2/arch/x86/platform/efi/ |
A D | runtime-map.c | 84 static const struct sysfs_ops map_attr_ops = { 97 .sysfs_ops = &map_attr_ops,
|
/linux-6.3-rc2/drivers/dma/ioat/ |
A D | sysfs.c | 70 const struct sysfs_ops ioat_sysfs_ops = { 164 .sysfs_ops = &ioat_sysfs_ops,
|
/linux-6.3-rc2/Documentation/translations/zh_CN/core-api/ |
A D | kobject.rst | 260 const struct sysfs_ops *sysfs_ops; 273 方法的一个指针。另外两个字段(sysfs_ops 和 default_groups)控制这种
|
/linux-6.3-rc2/samples/kobject/ |
A D | kset-example.c | 89 static const struct sysfs_ops foo_sysfs_ops = { 189 .sysfs_ops = &foo_sysfs_ops,
|
/linux-6.3-rc2/arch/ia64/kernel/ |
A D | topology.c | 272 static const struct sysfs_ops cache_sysfs_ops = { 277 .sysfs_ops = &cache_sysfs_ops, 282 .sysfs_ops = &cache_sysfs_ops,
|
/linux-6.3-rc2/drivers/platform/x86/ |
A D | uv_sysfs.c | 202 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,
|