/illumos-gate/usr/src/uts/common/os/ |
H A D | grow.c | 553 if (flags & MAP_FIXED) { in choose_addr() 587 if ((flags & MAP_FIXED) != 0) { in zmap() 638 #define RANDOMIZABLE_MAPPING(addr, flags) (((flags & MAP_FIXED) == 0) && \ 651 if ((flags & ~(MAP_SHARED | MAP_PRIVATE | MAP_FIXED | _MAP_NEW | in smmap_common() 666 if ((flags & (MAP_FIXED | _MAP_RANDOMIZE)) == in smmap_common() 667 (MAP_FIXED | _MAP_RANDOMIZE)) { in smmap_common() 687 flags |= MAP_FIXED; in smmap_common() 697 if (flags & MAP_FIXED) in smmap_common() 719 if ((flags & MAP_FIXED) && curproc->p_lcp != NULL) in smmap_common() 773 if ((flags & MAP_FIXED) != 0) { in smmap_common() [all …]
|
H A D | mmapobj.c | 956 ma_flags |= MAP_FIXED; in mmapobj_map_flat() 1026 uint_t mflag = MAP_PRIVATE | MAP_FIXED; in mmapobj_map_ptload()
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | vmem_mmap.c | 51 mmap(ret, size, ALLOC_PROT, ALLOC_FLAGS | MAP_FIXED, -1, 0) == in vmem_mmap_alloc() 69 (void) mmap(addr, size, FREE_PROT, FREE_FLAGS | MAP_FIXED, -1, 0); in vmem_mmap_free()
|
/illumos-gate/usr/src/cmd/sgs/0@0/common/ |
H A D | 0@0.c | 48 (void) mmap(0, 1, PROT_READ, MAP_PRIVATE|MAP_FIXED, fd, 0); in __zero_at_zero()
|
/illumos-gate/usr/src/test/zfs-tests/cmd/mmapwrite/ |
H A D | mmapwrite.c | 57 MAP_SHARED|MAP_FIXED, fd, 0) == MAP_FAILED) { in mapper()
|
/illumos-gate/usr/src/cmd/sgs/libcrle/common/ |
H A D | dump.c | 319 (MAP_FIXED | MAP_PRIVATE), fd, 0) == MAP_FAILED) { in filladdr() 339 (MAP_FIXED | MAP_PRIVATE), fd, 0) == MAP_FAILED) { in filladdr()
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | posix_memalign.c | 72 PROT_READ, MAP_ANON | MAP_FIXED | MAP_PRIVATE, -1, 0), in main()
|
H A D | aligned_alloc.c | 144 PROT_READ, MAP_ANON | MAP_FIXED | MAP_PRIVATE, -1, 0), in libc_enomem()
|
/illumos-gate/usr/src/lib/libc/i386/crt/ |
H A D | _rtld.c | 274 MAP_FIXED | MAP_PRIVATE, ldfd, foff) == (caddr_t)-1) in __rtld() 296 MAP_FIXED | MAP_PRIVATE, dzfd, in __rtld()
|
/illumos-gate/usr/src/lib/libc/sparc/crt/ |
H A D | _rtld.c | 274 MAP_FIXED | MAP_PRIVATE, ldfd, foff) == (caddr_t)-1) in __rtld() 297 MAP_FIXED | MAP_PRIVATE, dzfd, in __rtld()
|
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_segmap.c | 121 if ((flags & MAP_FIXED) == 0) { in gfxp_ddi_segmap_setup()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | mman.h | 95 #define MAP_FIXED 0x10 /* user assigns address */ macro
|
/illumos-gate/usr/src/lib/libcmdutils/common/ |
H A D | writefile.c | 180 MAP_FIXED, fi, offset) == MAP_FAILED) { in writefile()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | mmap | 74 (MAP_PRIVATE|MAP_FIXED), fd, 0); 98 (MAP_PRIVATE | (mm ? MAP_FIXED : MAP_VARIABLE)),
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | copyf.c | 386 cp = mmap(cp, mapsize, PROT_READ, (MAP_SHARED|MAP_FIXED), in copyFile()
|
/illumos-gate/usr/src/uts/i86xpv/io/ |
H A D | privcmd.c | 316 if ((flags & MAP_FIXED) == 0) { in privcmd_segmap()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | smbios.c | 184 if (len <= 0 || (flags & MAP_FIXED)) in smb_segmap()
|
H A D | ksyms.c | 344 if (flags & MAP_FIXED) in ksyms_segmap()
|
/illumos-gate/usr/src/cmd/cat/ |
H A D | cat.c | 422 MAP_SHARED|MAP_FIXED, fi_desc, in cat()
|
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/ |
H A D | sys_mman_h.cfg | 40 value | MAP_FIXED | int | sys/mman.h | +ALL
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | config_elf.c | 412 MAP_FIXED | MAP_PRIVATE) == MAP_FAILED)) in elf_config()
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | vfpops.c | 281 MAP_PRIVATE|MAP_FIXED, fileno(fp), (off_t)0); in vfpOpen()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/ |
H A D | vmmopen.c | 143 (MAP_FIXED|MAP_SHARED), fd, (off_t)0 ); in mmfix()
|
/illumos-gate/usr/src/lib/libvmm/ |
H A D | libvmm.c | 265 PROT_READ | prot_write, MAP_SHARED | MAP_FIXED, in vmm_map()
|
/illumos-gate/usr/src/lib/libvmmapi/common/ |
H A D | vmmapi.c | 523 flags = MAP_SHARED | MAP_FIXED; in setup_memory_segment() 759 flags = MAP_SHARED | MAP_FIXED; in vm_create_devmem()
|