Searched refs:sysfs_ops (Results 1 – 13 of 13) sorted by relevance
/fs/sysfs/ |
D | file.c | 25 static const struct sysfs_ops *sysfs_file_ops(struct kernfs_node *kn) in sysfs_file_ops() 31 return kobj->ktype ? kobj->ktype->sysfs_ops : NULL; in sysfs_file_ops() 43 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); in sysfs_kf_seq_show() 106 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); in sysfs_kf_read() 132 const struct sysfs_ops *ops = sysfs_file_ops(of->kn); in sysfs_kf_write() 256 const struct sysfs_ops *sysfs_ops = kobj->ktype->sysfs_ops; in sysfs_add_file_mode_ns() local 259 if (WARN(!sysfs_ops, KERN_ERR in sysfs_add_file_mode_ns() 264 if (sysfs_ops->show && sysfs_ops->store) { in sysfs_add_file_mode_ns() 269 } else if (sysfs_ops->show) { in sysfs_add_file_mode_ns() 274 } else if (sysfs_ops->store) { in sysfs_add_file_mode_ns()
|
/fs/xfs/ |
D | xfs_sysfs.c | 61 static const struct sysfs_ops xfs_sysfs_ops = { 72 .sysfs_ops = &xfs_sysfs_ops, 244 .sysfs_ops = &xfs_sysfs_ops, 301 .sysfs_ops = &xfs_sysfs_ops, 386 .sysfs_ops = &xfs_sysfs_ops, 540 .sysfs_ops = &xfs_sysfs_ops, 546 .sysfs_ops = &xfs_sysfs_ops,
|
D | xfs_error.c | 116 static const struct sysfs_ops xfs_errortag_sysfs_ops = { 207 .sysfs_ops = &xfs_errortag_sysfs_ops,
|
/fs/orangefs/ |
D | orangefs-sysfs.c | 205 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,
|
/fs/nfs/ |
D | sysfs.c | 36 .sysfs_ops = &kobj_sysfs_ops, 145 .sysfs_ops = &kobj_sysfs_ops,
|
/fs/ocfs2/cluster/ |
D | masklog.c | 143 static const struct sysfs_ops mlog_attr_ops = { 150 .sysfs_ops = &mlog_attr_ops,
|
/fs/nilfs2/ |
D | sysfs.c | 59 static const struct sysfs_ops nilfs_##name##_attr_ops = { \ 76 .sysfs_ops = &nilfs_##name##_attr_ops, \ 178 static const struct sysfs_ops nilfs_snapshot_attr_ops = { 185 .sysfs_ops = &nilfs_snapshot_attr_ops, 973 static const struct sysfs_ops nilfs_dev_attr_ops = { 980 .sysfs_ops = &nilfs_dev_attr_ops,
|
/fs/ext4/ |
D | sysfs.c | 379 static const struct sysfs_ops ext4_attr_ops = { 386 .sysfs_ops = &ext4_attr_ops, 392 .sysfs_ops = &ext4_attr_ops,
|
/fs/f2fs/ |
D | sysfs.c | 580 static const struct sysfs_ops f2fs_attr_ops = { 587 .sysfs_ops = &f2fs_attr_ops, 592 .sysfs_ops = &f2fs_attr_ops, 601 .sysfs_ops = &f2fs_attr_ops,
|
/fs/ocfs2/ |
D | filecheck.c | 137 static const struct sysfs_ops ocfs2_filecheck_ops = { 144 .sysfs_ops = &ocfs2_filecheck_ops,
|
/fs/btrfs/ |
D | sysfs.c | 403 .sysfs_ops = &kobj_sysfs_ops, 462 .sysfs_ops = &kobj_sysfs_ops, 626 .sysfs_ops = &kobj_sysfs_ops,
|
/fs/gfs2/ |
D | sys.c | 52 static const struct sysfs_ops gfs2_attr_ops = { 311 .sysfs_ops = &gfs2_attr_ops,
|
/fs/dlm/ |
D | lockspace.c | 185 static const struct sysfs_ops dlm_attr_ops = { 192 .sysfs_ops = &dlm_attr_ops,
|