search for: proc_vmi_annotations_open

Displaying 2 results from an estimated 2 matches for "proc_vmi_annotations_open".

2007 Apr 18
1
[RFC, PATCH 21/24] i386 Vmi proc node
...tic int proc_vmi_annotations_show(struct seq_file *m, void *v) +{ + struct vmi_annotation *start = __vmi_annotation; + struct vmi_annotation *end = __vmi_annotation_end; + struct vmi_annotation *a; + + for (a = start; a < end; a++) { + print_annotation(m, a); + } + return 0; +} + +static int proc_vmi_annotations_open(struct inode *inode, struct file *file) +{ + return single_open(file, proc_vmi_annotations_show, NULL); +} + +static struct file_operations proc_vmi_annotations_operations = { + .open = proc_vmi_annotations_open, + .read = seq_read, + .llseek = seq_lseek, + .release = single_release, +}; + +stat...
2007 Apr 18
1
[RFC, PATCH 21/24] i386 Vmi proc node
...tic int proc_vmi_annotations_show(struct seq_file *m, void *v) +{ + struct vmi_annotation *start = __vmi_annotation; + struct vmi_annotation *end = __vmi_annotation_end; + struct vmi_annotation *a; + + for (a = start; a < end; a++) { + print_annotation(m, a); + } + return 0; +} + +static int proc_vmi_annotations_open(struct inode *inode, struct file *file) +{ + return single_open(file, proc_vmi_annotations_show, NULL); +} + +static struct file_operations proc_vmi_annotations_operations = { + .open = proc_vmi_annotations_open, + .read = seq_read, + .llseek = seq_lseek, + .release = single_release, +}; + +stat...