Home
last modified time | relevance | path

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

12345

/linux/fs/sysfs/
A Dfile.c32 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()
104 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); in sysfs_kf_read()
259 const struct sysfs_ops *sysfs_ops = kobj->ktype->sysfs_ops; in sysfs_add_file_mode_ns() local
265 if (WARN(!sysfs_ops, KERN_ERR in sysfs_add_file_mode_ns()
271 if (sysfs_ops->show && sysfs_ops->store) in sysfs_add_file_mode_ns()
273 else if (sysfs_ops->show) in sysfs_add_file_mode_ns()
275 else if (sysfs_ops->store) in sysfs_add_file_mode_ns()
278 if (sysfs_ops->show && sysfs_ops->store) in sysfs_add_file_mode_ns()
280 else if (sysfs_ops->show) in sysfs_add_file_mode_ns()
[all …]
/linux/fs/xfs/
A 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/include/linux/
A Dkobject.h139 const struct sysfs_ops *sysfs_ops; member
170 extern const struct sysfs_ops kobj_sysfs_ops;
/linux/drivers/edac/
A 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,
A 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/drivers/cpuidle/
A 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,
585 static const struct sysfs_ops cpuidle_driver_sysfs_ops = {
596 .sysfs_ops = &cpuidle_driver_sysfs_ops,
/linux/fs/orangefs/
A 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/drivers/dma-buf/
A Ddma-buf-sysfs-stats.c78 static const struct sysfs_ops dma_buf_stats_sysfs_ops = {
116 .sysfs_ops = &dma_buf_stats_sysfs_ops,
/linux/drivers/md/
A Ddm-sysfs.c116 static const struct sysfs_ops dm_sysfs_ops = {
122 .sysfs_ops = &dm_sysfs_ops,
/linux/drivers/md/bcache/
A Dsysfs.h8 .sysfs_ops = &((const struct sysfs_ops) { \
/linux/fs/nfs/
A Dsysfs.c36 .sysfs_ops = &kobj_sysfs_ops,
149 .sysfs_ops = &kobj_sysfs_ops,
/linux/fs/ocfs2/cluster/
A Dmasklog.c141 static const struct sysfs_ops mlog_attr_ops = {
148 .sysfs_ops = &mlog_attr_ops,
/linux/drivers/dma/ioat/
A Dsysfs.c70 const struct sysfs_ops ioat_sysfs_ops = {
163 .sysfs_ops = &ioat_sysfs_ops,
/linux/drivers/firmware/efi/
A Druntime-map.c83 static const struct sysfs_ops map_attr_ops = {
96 .sysfs_ops = &map_attr_ops,
/linux/drivers/platform/x86/
A 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/drivers/gpu/drm/amd/amdkfd/
A 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/arch/ia64/kernel/
A Dtopology.c281 static const struct sysfs_ops cache_sysfs_ops = {
286 .sysfs_ops = &cache_sysfs_ops,
291 .sysfs_ops = &cache_sysfs_ops,
/linux/Documentation/translations/zh_CN/core-api/
A Dkobject.rst260 const struct sysfs_ops *sysfs_ops;
274 方法的一个指针。另外两个字段(sysfs_ops 和 default_attrs)控制这种
/linux/samples/kobject/
A Dkset-example.c89 static const struct sysfs_ops foo_sysfs_ops = {
189 .sysfs_ops = &foo_sysfs_ops,
/linux/drivers/firmware/
A 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/fs/nilfs2/
A 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/drivers/staging/greybus/
A Daudio_manager_module.c59 static const struct sysfs_ops gb_audio_module_sysfs_ops = {
147 .sysfs_ops = &gb_audio_module_sysfs_ops,
/linux/drivers/block/rnbd/
A Drnbd-srv-sysfs.c37 .sysfs_ops = &kobj_sysfs_ops,
190 .sysfs_ops = &kobj_sysfs_ops,
/linux/drivers/gpu/drm/vmwgfx/
A Dttm_memory.c166 static const struct sysfs_ops ttm_mem_zone_ops = {
173 .sysfs_ops = &ttm_mem_zone_ops,
230 static const struct sysfs_ops ttm_mem_global_ops = {
236 .sysfs_ops = &ttm_mem_global_ops,
/linux/fs/f2fs/
A Dsysfs.c962 static const struct sysfs_ops f2fs_attr_ops = {
969 .sysfs_ops = &f2fs_attr_ops,
974 .sysfs_ops = &f2fs_attr_ops,
983 .sysfs_ops = &f2fs_attr_ops,
1017 static const struct sysfs_ops f2fs_stat_attr_ops = {
1024 .sysfs_ops = &f2fs_stat_attr_ops,
1045 static const struct sysfs_ops f2fs_feature_list_attr_ops = {
1051 .sysfs_ops = &f2fs_feature_list_attr_ops,

Completed in 53 milliseconds

12345