Home
last modified time | relevance | path

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

12345

/Linux-v5.15/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()
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/
Dxfs_sysfs.c62 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/
Dkobject.h140 const struct sysfs_ops *sysfs_ops; member
171 extern const struct sysfs_ops kobj_sysfs_ops;
/Linux-v5.15/drivers/edac/
Dedac_device_sysfs.c142 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,
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-v5.15/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-v5.15/drivers/cpuidle/
Dsysfs.c190 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/
Ddm-sysfs.c116 static const struct sysfs_ops dm_sysfs_ops = {
122 .sysfs_ops = &dm_sysfs_ops,
/Linux-v5.15/fs/orangefs/
Dorangefs-sysfs.c205 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/
Dsysfs.h8 .sysfs_ops = &((const struct sysfs_ops) { \
/Linux-v5.15/fs/nfs/
Dsysfs.c36 .sysfs_ops = &kobj_sysfs_ops,
149 .sysfs_ops = &kobj_sysfs_ops,
/Linux-v5.15/fs/ocfs2/cluster/
Dmasklog.c141 static const struct sysfs_ops mlog_attr_ops = {
148 .sysfs_ops = &mlog_attr_ops,
/Linux-v5.15/drivers/firmware/efi/
Druntime-map.c83 static const struct sysfs_ops map_attr_ops = {
96 .sysfs_ops = &map_attr_ops,
/Linux-v5.15/drivers/dma/ioat/
Dsysfs.c70 const struct sysfs_ops ioat_sysfs_ops = {
163 .sysfs_ops = &ioat_sysfs_ops,
/Linux-v5.15/samples/kobject/
Dkset-example.c89 static const struct sysfs_ops foo_sysfs_ops = {
189 .sysfs_ops = &foo_sysfs_ops,
/Linux-v5.15/Documentation/translations/zh_CN/core-api/
Dkobject.rst260 const struct sysfs_ops *sysfs_ops;
274 方法的一个指针。另外两个字段(sysfs_ops 和 default_attrs)控制这种
/Linux-v5.15/arch/ia64/kernel/
Dtopology.c281 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/
Duv_sysfs.c201 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/
Dkfd_topology.c256 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/
Drnbd-srv-sysfs.c37 .sysfs_ops = &kobj_sysfs_ops,
190 .sysfs_ops = &kobj_sysfs_ops,
/Linux-v5.15/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-v5.15/drivers/firmware/
Ddmi-sysfs.c111 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/
Dconst_structs.checkpatch60 sysfs_ops
/Linux-v5.15/fs/nilfs2/
Dsysfs.c46 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/
Dsysfs.c41 .sysfs_ops = &kobj_sysfs_ops,
432 .sysfs_ops = &kobj_sysfs_ops,
439 .sysfs_ops = &kobj_sysfs_ops,
446 .sysfs_ops = &kobj_sysfs_ops,

12345