/linux-4.4.14/fs/sysfs/ |
H A D | file.c | 25 * Determine ktype->sysfs_ops for the given kernfs_node. This function 28 static const struct sysfs_ops *sysfs_file_ops(struct kernfs_node *kn) sysfs_file_ops() 34 return kobj->ktype ? kobj->ktype->sysfs_ops : NULL; sysfs_file_ops() 40 * sysfs_ops->show() result through seq_file. 46 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); sysfs_kf_seq_show() 109 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); sysfs_kf_read() 127 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); sysfs_kf_write() 251 const struct sysfs_ops *sysfs_ops = kobj->ktype->sysfs_ops; sysfs_add_file_mode_ns() local 254 if (WARN(!sysfs_ops, KERN_ERR sysfs_add_file_mode_ns() 259 if (sysfs_ops->show && sysfs_ops->store) { sysfs_add_file_mode_ns() 264 } else if (sysfs_ops->show) { sysfs_add_file_mode_ns() 269 } else if (sysfs_ops->store) { sysfs_add_file_mode_ns()
|
/linux-4.4.14/fs/xfs/ |
H A D | xfs_sysfs.c | 81 static const struct sysfs_ops xfs_sysfs_ops = { 126 .sysfs_ops = &xfs_sysfs_ops, 183 .sysfs_ops = &xfs_sysfs_ops, 268 .sysfs_ops = &xfs_sysfs_ops,
|
/linux-4.4.14/drivers/staging/most/hdm-dim2/ |
H A D | dim2_sysfs.c | 78 static struct sysfs_ops const bus_kobj_sysfs_ops = { 85 .sysfs_ops = &bus_kobj_sysfs_ops,
|
/linux-4.4.14/drivers/md/bcache/ |
H A D | sysfs.h | 7 .sysfs_ops = &((const struct sysfs_ops) { \
|
/linux-4.4.14/drivers/md/ |
H A D | dm-sysfs.c | 114 static const struct sysfs_ops dm_sysfs_ops = { 120 .sysfs_ops = &dm_sysfs_ops,
|
H A D | md.c | 3148 static const struct sysfs_ops rdev_sysfs_ops = { 3154 .sysfs_ops = &rdev_sysfs_ops, 4953 static const struct sysfs_ops md_sysfs_ops = { 4959 .sysfs_ops = &md_sysfs_ops,
|
/linux-4.4.14/drivers/net/bonding/ |
H A D | bond_sysfs_slave.c | 137 static const struct sysfs_ops slave_sysfs_ops = { 143 .sysfs_ops = &slave_sysfs_ops,
|
/linux-4.4.14/drivers/dma/ioat/ |
H A D | sysfs.c | 67 const struct sysfs_ops ioat_sysfs_ops = { 133 .sysfs_ops = &ioat_sysfs_ops,
|
H A D | dma.h | 192 extern const struct sysfs_ops ioat_sysfs_ops;
|
/linux-4.4.14/drivers/firmware/efi/ |
H A D | runtime-map.c | 88 static const struct sysfs_ops map_attr_ops = { 101 .sysfs_ops = &map_attr_ops,
|
H A D | esrt.c | 103 static const struct sysfs_ops esre_attr_ops = { 159 .sysfs_ops = &esre_attr_ops,
|
H A D | efivars.c | 382 static const struct sysfs_ops efivar_attr_ops = { 410 .sysfs_ops = &efivar_attr_ops,
|
/linux-4.4.14/fs/ext4/ |
H A D | sysfs.c | 327 static const struct sysfs_ops ext4_attr_ops = { 334 .sysfs_ops = &ext4_attr_ops, 339 .sysfs_ops = &ext4_attr_ops, 348 .sysfs_ops = &ext4_attr_ops,
|
/linux-4.4.14/block/ |
H A D | blk-mq-sysfs.c | 320 static const struct sysfs_ops blk_mq_sysfs_ops = { 325 static const struct sysfs_ops blk_mq_hw_sysfs_ops = { 331 .sysfs_ops = &blk_mq_sysfs_ops, 336 .sysfs_ops = &blk_mq_sysfs_ops, 342 .sysfs_ops = &blk_mq_hw_sysfs_ops,
|
H A D | blk-integrity.c | 377 static const struct sysfs_ops integrity_ops = { 384 .sysfs_ops = &integrity_ops,
|
H A D | blk-sysfs.c | 610 static const struct sysfs_ops queue_sysfs_ops = { 616 .sysfs_ops = &queue_sysfs_ops,
|
H A D | elevator.c | 782 static const struct sysfs_ops elv_sysfs_ops = { 788 .sysfs_ops = &elv_sysfs_ops,
|
/linux-4.4.14/drivers/cpuidle/ |
H A 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.4.14/fs/exofs/ |
H A D | sys.c | 51 static const struct sysfs_ops odev_attr_ops = { 111 .sysfs_ops = &odev_attr_ops,
|
/linux-4.4.14/fs/ocfs2/cluster/ |
H A D | masklog.c | 157 static const struct sysfs_ops mlog_attr_ops = { 164 .sysfs_ops = &mlog_attr_ops,
|
/linux-4.4.14/samples/kobject/ |
H A D | kset-example.c | 90 /* Our custom sysfs_ops that we will associate with our ktype later on */ 91 static const struct sysfs_ops foo_sysfs_ops = { 190 .sysfs_ops = &foo_sysfs_ops,
|
/linux-4.4.14/include/linux/ |
H A D | kobject.h | 118 const struct sysfs_ops *sysfs_ops; member in struct:kobj_type 147 extern const struct sysfs_ops kobj_sysfs_ops;
|
H A D | sysfs.h | 209 struct sysfs_ops { struct
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
H A D | qib_sysfs.c | 176 * full set of kobject/sysfs_ops structures and routines. 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.4.14/drivers/gpu/drm/amd/amdkfd/ |
H A 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.4.14/drivers/staging/rdma/hfi1/ |
H A D | sysfs.c | 248 static const struct sysfs_ops hfi1_sc2vl_ops = { 254 .sysfs_ops = &hfi1_sc2vl_ops, 354 static const struct sysfs_ops hfi1_sl2sc_ops = { 360 .sysfs_ops = &hfi1_sl2sc_ops, 428 static const struct sysfs_ops hfi1_vl2mtu_ops = { 434 .sysfs_ops = &hfi1_vl2mtu_ops,
|
/linux-4.4.14/drivers/edac/ |
H A 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,
|
H A 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.4.14/arch/ia64/kernel/ |
H A 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.4.14/drivers/firmware/ |
H A 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,
|
H A D | memmap.c | 82 static const struct sysfs_ops memmap_attr_ops = { 129 .sysfs_ops = &memmap_attr_ops,
|
H A D | edd.c | 125 static const struct sysfs_ops edd_attr_ops = { 630 .sysfs_ops = &edd_attr_ops,
|
/linux-4.4.14/drivers/video/fbdev/omap2/dss/ |
H A D | display-sysfs.c | 310 static const struct sysfs_ops display_sysfs_ops = { 316 .sysfs_ops = &display_sysfs_ops,
|
H A D | overlay-sysfs.c | 435 static const struct sysfs_ops overlay_sysfs_ops = { 441 .sysfs_ops = &overlay_sysfs_ops,
|
H A D | manager-sysfs.c | 508 static const struct sysfs_ops manager_sysfs_ops = { 514 .sysfs_ops = &manager_sysfs_ops,
|
/linux-4.4.14/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_sysfs.c | 233 static const struct sysfs_ops usnic_ib_qpn_sysfs_ops = { 291 .sysfs_ops = &usnic_ib_qpn_sysfs_ops,
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
H A D | opal-elog.c | 126 static const struct sysfs_ops elog_sysfs_ops = { 148 .sysfs_ops = &elog_sysfs_ops,
|
H A D | opal-dump.c | 190 static const struct sysfs_ops dump_sysfs_ops = { 212 .sysfs_ops = &dump_sysfs_ops,
|
/linux-4.4.14/sound/hda/ |
H A D | hdac_sysfs.c | 140 static const struct sysfs_ops widget_sysfs_ops = { 152 .sysfs_ops = &widget_sysfs_ops,
|
/linux-4.4.14/drivers/uio/ |
H A 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.4.14/drivers/pci/ |
H A D | slot.c | 35 static const struct sysfs_ops pci_slot_sysfs_ops = { 136 .sysfs_ops = &pci_slot_sysfs_ops,
|
/linux-4.4.14/arch/sh/kernel/cpu/sh4/ |
H A D | sq.c | 330 static const struct sysfs_ops sq_sysfs_ops = { 336 .sysfs_ops = &sq_sysfs_ops,
|
/linux-4.4.14/drivers/xen/ |
H A D | sys-hypervisor.c | 577 static const struct sysfs_ops hyp_sysfs_ops = { 583 .sysfs_ops = &hyp_sysfs_ops,
|
/linux-4.4.14/fs/nilfs2/ |
H A 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.4.14/fs/btrfs/ |
H A D | sysfs.c | 294 .sysfs_ops = &kobj_sysfs_ops, 349 .sysfs_ops = &kobj_sysfs_ops, 449 .sysfs_ops = &kobj_sysfs_ops,
|
/linux-4.4.14/kernel/livepatch/ |
H A D | core.c | 667 .sysfs_ops = &kobj_sysfs_ops, 677 .sysfs_ops = &kobj_sysfs_ops, 686 .sysfs_ops = &kobj_sysfs_ops,
|
/linux-4.4.14/drivers/staging/most/mostcore/ |
H A D | core.c | 165 static const struct sysfs_ops most_channel_sysfs_ops = { 519 .sysfs_ops = &most_channel_sysfs_ops, 652 static const struct sysfs_ops most_inst_sysfs_ops = { 718 .sysfs_ops = &most_inst_sysfs_ops, 853 static const struct sysfs_ops most_aim_sysfs_ops = { 1079 .sysfs_ops = &most_aim_sysfs_ops,
|
/linux-4.4.14/drivers/scsi/ |
H A D | iscsi_boot_sysfs.c | 58 static const struct sysfs_ops iscsi_boot_attr_ops = { 74 .sysfs_ops = &iscsi_boot_attr_ops,
|
/linux-4.4.14/drivers/gpu/drm/ttm/ |
H A D | ttm_memory.c | 158 static const struct sysfs_ops ttm_mem_zone_ops = { 165 .sysfs_ops = &ttm_mem_zone_ops,
|
H A D | ttm_page_alloc.c | 206 static const struct sysfs_ops ttm_pool_sysfs_ops = { 213 .sysfs_ops = &ttm_pool_sysfs_ops,
|
H A D | ttm_page_alloc_dma.c | 260 static const struct sysfs_ops ttm_pool_sysfs_ops = { 267 .sysfs_ops = &ttm_pool_sysfs_ops,
|
H A D | ttm_bo.c | 120 static const struct sysfs_ops ttm_bo_global_ops = { 126 .sysfs_ops = &ttm_bo_global_ops,
|
/linux-4.4.14/drivers/acpi/ |
H A D | device_sysfs.c | 77 static const struct sysfs_ops acpi_data_node_sysfs_ops = { 88 .sysfs_ops = &acpi_data_node_sysfs_ops,
|
H A D | sysfs.c | 821 .sysfs_ops = &kobj_sysfs_ops,
|
/linux-4.4.14/drivers/base/ |
H A D | class.c | 74 static const struct sysfs_ops class_sysfs_ops = { 80 .sysfs_ops = &class_sysfs_ops,
|
H A D | bus.c | 79 static const struct sysfs_ops driver_sysfs_ops = { 93 .sysfs_ops = &driver_sysfs_ops, 124 static const struct sysfs_ops bus_sysfs_ops = { 161 .sysfs_ops = &bus_sysfs_ops,
|
H A D | core.c | 141 static const struct sysfs_ops dev_sysfs_ops = { 268 .sysfs_ops = &dev_sysfs_ops, 750 .sysfs_ops = &kobj_sysfs_ops,
|
/linux-4.4.14/net/bridge/ |
H A D | br_sysfs_if.c | 264 const struct sysfs_ops brport_sysfs_ops = {
|
H A D | br_if.c | 203 .sysfs_ops = &brport_sysfs_ops,
|
H A D | br_private.h | 953 extern const struct sysfs_ops brport_sysfs_ops; br_nf_core_fini()
|
/linux-4.4.14/net/core/ |
H A D | net-sysfs.c | 655 static const struct sysfs_ops rx_queue_sysfs_ops = { 880 .sysfs_ops = &rx_queue_sysfs_ops, 987 static const struct sysfs_ops netdev_queue_sysfs_ops = { 1272 .sysfs_ops = &netdev_queue_sysfs_ops,
|
/linux-4.4.14/drivers/infiniband/core/ |
H A D | sysfs.c | 83 static const struct sysfs_ops port_sysfs_ops = { 456 .sysfs_ops = &port_sysfs_ops,
|
H A D | cm.c | 3757 static const struct sysfs_ops cm_counter_ops = { 3762 .sysfs_ops = &cm_counter_ops,
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
H A D | sysfs.c | 426 static const struct sysfs_ops port_sysfs_ops = { 433 .sysfs_ops = &port_sysfs_ops,
|
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/ |
H A D | mce_amd.c | 558 static const struct sysfs_ops threshold_ops = { 564 .sysfs_ops = &threshold_ops,
|
/linux-4.4.14/fs/gfs2/ |
H A D | sys.c | 54 static const struct sysfs_ops gfs2_attr_ops = { 323 .sysfs_ops = &gfs2_attr_ops,
|
/linux-4.4.14/fs/dlm/ |
H A D | lockspace.c | 184 static const struct sysfs_ops dlm_attr_ops = { 191 .sysfs_ops = &dlm_attr_ops,
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | cacheinfo.c | 670 static const struct sysfs_ops cache_index_ops = { 676 .sysfs_ops = &cache_index_ops,
|
/linux-4.4.14/lib/ |
H A D | kobject.c | 704 .sysfs_ops = &kobj_sysfs_ops, 799 const struct sysfs_ops kobj_sysfs_ops = { 874 .sysfs_ops = &kobj_sysfs_ops,
|
/linux-4.4.14/drivers/misc/cxl/ |
H A D | sysfs.c | 505 .sysfs_ops = &kobj_sysfs_ops,
|
/linux-4.4.14/drivers/cpufreq/ |
H A D | cpufreq.c | 865 static const struct sysfs_ops sysfs_ops = { variable in typeref:struct:sysfs_ops 871 .sysfs_ops = &sysfs_ops,
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
H A D | lprocfs_status.c | 905 .sysfs_ops = &lustre_sysfs_ops, 1516 const struct sysfs_ops lustre_sysfs_ops = {
|
/linux-4.4.14/drivers/parisc/ |
H A D | pdc_stable.c | 484 static const struct sysfs_ops pdcspath_attr_ops = { 501 .sysfs_ops = &pdcspath_attr_ops,
|
/linux-4.4.14/fs/f2fs/ |
H A D | super.c | 241 static const struct sysfs_ops f2fs_attr_ops = { 248 .sysfs_ops = &f2fs_attr_ops,
|
/linux-4.4.14/kernel/ |
H A D | padata.c | 1004 static const struct sysfs_ops padata_sysfs_ops = { 1010 .sysfs_ops = &padata_sysfs_ops,
|
H A D | params.c | 963 static const struct sysfs_ops module_sysfs_ops = { 992 .sysfs_ops = &module_sysfs_ops,
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/ |
H A D | lprocfs_status.h | 704 extern const struct sysfs_ops lustre_sysfs_ops;
|
/linux-4.4.14/drivers/staging/unisys/visorbus/ |
H A D | visorbus_main.c | 379 static const struct sysfs_ops devmajorminor_sysfs_ops = { 385 .sysfs_ops = &devmajorminor_sysfs_ops
|
/linux-4.4.14/drivers/staging/most/hdm-usb/ |
H A D | hdm_usb.c | 1032 static const struct sysfs_ops most_dci_sysfs_ops = { 1165 .sysfs_ops = &most_dci_sysfs_ops,
|
/linux-4.4.14/drivers/iommu/ |
H A D | iommu.c | 114 static const struct sysfs_ops iommu_group_sysfs_ops = { 159 .sysfs_ops = &iommu_group_sysfs_ops,
|
/linux-4.4.14/drivers/net/ethernet/ibm/ |
H A D | ibmveth.c | 1742 static const struct sysfs_ops veth_pool_ops = { 1749 .sysfs_ops = &veth_pool_ops,
|
/linux-4.4.14/drivers/block/ |
H A D | pktcdvd.c | 298 static const struct sysfs_ops kobj_pkt_ops = { 304 .sysfs_ops = &kobj_pkt_ops, 309 .sysfs_ops = &kobj_pkt_ops,
|
/linux-4.4.14/drivers/power/ |
H A D | abx500_chargalg.c | 1940 static const struct sysfs_ops abx500_chargalg_sysfs_ops = { 1946 .sysfs_ops = &abx500_chargalg_sysfs_ops,
|
H A D | ab8500_fg.c | 2524 static const struct sysfs_ops ab8500_fg_sysfs_ops = { 2536 .sysfs_ops = &ab8500_fg_sysfs_ops,
|
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/ |
H A D | ldlm_pool.c | 555 .sysfs_ops = &lustre_sysfs_ops,
|
H A D | ldlm_resource.c | 371 .sysfs_ops = &lustre_sysfs_ops,
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
H A D | lproc_llite.c | 867 .sysfs_ops = &lustre_sysfs_ops,
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | lproc_ptlrpc.c | 1048 .sysfs_ops = &lustre_sysfs_ops,
|
/linux-4.4.14/mm/ |
H A D | slub.c | 5302 static const struct sysfs_ops slab_sysfs_ops = { 5308 .sysfs_ops = &slab_sysfs_ops,
|
/linux-4.4.14/scripts/ |
H A D | checkpatch.pl | 5679 sysfs_ops|
|