Lines Matching defs:kernfs_ops
271 struct kernfs_ops { struct
276 int (*open)(struct kernfs_open_file *of);
277 void (*release)(struct kernfs_open_file *of);
290 int (*seq_show)(struct seq_file *sf, void *v);
292 void *(*seq_start)(struct seq_file *sf, loff_t *ppos);
293 void *(*seq_next)(struct seq_file *sf, void *v, loff_t *ppos);
294 void (*seq_stop)(struct seq_file *sf, void *v);
296 ssize_t (*read)(struct kernfs_open_file *of, char *buf, size_t bytes,
306 size_t atomic_write_len;
313 bool prealloc;
314 ssize_t (*write)(struct kernfs_open_file *of, char *buf, size_t bytes,
317 __poll_t (*poll)(struct kernfs_open_file *of,
320 int (*mmap)(struct kernfs_open_file *of, struct vm_area_struct *vma);
321 loff_t (*llseek)(struct kernfs_open_file *of, loff_t offset, int whence);