/kernel/linux/linux-5.10/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() 257 const struct sysfs_ops *sysfs_ops = kobj->ktype->sysfs_ops; in sysfs_add_file_mode_ns() local 260 if (WARN(!sysfs_ops, KERN_ERR in sysfs_add_file_mode_ns() 265 if (sysfs_ops->show && sysfs_ops->store) { in sysfs_add_file_mode_ns() 270 } else if (sysfs_ops->show) { in sysfs_add_file_mode_ns() 275 } else if (sysfs_ops->store) { in sysfs_add_file_mode_ns()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | sysfs.c | 193 static const struct sysfs_ops port_cc_sysfs_ops = { 205 .sysfs_ops = &port_cc_sysfs_ops, 302 static const struct sysfs_ops hfi1_sc2vl_ops = { 308 .sysfs_ops = &hfi1_sc2vl_ops, 407 static const struct sysfs_ops hfi1_sl2sc_ops = { 413 .sysfs_ops = &hfi1_sl2sc_ops, 481 static const struct sysfs_ops hfi1_vl2mtu_ops = { 487 .sysfs_ops = &hfi1_vl2mtu_ops, 788 static const struct sysfs_ops sde_sysfs_ops = { 794 .sysfs_ops = &sde_sysfs_ops,
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_sysfs.c | 61 static const struct sysfs_ops xfs_sysfs_ops = { 72 .sysfs_ops = &xfs_sysfs_ops, 244 .sysfs_ops = &xfs_sysfs_ops, 301 .sysfs_ops = &xfs_sysfs_ops, 386 .sysfs_ops = &xfs_sysfs_ops, 540 .sysfs_ops = &xfs_sysfs_ops, 546 .sysfs_ops = &xfs_sysfs_ops,
|
/kernel/linux/linux-5.10/block/ |
D | blk-mq-sysfs.c | 201 static const struct sysfs_ops blk_mq_sysfs_ops = { 206 static const struct sysfs_ops blk_mq_hw_sysfs_ops = { 212 .sysfs_ops = &blk_mq_sysfs_ops, 217 .sysfs_ops = &blk_mq_sysfs_ops, 222 .sysfs_ops = &blk_mq_hw_sysfs_ops,
|
/kernel/linux/linux-5.10/include/linux/ |
D | kobject.h | 140 const struct sysfs_ops *sysfs_ops; member 171 extern const struct sysfs_ops kobj_sysfs_ops;
|
/kernel/linux/linux-5.10/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,
|
/kernel/linux/linux-5.10/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,
|
/kernel/linux/linux-5.10/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, 585 static const struct sysfs_ops cpuidle_driver_sysfs_ops = { 596 .sysfs_ops = &cpuidle_driver_sysfs_ops,
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-sysfs.c | 116 static const struct sysfs_ops dm_sysfs_ops = { 122 .sysfs_ops = &dm_sysfs_ops,
|
/kernel/linux/linux-5.10/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,
|
/kernel/linux/linux-5.10/drivers/md/bcache/ |
D | sysfs.h | 8 .sysfs_ops = &((const struct sysfs_ops) { \
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | sysfs.c | 36 .sysfs_ops = &kobj_sysfs_ops, 149 .sysfs_ops = &kobj_sysfs_ops,
|
/kernel/linux/linux-5.10/fs/ocfs2/cluster/ |
D | masklog.c | 143 static const struct sysfs_ops mlog_attr_ops = { 150 .sysfs_ops = &mlog_attr_ops,
|
/kernel/linux/linux-5.10/drivers/block/rnbd/ |
D | rnbd-srv-sysfs.c | 37 .sysfs_ops = &kobj_sysfs_ops, 152 .sysfs_ops = &kobj_sysfs_ops,
|
/kernel/linux/linux-5.10/drivers/dma/ioat/ |
D | sysfs.c | 70 const struct sysfs_ops ioat_sysfs_ops = { 163 .sysfs_ops = &ioat_sysfs_ops,
|
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
D | runtime-map.c | 83 static const struct sysfs_ops map_attr_ops = { 96 .sysfs_ops = &map_attr_ops,
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
D | qib_sysfs.c | 325 static const struct sysfs_ops qib_port_ops = { 332 .sysfs_ops = &qib_port_ops, 398 static const struct sysfs_ops qib_sl2vl_ops = { 404 .sysfs_ops = &qib_sl2vl_ops, 543 static const struct sysfs_ops qib_diagc_ops = { 550 .sysfs_ops = &qib_diagc_ops,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.c | 255 static const struct sysfs_ops sysprops_ops = { 261 .sysfs_ops = &sysprops_ops, 295 static const struct sysfs_ops iolink_ops = { 301 .sysfs_ops = &iolink_ops, 327 static const struct sysfs_ops mem_ops = { 333 .sysfs_ops = &mem_ops, 372 static const struct sysfs_ops cache_ops = { 378 .sysfs_ops = &cache_ops, 538 static const struct sysfs_ops node_ops = { 544 .sysfs_ops = &node_ops,
|
/kernel/linux/linux-5.10/samples/kobject/ |
D | kset-example.c | 89 static const struct sysfs_ops foo_sysfs_ops = { 189 .sysfs_ops = &foo_sysfs_ops,
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
D | topology.c | 282 static const struct sysfs_ops cache_sysfs_ops = { 287 .sysfs_ops = &cache_sysfs_ops, 292 .sysfs_ops = &cache_sysfs_ops,
|
/kernel/linux/linux-5.10/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,
|
/kernel/linux/linux-5.10/scripts/ |
D | const_structs.checkpatch | 60 sysfs_ops
|
/kernel/linux/linux-5.10/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,
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
D | sysfs.c | 59 static const struct sysfs_ops nilfs_##name##_attr_ops = { \ 74 .sysfs_ops = &nilfs_##name##_attr_ops, \ 176 static const struct sysfs_ops nilfs_snapshot_attr_ops = { 183 .sysfs_ops = &nilfs_snapshot_attr_ops, 971 static const struct sysfs_ops nilfs_dev_attr_ops = { 978 .sysfs_ops = &nilfs_dev_attr_ops,
|