/Linux-v5.15/fs/sysfs/ |
D | file.c | 26 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() 107 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); in sysfs_kf_read() 133 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); in sysfs_kf_write() 268 const struct sysfs_ops *sysfs_ops = kobj->ktype->sysfs_ops; in sysfs_add_file_mode_ns() local 271 if (WARN(!sysfs_ops, KERN_ERR in sysfs_add_file_mode_ns() 276 if (sysfs_ops->show && sysfs_ops->store) { in sysfs_add_file_mode_ns() 281 } else if (sysfs_ops->show) { in sysfs_add_file_mode_ns() 286 } else if (sysfs_ops->store) { in sysfs_add_file_mode_ns()
|
/Linux-v5.15/fs/xfs/ |
D | xfs_sysfs.c | 62 static const struct sysfs_ops xfs_sysfs_ops = { 73 .sysfs_ops = &xfs_sysfs_ops, 245 .sysfs_ops = &xfs_sysfs_ops, 302 .sysfs_ops = &xfs_sysfs_ops, 387 .sysfs_ops = &xfs_sysfs_ops, 541 .sysfs_ops = &xfs_sysfs_ops, 547 .sysfs_ops = &xfs_sysfs_ops,
|
/Linux-v5.15/include/linux/ |
D | kobject.h | 140 const struct sysfs_ops *sysfs_ops; member 171 extern const struct sysfs_ops kobj_sysfs_ops;
|
/Linux-v5.15/drivers/edac/ |
D | edac_device_sysfs.c | 142 static const struct sysfs_ops device_ctl_info_ops = { 219 .sysfs_ops = &device_ctl_info_ops, 371 static const struct sysfs_ops device_instance_ops = { 401 .sysfs_ops = &device_instance_ops, 474 static const struct sysfs_ops device_block_ops = { 499 .sysfs_ops = &device_block_ops,
|
D | edac_pci_sysfs.c | 122 static const struct sysfs_ops pci_instance_ops = { 147 .sysfs_ops = &pci_instance_ops, 261 static const struct sysfs_ops edac_pci_sysfs_ops = { 329 .sysfs_ops = &edac_pci_sysfs_ops,
|
/Linux-v5.15/drivers/dma-buf/ |
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-v5.15/drivers/cpuidle/ |
D | sysfs.c | 190 static const struct sysfs_ops cpuidle_sysfs_ops = { 204 .sysfs_ops = &cpuidle_sysfs_ops, 437 static const struct sysfs_ops cpuidle_state_sysfs_ops = { 450 .sysfs_ops = &cpuidle_state_sysfs_ops, 584 static const struct sysfs_ops cpuidle_driver_sysfs_ops = { 595 .sysfs_ops = &cpuidle_driver_sysfs_ops,
|
/Linux-v5.15/drivers/md/ |
D | dm-sysfs.c | 116 static const struct sysfs_ops dm_sysfs_ops = { 122 .sysfs_ops = &dm_sysfs_ops,
|
/Linux-v5.15/fs/orangefs/ |
D | orangefs-sysfs.c | 205 static const struct sysfs_ops orangefs_sysfs_ops = { 899 .sysfs_ops = &orangefs_sysfs_ops, 936 .sysfs_ops = &orangefs_sysfs_ops, 973 .sysfs_ops = &orangefs_sysfs_ops, 1010 .sysfs_ops = &orangefs_sysfs_ops, 1047 .sysfs_ops = &orangefs_sysfs_ops, 1077 .sysfs_ops = &orangefs_sysfs_ops, 1100 .sysfs_ops = &orangefs_sysfs_ops,
|
/Linux-v5.15/drivers/md/bcache/ |
D | sysfs.h | 8 .sysfs_ops = &((const struct sysfs_ops) { \
|
/Linux-v5.15/fs/nfs/ |
D | sysfs.c | 36 .sysfs_ops = &kobj_sysfs_ops, 149 .sysfs_ops = &kobj_sysfs_ops,
|
/Linux-v5.15/fs/ocfs2/cluster/ |
D | masklog.c | 141 static const struct sysfs_ops mlog_attr_ops = { 148 .sysfs_ops = &mlog_attr_ops,
|
/Linux-v5.15/drivers/firmware/efi/ |
D | runtime-map.c | 83 static const struct sysfs_ops map_attr_ops = { 96 .sysfs_ops = &map_attr_ops,
|
/Linux-v5.15/drivers/dma/ioat/ |
D | sysfs.c | 70 const struct sysfs_ops ioat_sysfs_ops = { 163 .sysfs_ops = &ioat_sysfs_ops,
|
/Linux-v5.15/samples/kobject/ |
D | kset-example.c | 89 static const struct sysfs_ops foo_sysfs_ops = { 189 .sysfs_ops = &foo_sysfs_ops,
|
/Linux-v5.15/Documentation/translations/zh_CN/core-api/ |
D | kobject.rst | 260 const struct sysfs_ops *sysfs_ops; 274 方法的一个指针。另外两个字段(sysfs_ops 和 default_attrs)控制这种
|
/Linux-v5.15/arch/ia64/kernel/ |
D | topology.c | 281 static const struct sysfs_ops cache_sysfs_ops = { 286 .sysfs_ops = &cache_sysfs_ops, 291 .sysfs_ops = &cache_sysfs_ops,
|
/Linux-v5.15/drivers/platform/x86/ |
D | uv_sysfs.c | 201 static const struct sysfs_ops hub_sysfs_ops = { 207 .sysfs_ops = &hub_sysfs_ops, 353 static const struct sysfs_ops uv_port_sysfs_ops = { 359 .sysfs_ops = &uv_port_sysfs_ops, 525 static const struct sysfs_ops uv_pci_top_sysfs_ops = { 531 .sysfs_ops = &uv_pci_top_sysfs_ops,
|
/Linux-v5.15/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.c | 256 static const struct sysfs_ops sysprops_ops = { 262 .sysfs_ops = &sysprops_ops, 296 static const struct sysfs_ops iolink_ops = { 302 .sysfs_ops = &iolink_ops, 328 static const struct sysfs_ops mem_ops = { 334 .sysfs_ops = &mem_ops, 373 static const struct sysfs_ops cache_ops = { 379 .sysfs_ops = &cache_ops, 542 static const struct sysfs_ops node_ops = { 548 .sysfs_ops = &node_ops,
|
/Linux-v5.15/drivers/block/rnbd/ |
D | rnbd-srv-sysfs.c | 37 .sysfs_ops = &kobj_sysfs_ops, 190 .sysfs_ops = &kobj_sysfs_ops,
|
/Linux-v5.15/drivers/staging/greybus/ |
D | audio_manager_module.c | 59 static const struct sysfs_ops gb_audio_module_sysfs_ops = { 147 .sysfs_ops = &gb_audio_module_sysfs_ops,
|
/Linux-v5.15/drivers/firmware/ |
D | dmi-sysfs.c | 111 static const struct sysfs_ops dmi_sysfs_attr_ops = { 229 static const struct sysfs_ops dmi_sysfs_specialize_attr_ops = { 309 .sysfs_ops = &dmi_sysfs_specialize_attr_ops, 567 .sysfs_ops = &dmi_sysfs_attr_ops,
|
/Linux-v5.15/scripts/ |
D | const_structs.checkpatch | 60 sysfs_ops
|
/Linux-v5.15/fs/nilfs2/ |
D | sysfs.c | 46 static const struct sysfs_ops nilfs_##name##_attr_ops = { \ 61 .sysfs_ops = &nilfs_##name##_attr_ops, \ 163 static const struct sysfs_ops nilfs_snapshot_attr_ops = { 170 .sysfs_ops = &nilfs_snapshot_attr_ops, 958 static const struct sysfs_ops nilfs_dev_attr_ops = { 965 .sysfs_ops = &nilfs_dev_attr_ops,
|
/Linux-v5.15/net/sunrpc/ |
D | sysfs.c | 41 .sysfs_ops = &kobj_sysfs_ops, 432 .sysfs_ops = &kobj_sysfs_ops, 439 .sysfs_ops = &kobj_sysfs_ops, 446 .sysfs_ops = &kobj_sysfs_ops,
|