Home
last modified time | relevance | path

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

/linux-4.1.27/fs/sysfs/
Dfile.c28 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/
Dxfs_sysfs.c115 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/
Dkobject.h117 const struct sysfs_ops *sysfs_ops; member
146 extern const struct sysfs_ops kobj_sysfs_ops;
Dsysfs.h199 struct sysfs_ops { struct
/linux-4.1.27/block/
Dblk-mq-sysfs.c314 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,
Dblk-integrity.c368 static const struct sysfs_ops integrity_ops = {
392 .sysfs_ops = &integrity_ops,
Dblk-sysfs.c529 static const struct sysfs_ops queue_sysfs_ops = {
535 .sysfs_ops = &queue_sysfs_ops,
Delevator.c782 static const struct sysfs_ops elv_sysfs_ops = {
788 .sysfs_ops = &elv_sysfs_ops,
/linux-4.1.27/drivers/cpuidle/
Dsysfs.c219 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/
Dedac_device_sysfs.c142 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,
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-4.1.27/drivers/net/bonding/
Dbond_sysfs_slave.c105 static const struct sysfs_ops slave_sysfs_ops = {
111 .sysfs_ops = &slave_sysfs_ops,
/linux-4.1.27/fs/ocfs2/cluster/
Dmasklog.c123 static const struct sysfs_ops mlog_attr_ops = {
130 .sysfs_ops = &mlog_attr_ops,
/linux-4.1.27/drivers/md/bcache/
Dsysfs.h7 .sysfs_ops = &((const struct sysfs_ops) { \
/linux-4.1.27/drivers/md/
Ddm-sysfs.c114 static const struct sysfs_ops dm_sysfs_ops = {
120 .sysfs_ops = &dm_sysfs_ops,
Dmd.c3050 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/
Dkfd_topology.c522 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/
Dqib_sysfs.c319 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/
Druntime-map.c88 static const struct sysfs_ops map_attr_ops = {
101 .sysfs_ops = &map_attr_ops,
Defivars.c382 static const struct sysfs_ops efivar_attr_ops = {
410 .sysfs_ops = &efivar_attr_ops,
/linux-4.1.27/fs/exofs/
Dsys.c51 static const struct sysfs_ops odev_attr_ops = {
111 .sysfs_ops = &odev_attr_ops,
/linux-4.1.27/samples/kobject/
Dkset-example.c91 static const struct sysfs_ops foo_sysfs_ops = {
190 .sysfs_ops = &foo_sysfs_ops,
/linux-4.1.27/arch/ia64/kernel/
Dtopology.c286 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/
Ddmi-sysfs.c109 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,
Dmemmap.c82 static const struct sysfs_ops memmap_attr_ops = {
129 .sysfs_ops = &memmap_attr_ops,
Dedd.c125 static const struct sysfs_ops edd_attr_ops = {
630 .sysfs_ops = &edd_attr_ops,
/linux-4.1.27/fs/nilfs2/
Dsysfs.c68 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/
Dopal-elog.c125 static const struct sysfs_ops elog_sysfs_ops = {
147 .sysfs_ops = &elog_sysfs_ops,
Dopal-dump.c189 static const struct sysfs_ops dump_sysfs_ops = {
211 .sysfs_ops = &dump_sysfs_ops,
/linux-4.1.27/drivers/pci/
Dslot.c34 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/
Dsq.c330 static const struct sysfs_ops sq_sysfs_ops = {
336 .sysfs_ops = &sq_sysfs_ops,
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Ddisplay-sysfs.c310 static const struct sysfs_ops display_sysfs_ops = {
316 .sysfs_ops = &display_sysfs_ops,
Doverlay-sysfs.c435 static const struct sysfs_ops overlay_sysfs_ops = {
441 .sysfs_ops = &overlay_sysfs_ops,
Dmanager-sysfs.c508 static const struct sysfs_ops manager_sysfs_ops = {
514 .sysfs_ops = &manager_sysfs_ops,
/linux-4.1.27/drivers/infiniband/hw/usnic/
Dusnic_ib_sysfs.c218 static const struct sysfs_ops usnic_ib_qpn_sysfs_ops = {
276 .sysfs_ops = &usnic_ib_qpn_sysfs_ops,
/linux-4.1.27/drivers/uio/
Duio.c116 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/
Dsysfs.txt141 struct sysfs_ops {
147 描述符,并在此保存 sysfs_ops 的指针。更多的信息参见 kobject 的
/linux-4.1.27/drivers/xen/
Dsys-hypervisor.c443 static const struct sysfs_ops hyp_sysfs_ops = {
449 .sysfs_ops = &hyp_sysfs_ops,
/linux-4.1.27/sound/hda/
Dhdac_sysfs.c132 static const struct sysfs_ops widget_sysfs_ops = {
144 .sysfs_ops = &widget_sysfs_ops,
/linux-4.1.27/fs/btrfs/
Dsysfs.c293 .sysfs_ops = &kobj_sysfs_ops,
348 .sysfs_ops = &kobj_sysfs_ops,
446 .sysfs_ops = &kobj_sysfs_ops,
/linux-4.1.27/lib/
Dkobject.c688 .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/
Dclass.c74 static const struct sysfs_ops class_sysfs_ops = {
80 .sysfs_ops = &class_sysfs_ops,
Dbus.c78 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,
Dcore.c141 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/
Discsi_boot_sysfs.c58 static const struct sysfs_ops iscsi_boot_attr_ops = {
74 .sysfs_ops = &iscsi_boot_attr_ops,
/linux-4.1.27/drivers/gpu/drm/ttm/
Dttm_memory.c158 static const struct sysfs_ops ttm_mem_zone_ops = {
165 .sysfs_ops = &ttm_mem_zone_ops,
Dttm_page_alloc.c206 static const struct sysfs_ops ttm_pool_sysfs_ops = {
213 .sysfs_ops = &ttm_pool_sysfs_ops,
Dttm_page_alloc_dma.c260 static const struct sysfs_ops ttm_pool_sysfs_ops = {
267 .sysfs_ops = &ttm_pool_sysfs_ops,
Dttm_bo.c120 static const struct sysfs_ops ttm_bo_global_ops = {
126 .sysfs_ops = &ttm_bo_global_ops,
/linux-4.1.27/arch/powerpc/kernel/
Dcacheinfo.c670 static const struct sysfs_ops cache_index_ops = {
676 .sysfs_ops = &cache_index_ops,
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/
Dmce_amd.c457 static const struct sysfs_ops threshold_ops = {
463 .sysfs_ops = &threshold_ops,
/linux-4.1.27/net/core/
Dnet-sysfs.c638 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/
Ddma.h349 extern const struct sysfs_ops ioat_sysfs_ops;
Ddma.c1156 const struct sysfs_ops ioat_sysfs_ops = {
1161 .sysfs_ops = &ioat_sysfs_ops,
Ddma_v2.c872 .sysfs_ops = &ioat_sysfs_ops,
/linux-4.1.27/fs/gfs2/
Dsys.c54 static const struct sysfs_ops gfs2_attr_ops = {
298 .sysfs_ops = &gfs2_attr_ops,
/linux-4.1.27/kernel/livepatch/
Dcore.c658 .sysfs_ops = &kobj_sysfs_ops,
668 .sysfs_ops = &kobj_sysfs_ops,
/linux-4.1.27/drivers/parisc/
Dpdc_stable.c484 static const struct sysfs_ops pdcspath_attr_ops = {
501 .sysfs_ops = &pdcspath_attr_ops,
/linux-4.1.27/net/bridge/
Dbr_sysfs_if.c264 const struct sysfs_ops brport_sysfs_ops = {
Dbr_if.c202 .sysfs_ops = &brport_sysfs_ops,
Dbr_private.h835 extern const struct sysfs_ops brport_sysfs_ops;
/linux-4.1.27/fs/dlm/
Dlockspace.c184 static const struct sysfs_ops dlm_attr_ops = {
191 .sysfs_ops = &dlm_attr_ops,
/linux-4.1.27/kernel/
Dparams.c902 static const struct sysfs_ops module_sysfs_ops = {
931 .sysfs_ops = &module_sysfs_ops,
Dpadata.c1004 static const struct sysfs_ops padata_sysfs_ops = {
1010 .sysfs_ops = &padata_sysfs_ops,
/linux-4.1.27/drivers/cpufreq/
Dcpufreq.c822 static const struct sysfs_ops sysfs_ops = { variable
828 .sysfs_ops = &sysfs_ops,
/linux-4.1.27/drivers/iommu/
Diommu.c103 static const struct sysfs_ops iommu_group_sysfs_ops = {
143 .sysfs_ops = &iommu_group_sysfs_ops,
/linux-4.1.27/drivers/infiniband/core/
Dsysfs.c83 static const struct sysfs_ops port_sysfs_ops = {
451 .sysfs_ops = &port_sysfs_ops,
Dcm.c3681 static const struct sysfs_ops cm_counter_ops = {
3686 .sysfs_ops = &cm_counter_ops,
/linux-4.1.27/Documentation/filesystems/
Dsysfs.txt127 struct sysfs_ops {
133 descriptor for this type, which is where the sysfs_ops pointer is
/linux-4.1.27/drivers/staging/unisys/virtpci/
Dvirtpci.c138 static const struct sysfs_ops virtpci_driver_sysfs_ops = {
144 .sysfs_ops = &virtpci_driver_sysfs_ops,
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dsysfs.c426 static const struct sysfs_ops port_sysfs_ops = {
433 .sysfs_ops = &port_sysfs_ops,
/linux-4.1.27/Documentation/
Dkobject.txt288 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/
Dsuper.c228 static const struct sysfs_ops f2fs_attr_ops = {
235 .sysfs_ops = &f2fs_attr_ops,
/linux-4.1.27/drivers/misc/cxl/
Dsysfs.c474 .sysfs_ops = &kobj_sysfs_ops,
/linux-4.1.27/drivers/acpi/
Dsysfs.c758 .sysfs_ops = &kobj_sysfs_ops,
/linux-4.1.27/drivers/net/ethernet/ibm/
Dibmveth.c1612 static const struct sysfs_ops veth_pool_ops = {
1619 .sysfs_ops = &veth_pool_ops,
/linux-4.1.27/drivers/power/
Dabx500_chargalg.c1940 static const struct sysfs_ops abx500_chargalg_sysfs_ops = {
1946 .sysfs_ops = &abx500_chargalg_sysfs_ops,
Dab8500_fg.c2524 static const struct sysfs_ops ab8500_fg_sysfs_ops = {
2536 .sysfs_ops = &ab8500_fg_sysfs_ops,
/linux-4.1.27/drivers/block/
Dpktcdvd.c297 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/
Dsuper.c2751 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/
Dslub.c5087 static const struct sysfs_ops slab_sysfs_ops = {
5093 .sysfs_ops = &slab_sysfs_ops,