Lines Matching defs:kernfs_ops
276 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;
319 ssize_t (*write)(struct kernfs_open_file *of, char *buf, size_t bytes,
322 __poll_t (*poll)(struct kernfs_open_file *of,
325 int (*mmap)(struct kernfs_open_file *of, struct vm_area_struct *vma);
326 loff_t (*llseek)(struct kernfs_open_file *of, loff_t offset, int whence);