Home
last modified time | relevance | path

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

12345

/linux/fs/bcachefs/
H A Dsysfs.h10 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_op
[all...]
/linux/fs/sysfs/
H A Dfile.c29 * Determine ktype->sysfs_ops for the given kernfs_node. This function
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()
44 * sysfs_ops->show() result through seq_file.
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
[all...]
/linux/fs/xfs/
H A Dxfs_sysfs.c63 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/erofs/
H A Dsysfs.c228 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 Dvas-sysfs.c160 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 Dedac_device_sysfs.c142 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 Dedac_pci_sysfs.c122 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 Dsysfs.c78 static const struct sysfs_ops zonefs_sysfs_attr_ops = {
84 .sysfs_ops = &zonefs_sysfs_attr_ops,
/linux/drivers/dma-buf/
H 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/
H A Ddm-sysfs.c118 static const struct sysfs_ops dm_sysfs_ops = {
124 .sysfs_ops = &dm_sysfs_ops,
/linux/fs/nfs/
H A Dsysfs.c38 .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/cpuidle/
H A Dsysfs.c197 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/mm/damon/
H A Dsysfs.c86 .sysfs_ops = &kobj_sysfs_ops,
203 .sysfs_ops = &kobj_sysfs_ops,
282 .sysfs_ops = &kobj_sysfs_ops,
407 .sysfs_ops = &kobj_sysfs_ops,
565 .sysfs_ops = &kobj_sysfs_ops,
720 .sysfs_ops = &kobj_sysfs_ops,
806 .sysfs_ops = &kobj_sysfs_ops,
1020 .sysfs_ops = &kobj_sysfs_ops,
1146 .sysfs_ops = &kobj_sysfs_ops,
1776 .sysfs_ops
[all...]
/linux/drivers/md/bcache/
H A Dsysfs.h8 .sysfs_ops = &((const struct sysfs_ops) { \
/linux/fs/orangefs/
H A Dorangefs-sysfs.c205 static const struct sysfs_ops orangefs_sysfs_ops = {
900 .sysfs_ops = &orangefs_sysfs_ops,
947 .sysfs_ops = &orangefs_sysfs_ops,
994 .sysfs_ops = &orangefs_sysfs_ops,
1041 .sysfs_ops = &orangefs_sysfs_ops,
1088 .sysfs_ops = &orangefs_sysfs_ops,
1128 .sysfs_ops = &orangefs_sysfs_ops,
1161 .sysfs_ops = &orangefs_sysfs_ops,
/linux/fs/ocfs2/cluster/
H A Dmasklog.c142 static const struct sysfs_ops mlog_attr_ops = {
149 .sysfs_ops = &mlog_attr_ops,
/linux/block/
H A Dblk-crypto-sysfs.c145 static const struct sysfs_ops blk_crypto_attr_ops = {
156 .sysfs_ops = &blk_crypto_attr_ops,
/linux/drivers/dma/ioat/
H A Dsysfs.c70 const struct sysfs_ops ioat_sysfs_ops = {
164 .sysfs_ops = &ioat_sysfs_ops,
/linux/arch/x86/platform/efi/
H A Druntime-map.c84 static const struct sysfs_ops map_attr_ops = {
97 .sysfs_ops = &map_attr_ops,
/linux/Documentation/translations/zh_CN/core-api/
H A Dkobject.rst260 const struct sysfs_ops *sysfs_ops;
273 方法的一个指针。另外两个字段(sysfs_ops 和 default_groups)控制这种
/linux/samples/kobject/
H A Dkset-example.c88 /* Our custom sysfs_ops that we will associate with our ktype later on */
89 static const struct sysfs_ops foo_sysfs_ops = {
189 .sysfs_ops = &foo_sysfs_ops,
/linux/drivers/staging/greybus/
H A Daudio_manager_module.c62 static const struct sysfs_ops gb_audio_module_sysfs_ops = {
148 .sysfs_ops = &gb_audio_module_sysfs_ops,
/linux/drivers/block/rnbd/
H A Drnbd-srv-sysfs.c37 .sysfs_ops = &kobj_sysfs_ops,
188 .sysfs_ops = &kobj_sysfs_ops,
/linux/drivers/firmware/
H 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,
566 .sysfs_ops = &dmi_sysfs_attr_ops,
/linux/drivers/platform/x86/intel/pmt/
H A Ddiscovery.c283 .sysfs_ops = &kobj_sysfs_ops,
299 .sysfs_ops = &kobj_sysfs_ops,
314 .sysfs_ops = &kobj_sysfs_ops,
327 .sysfs_ops = &kobj_sysfs_ops,

12345