Lines Matching defs:kernfs_ops
280 struct kernfs_ops { struct
285 int (*open)(struct kernfs_open_file *of);
286 void (*release)(struct kernfs_open_file *of);
299 int (*seq_show)(struct seq_file *sf, void *v);
301 void *(*seq_start)(struct seq_file *sf, loff_t *ppos);
302 void *(*seq_next)(struct seq_file *sf, void *v, loff_t *ppos);
303 void (*seq_stop)(struct seq_file *sf, void *v);
305 ssize_t (*read)(struct kernfs_open_file *of, char *buf, size_t bytes,
315 size_t atomic_write_len;
322 bool prealloc;
323 ssize_t (*write)(struct kernfs_open_file *of, char *buf, size_t bytes,
326 __poll_t (*poll)(struct kernfs_open_file *of,
329 int (*mmap)(struct kernfs_open_file *of, struct vm_area_struct *vma);
330 loff_t (*llseek)(struct kernfs_open_file *of, loff_t offset, int whence);