Home
last modified time | relevance | path

Searched defs:kernfs_ops (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/include/linux/
H A Dkernfs.h276 struct kernfs_ops { struct
281 int (*open)(struct kernfs_open_file *of);
282 void (*release)(struct kernfs_open_file *of);
295 int (*seq_show)(struct seq_file *sf, void *v);
297 void *(*seq_start)(struct seq_file *sf, loff_t *ppos);
298 void *(*seq_next)(struct seq_file *sf, void *v, loff_t *ppos);
299 void (*seq_stop)(struct seq_file *sf, void *v);
301 ssize_t (*read)(struct kernfs_open_file *of, char *buf, size_t bytes,
311 size_t atomic_write_len;
318 bool prealloc;
[all …]
/linux-6.15/fs/kernfs/
H A Dfile.c106 static const struct kernfs_ops *kernfs_ops(struct kernfs_node *kn) in kernfs_ops() function