Searched refs:host_prot (Results 1 – 1 of 1) sorted by relevance
56 int host_prot; in ff_mmap() local68 host_prot = 0; in ff_mmap()69 if ((prot & ff_PROT_READ) == ff_PROT_READ) host_prot |= PROT_READ; in ff_mmap()70 if ((prot & ff_PROT_WRITE) == ff_PROT_WRITE) host_prot |= PROT_WRITE; in ff_mmap()77 void *ret = (mmap(addr, len, host_prot, host_flags, fd, offset)); in ff_mmap()