/linux-4.1.27/fs/sysfs/ |
D | file.c | 28 static const struct sysfs_ops *sysfs_file_ops(struct kernfs_node *kn) in sysfs_file_ops() 34 return kobj->ktype ? kobj->ktype->sysfs_ops : NULL; in sysfs_file_ops() 46 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); in sysfs_kf_seq_show() 109 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); in sysfs_kf_read() 125 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); in sysfs_kf_write() 249 const struct sysfs_ops *sysfs_ops = kobj->ktype->sysfs_ops; in sysfs_add_file_mode_ns() local 252 if (WARN(!sysfs_ops, KERN_ERR in sysfs_add_file_mode_ns() 257 if (sysfs_ops->show && sysfs_ops->store) { in sysfs_add_file_mode_ns() 262 } else if (sysfs_ops->show) { in sysfs_add_file_mode_ns() 267 } else if (sysfs_ops->store) { in sysfs_add_file_mode_ns()
|
/linux-4.1.27/fs/xfs/ |
D | xfs_sysfs.c | 115 static struct sysfs_ops xfs_dbg_ops = { 122 .sysfs_ops = &xfs_dbg_ops, 230 static struct sysfs_ops xfs_log_ops = { 237 .sysfs_ops = &xfs_log_ops,
|
/linux-4.1.27/include/linux/ |
D | kobject.h | 117 const struct sysfs_ops *sysfs_ops; member 146 extern const struct sysfs_ops kobj_sysfs_ops;
|
D | sysfs.h | 199 struct sysfs_ops { struct
|
/linux-4.1.27/block/ |
D | blk-mq-sysfs.c | 314 static const struct sysfs_ops blk_mq_sysfs_ops = { 319 static const struct sysfs_ops blk_mq_hw_sysfs_ops = { 325 .sysfs_ops = &blk_mq_sysfs_ops, 330 .sysfs_ops = &blk_mq_sysfs_ops, 336 .sysfs_ops = &blk_mq_hw_sysfs_ops,
|
D | blk-integrity.c | 368 static const struct sysfs_ops integrity_ops = { 392 .sysfs_ops = &integrity_ops,
|
D | blk-sysfs.c | 529 static const struct sysfs_ops queue_sysfs_ops = { 535 .sysfs_ops = &queue_sysfs_ops,
|
D | elevator.c | 782 static const struct sysfs_ops elv_sysfs_ops = { 788 .sysfs_ops = &elv_sysfs_ops,
|
/linux-4.1.27/drivers/cpuidle/ |
D | sysfs.c | 219 static const struct sysfs_ops cpuidle_sysfs_ops = { 233 .sysfs_ops = &cpuidle_sysfs_ops, 366 static const struct sysfs_ops cpuidle_state_sysfs_ops = { 379 .sysfs_ops = &cpuidle_state_sysfs_ops, 508 static const struct sysfs_ops cpuidle_driver_sysfs_ops = { 519 .sysfs_ops = &cpuidle_driver_sysfs_ops,
|
/linux-4.1.27/drivers/edac/ |
D | edac_device_sysfs.c | 142 static const struct sysfs_ops device_ctl_info_ops = { 219 .sysfs_ops = &device_ctl_info_ops, 379 static const struct sysfs_ops device_instance_ops = { 409 .sysfs_ops = &device_instance_ops, 482 static const struct sysfs_ops device_block_ops = { 507 .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,
|
/linux-4.1.27/drivers/net/bonding/ |
D | bond_sysfs_slave.c | 105 static const struct sysfs_ops slave_sysfs_ops = { 111 .sysfs_ops = &slave_sysfs_ops,
|
/linux-4.1.27/fs/ocfs2/cluster/ |
D | masklog.c | 123 static const struct sysfs_ops mlog_attr_ops = { 130 .sysfs_ops = &mlog_attr_ops,
|
/linux-4.1.27/drivers/md/bcache/ |
D | sysfs.h | 7 .sysfs_ops = &((const struct sysfs_ops) { \
|
/linux-4.1.27/drivers/md/ |
D | dm-sysfs.c | 114 static const struct sysfs_ops dm_sysfs_ops = { 120 .sysfs_ops = &dm_sysfs_ops,
|
D | md.c | 3050 static const struct sysfs_ops rdev_sysfs_ops = { 3056 .sysfs_ops = &rdev_sysfs_ops, 4838 static const struct sysfs_ops md_sysfs_ops = { 4844 .sysfs_ops = &md_sysfs_ops,
|
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.c | 522 static const struct sysfs_ops sysprops_ops = { 527 .sysfs_ops = &sysprops_ops, 557 static const struct sysfs_ops iolink_ops = { 562 .sysfs_ops = &iolink_ops, 584 static const struct sysfs_ops mem_ops = { 589 .sysfs_ops = &mem_ops, 623 static const struct sysfs_ops cache_ops = { 628 .sysfs_ops = &cache_ops, 745 static const struct sysfs_ops node_ops = { 750 .sysfs_ops = &node_ops,
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_sysfs.c | 319 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, 482 static const struct sysfs_ops qib_diagc_ops = { 489 .sysfs_ops = &qib_diagc_ops,
|
/linux-4.1.27/drivers/firmware/efi/ |
D | runtime-map.c | 88 static const struct sysfs_ops map_attr_ops = { 101 .sysfs_ops = &map_attr_ops,
|
D | efivars.c | 382 static const struct sysfs_ops efivar_attr_ops = { 410 .sysfs_ops = &efivar_attr_ops,
|
/linux-4.1.27/fs/exofs/ |
D | sys.c | 51 static const struct sysfs_ops odev_attr_ops = { 111 .sysfs_ops = &odev_attr_ops,
|
/linux-4.1.27/samples/kobject/ |
D | kset-example.c | 91 static const struct sysfs_ops foo_sysfs_ops = { 190 .sysfs_ops = &foo_sysfs_ops,
|
/linux-4.1.27/arch/ia64/kernel/ |
D | topology.c | 286 static const struct sysfs_ops cache_sysfs_ops = { 291 .sysfs_ops = &cache_sysfs_ops, 296 .sysfs_ops = &cache_sysfs_ops,
|
/linux-4.1.27/drivers/firmware/ |
D | dmi-sysfs.c | 109 static const struct sysfs_ops dmi_sysfs_attr_ops = { 227 static const struct sysfs_ops dmi_sysfs_specialize_attr_ops = { 307 .sysfs_ops = &dmi_sysfs_specialize_attr_ops, 565 .sysfs_ops = &dmi_sysfs_attr_ops,
|
D | memmap.c | 82 static const struct sysfs_ops memmap_attr_ops = { 129 .sysfs_ops = &memmap_attr_ops,
|
D | edd.c | 125 static const struct sysfs_ops edd_attr_ops = { 630 .sysfs_ops = &edd_attr_ops,
|
/linux-4.1.27/fs/nilfs2/ |
D | sysfs.c | 68 static const struct sysfs_ops nilfs_##name##_attr_ops = { \ 85 .sysfs_ops = &nilfs_##name##_attr_ops, \ 187 static const struct sysfs_ops nilfs_snapshot_attr_ops = { 194 .sysfs_ops = &nilfs_snapshot_attr_ops, 982 static const struct sysfs_ops nilfs_dev_attr_ops = { 989 .sysfs_ops = &nilfs_dev_attr_ops,
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
D | opal-elog.c | 125 static const struct sysfs_ops elog_sysfs_ops = { 147 .sysfs_ops = &elog_sysfs_ops,
|
D | opal-dump.c | 189 static const struct sysfs_ops dump_sysfs_ops = { 211 .sysfs_ops = &dump_sysfs_ops,
|
/linux-4.1.27/drivers/pci/ |
D | slot.c | 34 static const struct sysfs_ops pci_slot_sysfs_ops = { 133 .sysfs_ops = &pci_slot_sysfs_ops,
|
/linux-4.1.27/arch/sh/kernel/cpu/sh4/ |
D | sq.c | 330 static const struct sysfs_ops sq_sysfs_ops = { 336 .sysfs_ops = &sq_sysfs_ops,
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
D | display-sysfs.c | 310 static const struct sysfs_ops display_sysfs_ops = { 316 .sysfs_ops = &display_sysfs_ops,
|
D | overlay-sysfs.c | 435 static const struct sysfs_ops overlay_sysfs_ops = { 441 .sysfs_ops = &overlay_sysfs_ops,
|
D | manager-sysfs.c | 508 static const struct sysfs_ops manager_sysfs_ops = { 514 .sysfs_ops = &manager_sysfs_ops,
|
/linux-4.1.27/drivers/infiniband/hw/usnic/ |
D | usnic_ib_sysfs.c | 218 static const struct sysfs_ops usnic_ib_qpn_sysfs_ops = { 276 .sysfs_ops = &usnic_ib_qpn_sysfs_ops,
|
/linux-4.1.27/drivers/uio/ |
D | uio.c | 116 static const struct sysfs_ops map_sysfs_ops = { 122 .sysfs_ops = &map_sysfs_ops, 204 static const struct sysfs_ops portio_sysfs_ops = { 210 .sysfs_ops = &portio_sysfs_ops,
|
/linux-4.1.27/Documentation/zh_CN/filesystems/ |
D | sysfs.txt | 141 struct sysfs_ops { 147 描述符,并在此保存 sysfs_ops 的指针。更多的信息参见 kobject 的
|
/linux-4.1.27/drivers/xen/ |
D | sys-hypervisor.c | 443 static const struct sysfs_ops hyp_sysfs_ops = { 449 .sysfs_ops = &hyp_sysfs_ops,
|
/linux-4.1.27/sound/hda/ |
D | hdac_sysfs.c | 132 static const struct sysfs_ops widget_sysfs_ops = { 144 .sysfs_ops = &widget_sysfs_ops,
|
/linux-4.1.27/fs/btrfs/ |
D | sysfs.c | 293 .sysfs_ops = &kobj_sysfs_ops, 348 .sysfs_ops = &kobj_sysfs_ops, 446 .sysfs_ops = &kobj_sysfs_ops,
|
/linux-4.1.27/lib/ |
D | kobject.c | 688 .sysfs_ops = &kobj_sysfs_ops, 783 const struct sysfs_ops kobj_sysfs_ops = { 856 .sysfs_ops = &kobj_sysfs_ops,
|
/linux-4.1.27/drivers/base/ |
D | class.c | 74 static const struct sysfs_ops class_sysfs_ops = { 80 .sysfs_ops = &class_sysfs_ops,
|
D | bus.c | 78 static const struct sysfs_ops driver_sysfs_ops = { 92 .sysfs_ops = &driver_sysfs_ops, 123 static const struct sysfs_ops bus_sysfs_ops = { 160 .sysfs_ops = &bus_sysfs_ops,
|
D | core.c | 141 static const struct sysfs_ops dev_sysfs_ops = { 268 .sysfs_ops = &dev_sysfs_ops, 701 .sysfs_ops = &kobj_sysfs_ops,
|
/linux-4.1.27/drivers/scsi/ |
D | iscsi_boot_sysfs.c | 58 static const struct sysfs_ops iscsi_boot_attr_ops = { 74 .sysfs_ops = &iscsi_boot_attr_ops,
|
/linux-4.1.27/drivers/gpu/drm/ttm/ |
D | ttm_memory.c | 158 static const struct sysfs_ops ttm_mem_zone_ops = { 165 .sysfs_ops = &ttm_mem_zone_ops,
|
D | ttm_page_alloc.c | 206 static const struct sysfs_ops ttm_pool_sysfs_ops = { 213 .sysfs_ops = &ttm_pool_sysfs_ops,
|
D | ttm_page_alloc_dma.c | 260 static const struct sysfs_ops ttm_pool_sysfs_ops = { 267 .sysfs_ops = &ttm_pool_sysfs_ops,
|
D | ttm_bo.c | 120 static const struct sysfs_ops ttm_bo_global_ops = { 126 .sysfs_ops = &ttm_bo_global_ops,
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | cacheinfo.c | 670 static const struct sysfs_ops cache_index_ops = { 676 .sysfs_ops = &cache_index_ops,
|
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/ |
D | mce_amd.c | 457 static const struct sysfs_ops threshold_ops = { 463 .sysfs_ops = &threshold_ops,
|
/linux-4.1.27/net/core/ |
D | net-sysfs.c | 638 static const struct sysfs_ops rx_queue_sysfs_ops = { 860 .sysfs_ops = &rx_queue_sysfs_ops, 967 static const struct sysfs_ops netdev_queue_sysfs_ops = { 1255 .sysfs_ops = &netdev_queue_sysfs_ops,
|
/linux-4.1.27/drivers/dma/ioat/ |
D | dma.h | 349 extern const struct sysfs_ops ioat_sysfs_ops;
|
D | dma.c | 1156 const struct sysfs_ops ioat_sysfs_ops = { 1161 .sysfs_ops = &ioat_sysfs_ops,
|
D | dma_v2.c | 872 .sysfs_ops = &ioat_sysfs_ops,
|
/linux-4.1.27/fs/gfs2/ |
D | sys.c | 54 static const struct sysfs_ops gfs2_attr_ops = { 298 .sysfs_ops = &gfs2_attr_ops,
|
/linux-4.1.27/kernel/livepatch/ |
D | core.c | 658 .sysfs_ops = &kobj_sysfs_ops, 668 .sysfs_ops = &kobj_sysfs_ops,
|
/linux-4.1.27/drivers/parisc/ |
D | pdc_stable.c | 484 static const struct sysfs_ops pdcspath_attr_ops = { 501 .sysfs_ops = &pdcspath_attr_ops,
|
/linux-4.1.27/net/bridge/ |
D | br_sysfs_if.c | 264 const struct sysfs_ops brport_sysfs_ops = {
|
D | br_if.c | 202 .sysfs_ops = &brport_sysfs_ops,
|
D | br_private.h | 835 extern const struct sysfs_ops brport_sysfs_ops;
|
/linux-4.1.27/fs/dlm/ |
D | lockspace.c | 184 static const struct sysfs_ops dlm_attr_ops = { 191 .sysfs_ops = &dlm_attr_ops,
|
/linux-4.1.27/kernel/ |
D | params.c | 902 static const struct sysfs_ops module_sysfs_ops = { 931 .sysfs_ops = &module_sysfs_ops,
|
D | padata.c | 1004 static const struct sysfs_ops padata_sysfs_ops = { 1010 .sysfs_ops = &padata_sysfs_ops,
|
/linux-4.1.27/drivers/cpufreq/ |
D | cpufreq.c | 822 static const struct sysfs_ops sysfs_ops = { variable 828 .sysfs_ops = &sysfs_ops,
|
/linux-4.1.27/drivers/iommu/ |
D | iommu.c | 103 static const struct sysfs_ops iommu_group_sysfs_ops = { 143 .sysfs_ops = &iommu_group_sysfs_ops,
|
/linux-4.1.27/drivers/infiniband/core/ |
D | sysfs.c | 83 static const struct sysfs_ops port_sysfs_ops = { 451 .sysfs_ops = &port_sysfs_ops,
|
D | cm.c | 3681 static const struct sysfs_ops cm_counter_ops = { 3686 .sysfs_ops = &cm_counter_ops,
|
/linux-4.1.27/Documentation/filesystems/ |
D | sysfs.txt | 127 struct sysfs_ops { 133 descriptor for this type, which is where the sysfs_ops pointer is
|
/linux-4.1.27/drivers/staging/unisys/virtpci/ |
D | virtpci.c | 138 static const struct sysfs_ops virtpci_driver_sysfs_ops = { 144 .sysfs_ops = &virtpci_driver_sysfs_ops,
|
/linux-4.1.27/drivers/infiniband/hw/mlx4/ |
D | sysfs.c | 426 static const struct sysfs_ops port_sysfs_ops = { 433 .sysfs_ops = &port_sysfs_ops,
|
/linux-4.1.27/Documentation/ |
D | kobject.txt | 288 const struct sysfs_ops *sysfs_ops; 300 release() method for this type of kobject. The other two fields (sysfs_ops
|
/linux-4.1.27/fs/f2fs/ |
D | super.c | 228 static const struct sysfs_ops f2fs_attr_ops = { 235 .sysfs_ops = &f2fs_attr_ops,
|
/linux-4.1.27/drivers/misc/cxl/ |
D | sysfs.c | 474 .sysfs_ops = &kobj_sysfs_ops,
|
/linux-4.1.27/drivers/acpi/ |
D | sysfs.c | 758 .sysfs_ops = &kobj_sysfs_ops,
|
/linux-4.1.27/drivers/net/ethernet/ibm/ |
D | ibmveth.c | 1612 static const struct sysfs_ops veth_pool_ops = { 1619 .sysfs_ops = &veth_pool_ops,
|
/linux-4.1.27/drivers/power/ |
D | abx500_chargalg.c | 1940 static const struct sysfs_ops abx500_chargalg_sysfs_ops = { 1946 .sysfs_ops = &abx500_chargalg_sysfs_ops,
|
D | ab8500_fg.c | 2524 static const struct sysfs_ops ab8500_fg_sysfs_ops = { 2536 .sysfs_ops = &ab8500_fg_sysfs_ops,
|
/linux-4.1.27/drivers/block/ |
D | pktcdvd.c | 297 static const struct sysfs_ops kobj_pkt_ops = { 303 .sysfs_ops = &kobj_pkt_ops, 308 .sysfs_ops = &kobj_pkt_ops,
|
/linux-4.1.27/fs/ext4/ |
D | super.c | 2751 static const struct sysfs_ops ext4_attr_ops = { 2758 .sysfs_ops = &ext4_attr_ops, 2778 static const struct sysfs_ops ext4_feat_ops = { 2785 .sysfs_ops = &ext4_feat_ops,
|
/linux-4.1.27/mm/ |
D | slub.c | 5087 static const struct sysfs_ops slab_sysfs_ops = { 5093 .sysfs_ops = &slab_sysfs_ops,
|