Lines Matching defs:kernfs_ops
218 struct kernfs_ops { struct
223 int (*open)(struct kernfs_open_file *of);
224 void (*release)(struct kernfs_open_file *of);
237 int (*seq_show)(struct seq_file *sf, void *v);
239 void *(*seq_start)(struct seq_file *sf, loff_t *ppos);
240 void *(*seq_next)(struct seq_file *sf, void *v, loff_t *ppos);
241 void (*seq_stop)(struct seq_file *sf, void *v);
243 ssize_t (*read)(struct kernfs_open_file *of, char *buf, size_t bytes,
253 size_t atomic_write_len;
260 bool prealloc;
261 ssize_t (*write)(struct kernfs_open_file *of, char *buf, size_t bytes,
264 int (*mmap)(struct kernfs_open_file *of, struct vm_area_struct *vma);
267 struct lock_class_key lockdep_key;