Lines Matching defs:kernfs_ops
222 struct kernfs_ops { struct
227 int (*open)(struct kernfs_open_file *of);
228 void (*release)(struct kernfs_open_file *of);
241 int (*seq_show)(struct seq_file *sf, void *v);
243 void *(*seq_start)(struct seq_file *sf, loff_t *ppos);
244 void *(*seq_next)(struct seq_file *sf, void *v, loff_t *ppos);
245 void (*seq_stop)(struct seq_file *sf, void *v);
247 ssize_t (*read)(struct kernfs_open_file *of, char *buf, size_t bytes,
257 size_t atomic_write_len;
264 bool prealloc;
265 ssize_t (*write)(struct kernfs_open_file *of, char *buf, size_t bytes,
268 __poll_t (*poll)(struct kernfs_open_file *of,
271 int (*mmap)(struct kernfs_open_file *of, struct vm_area_struct *vma);
274 struct lock_class_key lockdep_key;