Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dkernfs.h219 struct kernfs_ops { struct
224 int (*open)(struct kernfs_open_file *of);
225 void (*release)(struct kernfs_open_file *of);
238 int (*seq_show)(struct seq_file *sf, void *v);
240 void *(*seq_start)(struct seq_file *sf, loff_t *ppos);
241 void *(*seq_next)(struct seq_file *sf, void *v, loff_t *ppos);
242 void (*seq_stop)(struct seq_file *sf, void *v);
244 ssize_t (*read)(struct kernfs_open_file *of, char *buf, size_t bytes,
254 size_t atomic_write_len;
261 bool prealloc;
[all …]
/Linux-v5.4/fs/kernfs/
Dfile.c63 static const struct kernfs_ops *kernfs_ops(struct kernfs_node *kn) in kernfs_ops() function