/linux/fs/bcachefs/ |
H A D | sysfs.h | 10 struct sysfs_ops; 19 extern const struct sysfs_ops bch2_fs_sysfs_ops; 20 extern const struct sysfs_ops bch2_fs_counters_sysfs_ops; 21 extern const struct sysfs_ops bch2_fs_internal_sysfs_ops; 22 extern const struct sysfs_ops bch2_fs_opts_dir_sysfs_ops; 23 extern const struct sysfs_ops bch2_fs_time_stats_sysfs_ops; 24 extern const struct sysfs_ops bch2_dev_sysfs_ops; 37 static const struct sysfs_ops bch2_fs_sysfs_ops; 38 static const struct sysfs_ops bch2_fs_counters_sysfs_ops; 39 static const struct sysfs_ops bch2_fs_internal_sysfs_ops; [all …]
|
/linux/fs/sysfs/ |
H A D | file.c | 32 static const struct sysfs_ops *sysfs_file_ops(struct kernfs_node *kn) in sysfs_file_ops() 38 return kobj->ktype ? kobj->ktype->sysfs_ops : NULL; in sysfs_file_ops() 50 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); in sysfs_kf_seq_show() 113 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); in sysfs_kf_read() 139 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); in sysfs_kf_write() 284 const struct sysfs_ops *sysfs_ops = kobj->ktype->sysfs_ops; in sysfs_add_file_mode_ns() local 290 if (WARN(!sysfs_ops, KERN_ERR in sysfs_add_file_mode_ns() 296 if (sysfs_ops->show && sysfs_ops->store) in sysfs_add_file_mode_ns() 298 else if (sysfs_ops->show) in sysfs_add_file_mode_ns() 300 else if (sysfs_ops->store) in sysfs_add_file_mode_ns() [all …]
|
/linux/fs/xfs/ |
H A D | xfs_sysfs.c | 63 static const struct sysfs_ops xfs_sysfs_ops = { 75 .sysfs_ops = &xfs_sysfs_ops, 331 .sysfs_ops = &xfs_sysfs_ops, 389 .sysfs_ops = &xfs_sysfs_ops, 466 .sysfs_ops = &xfs_sysfs_ops, 620 .sysfs_ops = &xfs_sysfs_ops, 626 .sysfs_ops = &xfs_sysfs_ops, 761 .sysfs_ops = &xfs_sysfs_ops,
|
/linux/fs/ubifs/ |
H A D | sysfs.c | 73 static const struct sysfs_ops ubifs_attr_ops = { 79 .sysfs_ops = &ubifs_attr_ops, 84 .sysfs_ops = &ubifs_attr_ops,
|
/linux/include/linux/ |
H A D | kobject.h | 118 const struct sysfs_ops *sysfs_ops; member 147 extern const struct sysfs_ops kobj_sysfs_ops;
|
/linux/fs/erofs/ |
H A D | sysfs.c | 228 static const struct sysfs_ops erofs_attr_ops = { 235 .sysfs_ops = &erofs_attr_ops, 241 .sysfs_ops = &erofs_attr_ops, 250 .sysfs_ops = &erofs_attr_ops,
|
/linux/arch/powerpc/platforms/pseries/ |
H A D | vas-sysfs.c | 160 static const struct sysfs_ops vas_sysfs_ops = { 167 .sysfs_ops = &vas_sysfs_ops, 173 .sysfs_ops = &vas_sysfs_ops,
|
/linux/drivers/edac/ |
H A D | edac_device_sysfs.c | 142 static const struct sysfs_ops device_ctl_info_ops = { 217 .sysfs_ops = &device_ctl_info_ops, 371 static const struct sysfs_ops device_instance_ops = { 402 .sysfs_ops = &device_instance_ops, 461 static const struct sysfs_ops device_block_ops = { 485 .sysfs_ops = &device_block_ops,
|
H A D | edac_pci_sysfs.c | 122 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/fs/zonefs/ |
H A D | sysfs.c | 78 static const struct sysfs_ops zonefs_sysfs_attr_ops = { 84 .sysfs_ops = &zonefs_sysfs_attr_ops,
|
/linux/drivers/dma-buf/ |
H A 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/fs/nfs/ |
H A D | sysfs.c | 38 .sysfs_ops = &kobj_sysfs_ops, 147 .sysfs_ops = &kobj_sysfs_ops, 166 .sysfs_ops = &kobj_sysfs_ops, 359 .sysfs_ops = &kobj_sysfs_ops,
|
/linux/drivers/md/ |
H A D | dm-sysfs.c | 118 static const struct sysfs_ops dm_sysfs_ops = { 124 .sysfs_ops = &dm_sysfs_ops,
|
/linux/drivers/cpuidle/ |
H A D | sysfs.c | 197 static const struct sysfs_ops cpuidle_sysfs_ops = { 211 .sysfs_ops = &cpuidle_sysfs_ops, 445 static const struct sysfs_ops cpuidle_state_sysfs_ops = { 458 .sysfs_ops = &cpuidle_state_sysfs_ops, 593 static const struct sysfs_ops cpuidle_driver_sysfs_ops = { 605 .sysfs_ops = &cpuidle_driver_sysfs_ops,
|
/linux/drivers/md/bcache/ |
H A D | sysfs.h | 8 .sysfs_ops = &((const struct sysfs_ops) { \
|
/linux/fs/ocfs2/cluster/ |
H A D | masklog.c | 142 static const struct sysfs_ops mlog_attr_ops = { 149 .sysfs_ops = &mlog_attr_ops,
|
/linux/Documentation/translations/zh_CN/core-api/ |
H A D | kobject.rst | 260 const struct sysfs_ops *sysfs_ops; 273 方法的一个指针。另外两个字段(sysfs_ops 和 default_groups)控制这种
|
/linux/drivers/dma/ioat/ |
H A D | sysfs.c | 70 const struct sysfs_ops ioat_sysfs_ops = { 164 .sysfs_ops = &ioat_sysfs_ops,
|
/linux/arch/x86/platform/efi/ |
H A D | runtime-map.c | 84 static const struct sysfs_ops map_attr_ops = { 97 .sysfs_ops = &map_attr_ops,
|
/linux/block/ |
H A D | blk-crypto-sysfs.c | 145 static const struct sysfs_ops blk_crypto_attr_ops = { 156 .sysfs_ops = &blk_crypto_attr_ops,
|
/linux/drivers/platform/x86/ |
H A D | uv_sysfs.c | 203 static const struct sysfs_ops hub_sysfs_ops = { 209 .sysfs_ops = &hub_sysfs_ops, 356 static const struct sysfs_ops uv_port_sysfs_ops = { 362 .sysfs_ops = &uv_port_sysfs_ops, 528 static const struct sysfs_ops uv_pci_top_sysfs_ops = { 534 .sysfs_ops = &uv_pci_top_sysfs_ops,
|
/linux/samples/kobject/ |
H A D | kset-example.c | 89 static const struct sysfs_ops foo_sysfs_ops = { 189 .sysfs_ops = &foo_sysfs_ops,
|
/linux/mm/damon/ |
H A D | sysfs-schemes.c | 123 .sysfs_ops = &kobj_sysfs_ops, 191 .sysfs_ops = &kobj_sysfs_ops, 304 .sysfs_ops = &kobj_sysfs_ops, 666 .sysfs_ops = &kobj_sysfs_ops, 792 .sysfs_ops = &kobj_sysfs_ops, 988 .sysfs_ops = &kobj_sysfs_ops, 1160 .sysfs_ops = &kobj_sysfs_ops, 1278 .sysfs_ops = &kobj_sysfs_ops, 1389 .sysfs_ops = &kobj_sysfs_ops, 1555 .sysfs_ops [all...] |
/linux/drivers/platform/x86/intel/pmt/ |
H A D | discovery.c | 283 .sysfs_ops = &kobj_sysfs_ops, 299 .sysfs_ops = &kobj_sysfs_ops, 314 .sysfs_ops = &kobj_sysfs_ops, 327 .sysfs_ops = &kobj_sysfs_ops,
|
/linux/drivers/block/rnbd/ |
H A D | rnbd-srv-sysfs.c | 37 .sysfs_ops = &kobj_sysfs_ops, 188 .sysfs_ops = &kobj_sysfs_ops,
|