static struct file_operations mem_fops = { |
llseek: | memory_lseek, |
read: | read_mem, |
write: | write_mem, |
mmap: | mmap_mem, |
open: | open_mem, |
}; |
|
static struct file_operations kmem_fops = { |
llseek: | memory_lseek, |
read: | read_kmem, |
write: | write_kmem, |
mmap: | mmap_kmem, |
open: | open_kmem, |
}; |
|
static struct file_operations null_fops = { |
llseek: | null_lseek, |
read: | read_null, |
write: | write_null, |
}; |
|
#if !defined(__mc68000__) |
static struct file_operations port_fops = { |
llseek: | memory_lseek, |
read: | read_port, |
write: | write_port, |
open: | open_port, |
}; |
#endif |
|
static struct file_operations zero_fops = { |
llseek: | zero_lseek, |
read: | read_zero, |
write: | write_zero, |
mmap: | mmap_zero, |
}; |
|
static struct file_operations full_fops = { |
llseek: | full_lseek, |
read: | read_full, |
write: | write_full, |
}; |