Searched defs:kernfs_ops (Results 1 – 2 of 2) sorted by relevance
/linux-4.4.14/include/linux/ |
D | kernfs.h | 189 struct kernfs_ops { struct 201 int (*seq_show)(struct seq_file *sf, void *v); 203 void *(*seq_start)(struct seq_file *sf, loff_t *ppos); 204 void *(*seq_next)(struct seq_file *sf, void *v, loff_t *ppos); 205 void (*seq_stop)(struct seq_file *sf, void *v); 207 ssize_t (*read)(struct kernfs_open_file *of, char *buf, size_t bytes, 217 size_t atomic_write_len; 224 bool prealloc; 225 ssize_t (*write)(struct kernfs_open_file *of, char *buf, size_t bytes, 228 int (*mmap)(struct kernfs_open_file *of, struct vm_area_struct *vma); [all …]
|
/linux-4.4.14/fs/kernfs/ |
D | file.c | 64 static const struct kernfs_ops *kernfs_ops(struct kernfs_node *kn) in kernfs_ops() function
|