RELAY_MMAP_BUF

Section: relay interface support (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

relay_mmap_buf - mmap channel buffer to process address space  

SYNOPSIS

int relay_mmap_buf(struct rchan_buf * buf, struct vm_area_struct * vma);
 

ARGUMENTS

buf

relay channel buffer

vma

vm_area_struct describing memory to be mapped
 

DESCRIPTION

Returns 0 if ok, negative on error

Caller should already have grabbed mmap_sem.  

COPYRIGHT