Displaying 2 results from an estimated 2 matches for "proc_vmi_init".
2007 Apr 18
1
[RFC, PATCH 21/24] i386 Vmi proc node
...*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,
+};
+
+static int __init proc_vmi_init(void)
+{
+ struct proc_dir_entry *e;
+
+ proc_vmi_root = proc_mkdir("vmi", NULL);
+ if (proc_vmi_root) {
+ e = create_proc_entry("info", 0, proc_vmi_root);
+ if (e)
+ e->proc_fops = &proc_vmi_info_operations;
+ e = create_proc_entry("annotations", 0, proc_v...
2007 Apr 18
1
[RFC, PATCH 21/24] i386 Vmi proc node
...*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,
+};
+
+static int __init proc_vmi_init(void)
+{
+ struct proc_dir_entry *e;
+
+ proc_vmi_root = proc_mkdir("vmi", NULL);
+ if (proc_vmi_root) {
+ e = create_proc_entry("info", 0, proc_vmi_root);
+ if (e)
+ e->proc_fops = &proc_vmi_info_operations;
+ e = create_proc_entry("annotations", 0, proc_v...