TwiceAsNice
2019-02-18
|
#include "main.h"
Functions | |
static int | _check_overlap (u32 offset, u32 size, const dev_pid_t *pid) |
static void | _mmap_close (struct vm_area_struct *vma) |
static void | _mmap_open (struct vm_area_struct *vma) |
int | mmap (struct file *filp, struct vm_area_struct *vma) |
int | mmap_mem_compute_settings (dev_data_t *dev, dev_pid_t *pid, dev_mem_t *mem) |
void | mmap_nopage_common (struct vm_area_struct *vma, unsigned long address, struct page **pg) |
void | mmap_setup (void) |
|
static |
|
static |
int mmap | ( | struct file * | filp, |
struct vm_area_struct * | vma | ||
) |
int mmap_mem_compute_settings | ( | dev_data_t * | dev, |
dev_pid_t * | pid, | ||
dev_mem_t * | mem | ||
) |
void mmap_nopage_common | ( | struct vm_area_struct * | vma, |
unsigned long | address, | ||
struct page ** | pg | ||
) |
void mmap_setup | ( | void | ) |