Searched defs:kernfs_ops (Results 1 – 4 of 4) sorted by relevance
| /kernel/linux/linux-6.6/include/linux/ |
| D | kernfs.h | 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; [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | kernfs.h | 217 struct kernfs_ops { struct 222 int (*open)(struct kernfs_open_file *of); 223 void (*release)(struct kernfs_open_file *of); 236 int (*seq_show)(struct seq_file *sf, void *v); 238 void *(*seq_start)(struct seq_file *sf, loff_t *ppos); 239 void *(*seq_next)(struct seq_file *sf, void *v, loff_t *ppos); 240 void (*seq_stop)(struct seq_file *sf, void *v); 242 ssize_t (*read)(struct kernfs_open_file *of, char *buf, size_t bytes, 252 size_t atomic_write_len; 259 bool prealloc; [all …]
|
| /kernel/linux/linux-5.10/fs/kernfs/ |
| D | file.c | 64 static const struct kernfs_ops *kernfs_ops(struct kernfs_node *kn) in kernfs_ops() function
|
| /kernel/linux/linux-6.6/fs/kernfs/ |
| D | file.c | 106 static const struct kernfs_ops *kernfs_ops(struct kernfs_node *kn) in kernfs_ops() function
|