Lines Matching defs:kernfs_ops
229 struct kernfs_ops { struct
234 int (*open)(struct kernfs_open_file *of);
235 void (*release)(struct kernfs_open_file *of);
248 int (*seq_show)(struct seq_file *sf, void *v);
250 void *(*seq_start)(struct seq_file *sf, loff_t *ppos);
251 void *(*seq_next)(struct seq_file *sf, void *v, loff_t *ppos);
252 void (*seq_stop)(struct seq_file *sf, void *v);
254 ssize_t (*read)(struct kernfs_open_file *of, char *buf, size_t bytes,
264 size_t atomic_write_len;
271 bool prealloc;
272 ssize_t (*write)(struct kernfs_open_file *of, char *buf, size_t bytes,
275 __poll_t (*poll)(struct kernfs_open_file *of,
278 int (*mmap)(struct kernfs_open_file *of, struct vm_area_struct *vma);
281 struct lock_class_key lockdep_key;