Searched defs:mmap (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/sys/common/sparc/
H A Dmmap.s32 * 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/lib/libc/common/sys/
H A Dmmap.s30 .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/libast/amd64/include/ast/
H A Dast_fcntl.h129 #define mmap mmap64 macro
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/
H A Dast_fcntl.h108 #define mmap mmap64 macro
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dast_fcntl.h129 #define mmap mmap64 macro
/illumos-gate/usr/src/lib/libast/i386/src/lib/libast/
H A Dast_fcntl.h108 #define mmap mmap64 macro
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dast_fcntl.h129 #define mmap mmap64 macro
/illumos-gate/usr/src/lib/libast/sparc/src/lib/libast/
H A Dast_fcntl.h108 #define mmap mmap64 macro
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dast_fcntl.h129 #define mmap mmap64 macro
/illumos-gate/usr/src/lib/libast/sparcv9/src/lib/libast/
H A Dast_fcntl.h108 #define mmap mmap64 macro
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dkernel.c136 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...]
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmmopen.c44 #define mmap(a,b,c,d,e,f) MAP_FAILED macro
48 /* Create a region to allocate based on mmap()
81 Mmvm_t* mm; /* mmap data */
114 base = (Void_t*)mmap(mm->base, mm->size, PROT_READ|PROT_WRITE,
128 base = (Void_t*)mmap(addr, (size_t)size, PROT_READ|PROT_WRITE,
194 caddr = (Void_t*)mmap(caddr, csize, PROT_READ|PROT_WRITE,
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dmultiboot.c238 multiboot_memory_map_t *mmap; local
358 mmap = (multiboot_memory_map_t *)PTOV(mb_malloc(sizeof(*mmap) * num));
360 mb_info->mmap_length = num * sizeof(*mmap);
364 mmap[i].size = sizeof(*smap);
365 mmap[i].addr = smap[i].base;
366 mmap[i].len = smap[i].length;
367 mmap[i].type = smap[i].type;
369 mb_info->mmap_addr = VTOP(mmap);
/illumos-gate/usr/src/uts/common/sys/
H A Dmman.h83 /* 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/lib/madv/common/
H A Dmadv.c722 * mmap interpose
725 mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos) function
732 mmapfunc = (caddr_t (*)()) dlsym(RTLD_NEXT, "mmap");
753 * Apply advice if specified and mmap succeeded.
762 "mmap advice: 0x%x 0x%x %d, rc %d errno %d\n",
806 * Apply advice if specified and mmap succeeded.
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dmultiboot2.c689 EFI_MEMORY_DESCRIPTOR *mmap; local
695 mmap = malloc(cur_size);
696 if (mmap == NULL)
698 ret = BS->GetMemoryMap(&cur_size, mmap, NULL, &desc_size, NULL);
699 free(mmap);
/illumos-gate/usr/src/uts/i86pc/dboot/
H A Ddboot_startkern.c145 int num_entries; /* mmap entry count */
146 boolean_t num_entries_set; /* is mmap entry count set */
685 mb_memory_map_t *mmap; local
695 mmap_addr += mmap->size + sizeof (mmap->size)) {
696 mmap = (mb_memory_map_t *)(uintptr_t)mmap_addr;

Completed in 168 milliseconds