Home
last modified time | relevance | path

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

12345

/linux-5.19.10/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()
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 …]
/linux-5.19.10/fs/ubifs/
Dsysfs.c73 static const struct sysfs_ops ubifs_attr_ops = {
79 .sysfs_ops = &ubifs_attr_ops,
84 .sysfs_ops = &ubifs_attr_ops,
/linux-5.19.10/fs/erofs/
Dsysfs.c173 static const struct sysfs_ops erofs_attr_ops = {
180 .sysfs_ops = &erofs_attr_ops,
185 .sysfs_ops = &erofs_attr_ops,
194 .sysfs_ops = &erofs_attr_ops,
/linux-5.19.10/fs/xfs/
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,
/linux-5.19.10/include/linux/
Dkobject.h122 const struct sysfs_ops *sysfs_ops; member
151 extern const struct sysfs_ops kobj_sysfs_ops;
/linux-5.19.10/arch/powerpc/platforms/pseries/
Dvas-sysfs.c160 static const struct sysfs_ops vas_sysfs_ops = {
167 .sysfs_ops = &vas_sysfs_ops,
173 .sysfs_ops = &vas_sysfs_ops,
/linux-5.19.10/drivers/edac/
Dedac_device_sysfs.c142 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,
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,
/linux-5.19.10/fs/zonefs/
Dsysfs.c83 static const struct sysfs_ops zonefs_sysfs_attr_ops = {
89 .sysfs_ops = &zonefs_sysfs_attr_ops,
/linux-5.19.10/drivers/dma-buf/
Ddma-buf-sysfs-stats.c78 static const struct sysfs_ops dma_buf_stats_sysfs_ops = {
116 .sysfs_ops = &dma_buf_stats_sysfs_ops,
/linux-5.19.10/drivers/cpuidle/
Dsysfs.c190 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-5.19.10/drivers/md/
Ddm-sysfs.c117 static const struct sysfs_ops dm_sysfs_ops = {
123 .sysfs_ops = &dm_sysfs_ops,
/linux-5.19.10/fs/orangefs/
Dorangefs-sysfs.c205 static const struct sysfs_ops orangefs_sysfs_ops = {
900 .sysfs_ops = &orangefs_sysfs_ops,
938 .sysfs_ops = &orangefs_sysfs_ops,
976 .sysfs_ops = &orangefs_sysfs_ops,
1014 .sysfs_ops = &orangefs_sysfs_ops,
1052 .sysfs_ops = &orangefs_sysfs_ops,
1083 .sysfs_ops = &orangefs_sysfs_ops,
1107 .sysfs_ops = &orangefs_sysfs_ops,
/linux-5.19.10/block/
Dblk-crypto-sysfs.c110 static const struct sysfs_ops blk_crypto_attr_ops = {
121 .sysfs_ops = &blk_crypto_attr_ops,
/linux-5.19.10/mm/damon/
Dsysfs.c112 .sysfs_ops = &kobj_sysfs_ops,
211 .sysfs_ops = &kobj_sysfs_ops,
394 .sysfs_ops = &kobj_sysfs_ops,
511 .sysfs_ops = &kobj_sysfs_ops,
642 .sysfs_ops = &kobj_sysfs_ops,
741 .sysfs_ops = &kobj_sysfs_ops,
944 .sysfs_ops = &kobj_sysfs_ops,
1066 .sysfs_ops = &kobj_sysfs_ops,
1157 .sysfs_ops = &kobj_sysfs_ops,
1273 .sysfs_ops = &kobj_sysfs_ops,
[all …]
/linux-5.19.10/drivers/md/bcache/
Dsysfs.h8 .sysfs_ops = &((const struct sysfs_ops) { \
/linux-5.19.10/fs/nfs/
Dsysfs.c36 .sysfs_ops = &kobj_sysfs_ops,
150 .sysfs_ops = &kobj_sysfs_ops,
/linux-5.19.10/fs/ocfs2/cluster/
Dmasklog.c142 static const struct sysfs_ops mlog_attr_ops = {
149 .sysfs_ops = &mlog_attr_ops,
/linux-5.19.10/drivers/dma/ioat/
Dsysfs.c70 const struct sysfs_ops ioat_sysfs_ops = {
164 .sysfs_ops = &ioat_sysfs_ops,
/linux-5.19.10/drivers/firmware/efi/
Druntime-map.c84 static const struct sysfs_ops map_attr_ops = {
97 .sysfs_ops = &map_attr_ops,
/linux-5.19.10/Documentation/translations/zh_CN/core-api/
Dkobject.rst260 const struct sysfs_ops *sysfs_ops;
273 方法的一个指针。另外两个字段(sysfs_ops 和 default_groups)控制这种
/linux-5.19.10/samples/kobject/
Dkset-example.c89 static const struct sysfs_ops foo_sysfs_ops = {
189 .sysfs_ops = &foo_sysfs_ops,
/linux-5.19.10/arch/ia64/kernel/
Dtopology.c272 static const struct sysfs_ops cache_sysfs_ops = {
277 .sysfs_ops = &cache_sysfs_ops,
282 .sysfs_ops = &cache_sysfs_ops,
/linux-5.19.10/drivers/platform/x86/
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,
/linux-5.19.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c267 static const struct sysfs_ops sysprops_ops = {
273 .sysfs_ops = &sysprops_ops,
307 static const struct sysfs_ops iolink_ops = {
313 .sysfs_ops = &iolink_ops,
339 static const struct sysfs_ops mem_ops = {
345 .sysfs_ops = &mem_ops,
384 static const struct sysfs_ops cache_ops = {
390 .sysfs_ops = &cache_ops,
553 static const struct sysfs_ops node_ops = {
559 .sysfs_ops = &node_ops,

12345