Lines Matching refs:mmap
27 } mmap; member
73 ret = map(&hvc->mm->context.id, op->u.mmap.addr, in do_ops()
74 op->u.mmap.len, op->u.mmap.prot, in do_ops()
75 op->u.mmap.fd, in do_ops()
76 op->u.mmap.offset, finished, in do_ops()
79 map_memory(op->u.mmap.addr, op->u.mmap.offset, in do_ops()
80 op->u.mmap.len, 1, 1, 1); in do_ops()
135 (last->u.mmap.addr + last->u.mmap.len == virt) && in add_mmap()
136 (last->u.mmap.prot == prot) && (last->u.mmap.fd == fd) && in add_mmap()
137 (last->u.mmap.offset + last->u.mmap.len == offset)) { in add_mmap()
138 last->u.mmap.len += len; in add_mmap()
150 .u = { .mmap = { .addr = virt, in add_mmap()
168 (last->u.munmap.addr + last->u.mmap.len == addr)) { in add_munmap()