Home
last modified time | relevance | path

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

/fs/sysfs/
Dfile.c25 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/
Dxfs_sysfs.c61 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,
Dxfs_error.c116 static const struct sysfs_ops xfs_errortag_sysfs_ops = {
207 .sysfs_ops = &xfs_errortag_sysfs_ops,
/fs/orangefs/
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,
/fs/nfs/
Dsysfs.c36 .sysfs_ops = &kobj_sysfs_ops,
145 .sysfs_ops = &kobj_sysfs_ops,
/fs/ocfs2/cluster/
Dmasklog.c143 static const struct sysfs_ops mlog_attr_ops = {
150 .sysfs_ops = &mlog_attr_ops,
/fs/nilfs2/
Dsysfs.c59 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/
Dsysfs.c379 static const struct sysfs_ops ext4_attr_ops = {
386 .sysfs_ops = &ext4_attr_ops,
392 .sysfs_ops = &ext4_attr_ops,
/fs/f2fs/
Dsysfs.c580 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/
Dfilecheck.c137 static const struct sysfs_ops ocfs2_filecheck_ops = {
144 .sysfs_ops = &ocfs2_filecheck_ops,
/fs/btrfs/
Dsysfs.c403 .sysfs_ops = &kobj_sysfs_ops,
462 .sysfs_ops = &kobj_sysfs_ops,
626 .sysfs_ops = &kobj_sysfs_ops,
/fs/gfs2/
Dsys.c52 static const struct sysfs_ops gfs2_attr_ops = {
311 .sysfs_ops = &gfs2_attr_ops,
/fs/dlm/
Dlockspace.c185 static const struct sysfs_ops dlm_attr_ops = {
192 .sysfs_ops = &dlm_attr_ops,