Home
last modified time | relevance | path

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

1234

/Linux-v4.19/fs/sysfs/
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()
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()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dsysfs.c193 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,
781 static const struct sysfs_ops sde_sysfs_ops = {
787 .sysfs_ops = &sde_sysfs_ops,
/Linux-v4.19/fs/xfs/
Dxfs_sysfs.c63 static const struct sysfs_ops xfs_sysfs_ops = {
87 .sysfs_ops = &xfs_sysfs_ops,
195 .sysfs_ops = &xfs_sysfs_ops,
252 .sysfs_ops = &xfs_sysfs_ops,
337 .sysfs_ops = &xfs_sysfs_ops,
491 .sysfs_ops = &xfs_sysfs_ops,
497 .sysfs_ops = &xfs_sysfs_ops,
/Linux-v4.19/block/
Dblk-mq-sysfs.c188 static const struct sysfs_ops blk_mq_sysfs_ops = {
193 static const struct sysfs_ops blk_mq_hw_sysfs_ops = {
199 .sysfs_ops = &blk_mq_sysfs_ops,
204 .sysfs_ops = &blk_mq_sysfs_ops,
210 .sysfs_ops = &blk_mq_hw_sysfs_ops,
/Linux-v4.19/include/linux/
Dkobject.h141 const struct sysfs_ops *sysfs_ops; member
171 extern const struct sysfs_ops kobj_sysfs_ops;
/Linux-v4.19/drivers/edac/
Dedac_device_sysfs.c142 static const struct sysfs_ops device_ctl_info_ops = {
219 .sysfs_ops = &device_ctl_info_ops,
370 static const struct sysfs_ops device_instance_ops = {
400 .sysfs_ops = &device_instance_ops,
473 static const struct sysfs_ops device_block_ops = {
498 .sysfs_ops = &device_block_ops,
Dedac_pci_sysfs.c122 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-v4.19/drivers/md/bcache/
Dsysfs.h8 .sysfs_ops = &((const struct sysfs_ops) { \
/Linux-v4.19/drivers/cpuidle/
Dsysfs.c219 static const struct sysfs_ops cpuidle_sysfs_ops = {
233 .sysfs_ops = &cpuidle_sysfs_ops,
418 static const struct sysfs_ops cpuidle_state_sysfs_ops = {
431 .sysfs_ops = &cpuidle_state_sysfs_ops,
564 static const struct sysfs_ops cpuidle_driver_sysfs_ops = {
575 .sysfs_ops = &cpuidle_driver_sysfs_ops,
/Linux-v4.19/drivers/md/
Ddm-sysfs.c115 static const struct sysfs_ops dm_sysfs_ops = {
121 .sysfs_ops = &dm_sysfs_ops,
/Linux-v4.19/fs/orangefs/
Dorangefs-sysfs.c197 static const struct sysfs_ops orangefs_sysfs_ops = {
877 .sysfs_ops = &orangefs_sysfs_ops,
914 .sysfs_ops = &orangefs_sysfs_ops,
951 .sysfs_ops = &orangefs_sysfs_ops,
988 .sysfs_ops = &orangefs_sysfs_ops,
1025 .sysfs_ops = &orangefs_sysfs_ops,
1055 .sysfs_ops = &orangefs_sysfs_ops,
1078 .sysfs_ops = &orangefs_sysfs_ops,
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c233 static const struct sysfs_ops sysprops_ops = {
239 .sysfs_ops = &sysprops_ops,
269 static const struct sysfs_ops iolink_ops = {
275 .sysfs_ops = &iolink_ops,
297 static const struct sysfs_ops mem_ops = {
303 .sysfs_ops = &mem_ops,
343 static const struct sysfs_ops cache_ops = {
349 .sysfs_ops = &cache_ops,
494 static const struct sysfs_ops node_ops = {
500 .sysfs_ops = &node_ops,
/Linux-v4.19/drivers/net/bonding/
Dbond_sysfs_slave.c137 static const struct sysfs_ops slave_sysfs_ops = {
143 .sysfs_ops = &slave_sysfs_ops,
/Linux-v4.19/fs/ocfs2/cluster/
Dmasklog.c157 static const struct sysfs_ops mlog_attr_ops = {
164 .sysfs_ops = &mlog_attr_ops,
/Linux-v4.19/drivers/dma/ioat/
Dsysfs.c82 const struct sysfs_ops ioat_sysfs_ops = {
175 .sysfs_ops = &ioat_sysfs_ops,
/Linux-v4.19/drivers/firmware/efi/
Druntime-map.c84 static const struct sysfs_ops map_attr_ops = {
97 .sysfs_ops = &map_attr_ops,
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_sysfs.c319 static const struct sysfs_ops qib_port_ops = {
326 .sysfs_ops = &qib_port_ops,
392 static const struct sysfs_ops qib_sl2vl_ops = {
398 .sysfs_ops = &qib_sl2vl_ops,
535 static const struct sysfs_ops qib_diagc_ops = {
542 .sysfs_ops = &qib_diagc_ops,
/Linux-v4.19/samples/kobject/
Dkset-example.c89 static const struct sysfs_ops foo_sysfs_ops = {
188 .sysfs_ops = &foo_sysfs_ops,
/Linux-v4.19/fs/exofs/
Dsys.c51 static const struct sysfs_ops odev_attr_ops = {
111 .sysfs_ops = &odev_attr_ops,
/Linux-v4.19/arch/ia64/kernel/
Dtopology.c286 static const struct sysfs_ops cache_sysfs_ops = {
291 .sysfs_ops = &cache_sysfs_ops,
296 .sysfs_ops = &cache_sysfs_ops,
/Linux-v4.19/scripts/
Dconst_structs.checkpatch56 sysfs_ops
/Linux-v4.19/drivers/staging/greybus/
Daudio_manager_module.c59 static const struct sysfs_ops gb_audio_module_sysfs_ops = {
147 .sysfs_ops = &gb_audio_module_sysfs_ops,
/Linux-v4.19/drivers/firmware/
Ddmi-sysfs.c110 static const struct sysfs_ops dmi_sysfs_attr_ops = {
228 static const struct sysfs_ops dmi_sysfs_specialize_attr_ops = {
308 .sysfs_ops = &dmi_sysfs_specialize_attr_ops,
566 .sysfs_ops = &dmi_sysfs_attr_ops,
/Linux-v4.19/fs/nilfs2/
Dsysfs.c59 static const struct sysfs_ops nilfs_##name##_attr_ops = { \
76 .sysfs_ops = &nilfs_##name##_attr_ops, \
178 static const struct sysfs_ops nilfs_snapshot_attr_ops = {
185 .sysfs_ops = &nilfs_snapshot_attr_ops,
973 static const struct sysfs_ops nilfs_dev_attr_ops = {
980 .sysfs_ops = &nilfs_dev_attr_ops,
/Linux-v4.19/drivers/gpu/drm/ttm/
Dttm_memory.c160 static const struct sysfs_ops ttm_mem_zone_ops = {
167 .sysfs_ops = &ttm_mem_zone_ops,
232 static const struct sysfs_ops ttm_mem_global_ops = {
239 .sysfs_ops = &ttm_mem_global_ops,

1234