Lines Matching refs:mmap
74 #include <sys/mman.h> /* for mmap(2) */
95 #define MEM_MMAP 4 /* mmap(2) */
2887 * mmap read/write
2916 mrc = mmap(NULL, (int)sbuf.st_size,
2921 doio_fprintf(stderr, "mmap() failed - 0x%lx %d\n",
3042 {"mmap-read", MMAPR,
3045 {"mmap-write", MMAPW,
4030 /*printf("alloc_mem, about to mmap, fd=%d, name=(%s)\n", M->fd, M->name);*/
4031 if ((M->space = mmap(addr, M->size,
4036 "alloc_mem: mmap error. errno %d (%s)\n\tmmap(addr 0x%x, size %d, read|write 0x%x, mmap flags 0x%x [%#o], fd %d, 0)\n\tfile %s\n",
5217 * mmap:flags:filename:blksize[:nblks]
5229 * mmap:flags:devzero
5230 * mmap /dev/zero (shared not allowd)
5266 } else if (!strcmp(allocargs[0], "mmap")) {
5267 /* mmap:flags:filename[:size] */
5357 mt = "mmap";
5491 fprintf(stream, "\t mmap:flags:filename\n");