search for: proc_vmi_info_open

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

2007 Apr 18
1
[RFC, PATCH 21/24] i386 Vmi proc node
...ct: %s\n", + (char *)vmi_rom+h->product_offset); + } + } + time_hypercall(); + seq_printf(m, "Hypercall cycle count: %lld\n", hypercall_cycles); + time_page_fault(); + seq_printf(m, "Kernel #PF cycle count: %lld\n", page_fault_cycles); + + return 0; +} + +static int proc_vmi_info_open(struct inode *inode, struct file *file) +{ + return single_open(file, proc_vmi_info_show, NULL); +} + +static struct file_operations proc_vmi_info_operations = { + .open = proc_vmi_info_open, + .read = seq_read, + .llseek = seq_lseek, + .release = single_release, +}; + +#define VDEF(call) #call...
2007 Apr 18
1
[RFC, PATCH 21/24] i386 Vmi proc node
...ct: %s\n", + (char *)vmi_rom+h->product_offset); + } + } + time_hypercall(); + seq_printf(m, "Hypercall cycle count: %lld\n", hypercall_cycles); + time_page_fault(); + seq_printf(m, "Kernel #PF cycle count: %lld\n", page_fault_cycles); + + return 0; +} + +static int proc_vmi_info_open(struct inode *inode, struct file *file) +{ + return single_open(file, proc_vmi_info_show, NULL); +} + +static struct file_operations proc_vmi_info_operations = { + .open = proc_vmi_info_open, + .read = seq_read, + .llseek = seq_lseek, + .release = single_release, +}; + +#define VDEF(call) #call...