/illumos-gate/usr/src/lib/libc/common/sys/ |
H A D | mmap.s | 30 .file "mmap.s" 35 ANSI_PRAGMA_WEAK(mmap,function) 46 * C library -- mmap 47 * caddr_t mmap(caddr_t addr, size_t len, int prot, 51 ENTRY(mmap) function 57 SYSTRAP_RVAL1(mmap) 60 SET_SIZE(mmap)
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/sparc/ |
H A D | mmap.s | 32 * Interface to mmap introduced in 4.0. Incorporates flag telling 33 * system to use 4.0 interface to mmap. 41 ENTRY(mmap) function 49 SET_SIZE(mmap)
|
/illumos-gate/usr/src/cmd/dtrace/demo/dtrace/ |
H A D | begin.d | 39 syscall::mmap:entry 41 printf("mmap with prot = %s", prot[arg2 & 0x7]);
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/syscall/ |
H A D | tst.args.d | 35 syscall::mmap*:entry
|
/illumos-gate/usr/src/grub/grub-0.97/docs/ |
H A D | kernel.c | 136 memory_map_t *mmap; local 140 for (mmap = (memory_map_t *) mbi->mmap_addr; 141 (unsigned long) mmap < mbi->mmap_addr + mbi->mmap_length; 142 mmap = (memory_map_t *) ((unsigned long) mmap 143 + mmap->size + sizeof (mmap->size))) 146 (unsigned) mmap->size, 147 (unsigned) mmap->base_addr_high, 148 (unsigned) mmap [all...] |
H A D | kernel.c.texi | 136 memory_map_t *mmap; 140 for (mmap = (memory_map_t *) mbi->mmap_addr; 141 (unsigned long) mmap < mbi->mmap_addr + mbi->mmap_length; 142 mmap = (memory_map_t *) ((unsigned long) mmap 143 + mmap->size + sizeof (mmap->size))) 146 (unsigned) mmap->size, 147 (unsigned) mmap->base_addr_high, 148 (unsigned) mmap [all...] |
/illumos-gate/usr/src/cmd/sgs/0@0/common/ |
H A D | 0@0.c | 50 (void) mmap(0, 1, PROT_READ, MAP_PRIVATE|MAP_FIXED, fd, 0);
|
/illumos-gate/usr/src/lib/libbc/csu/common/ |
H A D | alloc_pbuf.c | 41 buf = (char*) mmap(0, size, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0);
|
/illumos-gate/usr/src/test/zfs-tests/cmd/mmapwrite/ |
H A D | mmapwrite.c | 51 mmap(0, 8192, PROT_READ, MAP_SHARED, fd, 0)) == MAP_FAILED) { 52 perror("mmap"); 56 if (mmap(addr, 8192, PROT_READ, 58 perror("mmap");
|
/illumos-gate/usr/src/test/os-tests/tests/secflags/ |
H A D | addrs.c | 17 if ((mapping = mmap((caddr_t)0, 10, (PROT_READ | PROT_WRITE),
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | vmem_mmap.c | 53 mmap(ret, size, ALLOC_PROT, ALLOC_FLAGS | MAP_FIXED, -1, 0) == 71 (void) mmap(addr, size, FREE_PROT, FREE_FLAGS | MAP_FIXED, -1, 0); 92 buf = mmap((void *)CHUNKSIZE, size, FREE_PROT, FREE_FLAGS | MAP_ALIGN,
|
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | mman.h | 52 /* other flags to mmap (or-ed in to MAP_SHARED or MAP_PRIVATE) */ 62 * new mmap calls. Previous binaries with old mmap calls with continue 63 * to get 0 or -1 for return values. New mmap calls will get the mapped 65 * new mmap calls automatically have the kernel assign the map address 74 * Except for old binaries mmap() will return the resultant 77 extern caddr_t mmap();
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/exec/ |
H A D | mmap_exec.c | 64 if (mmap(0, statbuf.st_size, 66 perror("mmap");
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mmap/ |
H A D | Makefile | 19 TESTDIR = $(ROOTOPTPKG)/tests/functional/mmap
|
/illumos-gate/usr/src/test/libc-tests/tests/random/ |
H A D | inz_inval.c | 42 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE, 72 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE, 90 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); 99 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
|
H A D | getentropy.c | 57 addr = mmap(NULL, 4096, PROT_READ, MAP_PRIVATE | MAP_ANON, -1, 0);
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_subr.c | 37 return (mmap(NULL, size, PROT_READ | PROT_WRITE,
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | output.c | 44 * On SVR4 and newer systems use mmap(2). On older systems (or on 45 * file systems that don't support mmap), use write(2). 60 (p = mmap((char *)0, sz, PROT_READ+PROT_WRITE, 69 * If mmap fails, try calloc. Some file systems don't mmap. Note, we
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/ |
H A D | Makefile | 47 mmap \
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | aligned_alloc.c | 58 VERIFY3P(mmap((caddr_t)P2ROUNDUP(status.pr_brkbase +
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | mman.h | 83 /* other flags to mmap (or-ed in to MAP_SHARED or MAP_PRIVATE) */ 121 * new mmap calls. Previous binaries with old mmap calls will continue 122 * to get 0 or -1 for return values. New mmap calls will get the mapped 124 * new mmap calls automatically have the kernel assign the map address 205 #pragma redefine_extname mmap mmap64 207 #define mmap mmap64 macro 213 #pragma redefine_extname mmap64 mmap 215 #define mmap64 mmap 226 * Except for old binaries mmap() wil [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_context.c | 77 c->ctx_stack = mmap(NULL, c->ctx_stacksize, prot, 81 * If the mmap failed with EBADFD, this kernel doesn't have MAP_ANON 83 * that to mmap chunks of anonymous memory. 90 c->ctx_stack = mmap(NULL, c->ctx_stacksize, prot,
|
/illumos-gate/usr/src/uts/i86pc/dboot/ |
H A D | dboot_startkern.c | 628 mmap_t *mmap; local 644 for (mmap = mem, i = 0; i < num; ++i, ++mmap) { 645 start = ((uint64_t)mmap->base_addr_high << 32) + 646 mmap->base_addr_low; 647 end = start + ((uint64_t)mmap->length_high << 32) + 648 mmap->length_low; 652 PRIx64 "\n", mmap->type, start, end); 1079 mb_memory_map_t *mmap; local 1129 for (mmap [all...] |
/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | prb_shmem.c | 63 smp = (shmem_msg_t *) mmap(0, sizeof (struct shmem_msg), 67 DBG((void) fprintf(stderr, "couldn't mmap \"/dev/zero\""));
|
/illumos-gate/usr/src/lib/libmtmalloc/tests/ |
H A D | exhaust.c | 65 stacks[ncpus] = mmap(0, 1<<23, PROT_READ|PROT_WRITE,
|