Searched refs:mmap (Results 1 - 25 of 65) sorted by relevance

123

/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/demo/dtrace/
H A Dbegin.d39 syscall::mmap:entry
41 printf("mmap with prot = %s", prot[arg2 & 0x7]);
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/syscall/
H A Dtst.args.d35 syscall::mmap*:entry
/vbox/src/recompiler/tests/
H A Dtest-mmap.c2 * Small test program to verify simulated mmap behaviour.
75 p1 = mmap(NULL, len, PROT_READ,
77 p2 = mmap(NULL, len, PROT_READ,
79 p3 = mmap(NULL, len, PROT_READ,
81 p4 = mmap(NULL, len, PROT_READ,
83 p5 = mmap(NULL, len, PROT_READ,
130 p1 = mmap(NULL, len, PROT_READ,
157 p1 = mmap(NULL, pagesize, PROT_READ,
164 p2 = mmap(NULL, pagesize, PROT_READ,
174 p3 = mmap(NUL
[all...]
H A DMakefile53 .PHONY: test-mmap
54 test-mmap: test-mmap.c
56 -./test-mmap
57 -$(QEMU) ./test-mmap
58 -$(QEMU) -p 8192 ./test-mmap 8192
59 -$(QEMU) -p 16384 ./test-mmap 16384
60 -$(QEMU) -p 32768 ./test-mmap 32768
H A Druncom.c84 vm86_mem = mmap((void *)0x00000000, 0x110000,
88 perror("mmap");
/vbox/src/VBox/Runtime/r3/posix/
H A Dallocex-r3-posix.cpp55 void *pv = mmap((void *)uAddr, cbAlloc, fProt, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
78 void *pv = mmap(NULL, cbAlloc, fProt, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
88 void *pv = mmap(NULL, cbAlloc, fProt, MAP_PRIVATE | MAP_ANONYMOUS | MAP_32BIT, -1, 0);
98 * /proc/curproc/mmap right now... */
H A Drtmempage-exec-mmap-posix.cpp3 * IPRT - RTMemPage*, POSIX with mmap only.
69 void *pv = mmap(NULL, cb,
H A Drtmempage-exec-mmap-heap-posix.cpp56 /** Threshold at which to we switch to simply calling mmap. */
150 * A quick mmap/munmap mockup for avoid duplicating lots of good code.
160 # undef mmap macro
161 # define mmap iprt_mmap macro
165 static void *mmap(void *pvWhere, size_t cb, int fProt, int fFlags, int fd, off_t off) function
404 pvPages = mmap(NULL, RTMEMPAGEPOSIX_BLOCK_SIZE,
656 * If the allocation is relatively large, we use mmap/munmap directly.
662 pv = mmap(NULL, cb,
708 * If the allocation is relatively large, we use mmap/munmap directly.
/vbox/src/VBox/Additions/linux/drm/
H A Dvboxvideo_drm.c94 * nothing sensible to mmap. But we play safe and keep it for
96 .mmap = drm_mmap,
125 .mmap = drm_mmap,
H A Dvbox_drv.c102 .mmap = vbox_mmap,
/vbox/src/libs/xpcom18a4/nsprpub/lib/msgc/src/
H A Dunixgc.c66 * Disable using mmap(2) if NSPR_NO_MMAP is set
93 addr = mmap(lastaddr, size, PROT_READ|PROT_WRITE|PROT_EXEC,
123 addr = mmap(base + oldSize, allocSize, PROT_READ|PROT_WRITE|PROT_EXEC,
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libctf/common/
H A Dctf_subr.c45 return (mmap(NULL, size, PROT_READ | PROT_WRITE,
/vbox/src/VBox/GuestHost/OpenGL/util/
H A Dtimer.c64 (volatile iotimer64_t *)mmap(0, poffmask, PROT_READ,
72 t->iotimer_addr32 = (volatile iotimer32_t *)mmap(0, poffmask, PROT_READ,
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/cmd/badioctl/
H A Dbadioctl.c69 if ((addr = mmap(0, ps, PROT_READ | PROT_WRITE,
71 fatal("mmap");
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/libWine/
H A Dmmap.c95 * the Linux mmap() routine if a non-NULL address is passed,
152 result = mmap( addr, len, prot, flags | MAP_FIXED, fildes, off );
176 * anonymous memory at the specified address, and then use mmap with
186 if (mmap( (void *)result, len, prot, flags | MAP_FIXED, fildes, off ) != MAP_FAILED)
207 /* Linux EINVAL's on us if we don't pass MAP_PRIVATE to an anon mmap */
225 return mmap( start, size, prot, flags, get_fdzero(), 0 );
232 * mmap wrapper used for reservations, only maps the specified address
244 ptr = mmap( addr, size, PROT_NONE, flags, get_fdzero(), 0 );
272 if (i && mmap( addr, i, PROT_NONE, MAP_FIXED | MAP_PRIVATE | MAP_ANON | MAP_NORESERVE,
303 * Solaris malloc is not smart enough to obtain space through mmap(), s
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/util/
H A Deinfo.c79 if ( ( start = mmap ( NULL, len, PROT_READ, MAP_SHARED,
81 eprintf ( "Cannot mmap \"%s\": %s\n",
H A Diccfix.c89 /* Open and mmap file */
103 elf = mmap ( NULL, stat.st_size, ( PROT_READ | PROT_WRITE ),
/vbox/src/VBox/HostDrivers/Support/linux/
H A DSUPLib-linux.cpp89 void *pv = mmap(NULL, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
219 char *pvPages = (char *)mmap(NULL, cbMmap, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
240 * area struct of the very same size as the mmap area.
/vbox/src/VBox/Additions/common/VBoxService/
H A DVBoxServiceBalloon.cpp65 void *pv = (void*)mmap(NULL, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
88 pu8 = (char*)mmap(NULL, cb, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
107 * area struct of the very same size as the mmap area.
/vbox/src/VBox/HostDrivers/Support/solaris/
H A DSUPLib-solaris.cpp216 *ppvPages = mmap(NULL, cPages * PAGE_SIZE, PROT_EXEC | PROT_READ | PROT_WRITE,
/vbox/src/libs/libxml2-2.6.31/
H A DtestRelax.c96 base = mmap(NULL, info.st_size, PROT_READ,
H A DtestSchemas.c92 base = mmap(NULL, info.st_size, PROT_READ,
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/
H A Dnextstep.c55 mmap(caddr_t addr, size_t len, int prot, int flags, function
103 mach_error("Error calling map_fd() in mmap", ret_val );
115 mach_error("vm_protect in mmap()", ret_val );
/vbox/src/bldprogs/
H A Dpreload.cpp98 void *pvWhere = mmap(NULL /*addr*/, cbFile, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, 0 /*offset*/);
100 printf("error: mmap(,%lu,)/'%s': %d\n", (unsigned long)cbFile, pszImage, errno);
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.16.0/
H A Dxf86_OSlib.h122 #include <sys/mmap.h> /* MMAP driver header */

Completed in 2444 milliseconds

123