Home
last modified time | relevance | path

Searched refs:MAP_FIXED (Results 1 – 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/uts/common/os/
H A Dgrow.c553 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 Dmmapobj.c956 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 Dvmem_mmap.c51 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 D0@0.c48 (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 Dmmapwrite.c57 MAP_SHARED|MAP_FIXED, fd, 0) == MAP_FAILED) { in mapper()
/illumos-gate/usr/src/cmd/sgs/libcrle/common/
H A Ddump.c319 (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 Dposix_memalign.c72 PROT_READ, MAP_ANON | MAP_FIXED | MAP_PRIVATE, -1, 0), in main()
H A Daligned_alloc.c144 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.c274 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.c274 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 Dgfxp_segmap.c121 if ((flags & MAP_FIXED) == 0) { in gfxp_ddi_segmap_setup()
/illumos-gate/usr/src/uts/common/sys/
H A Dmman.h95 #define MAP_FIXED 0x10 /* user assigns address */ macro
/illumos-gate/usr/src/lib/libcmdutils/common/
H A Dwritefile.c180 MAP_FIXED, fi, offset) == MAP_FAILED) { in writefile()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dmmap74 (MAP_PRIVATE|MAP_FIXED), fd, 0);
98 (MAP_PRIVATE | (mm ? MAP_FIXED : MAP_VARIABLE)),
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dcopyf.c386 cp = mmap(cp, mapsize, PROT_READ, (MAP_SHARED|MAP_FIXED), in copyFile()
/illumos-gate/usr/src/uts/i86xpv/io/
H A Dprivcmd.c316 if ((flags & MAP_FIXED) == 0) { in privcmd_segmap()
/illumos-gate/usr/src/uts/common/io/
H A Dsmbios.c184 if (len <= 0 || (flags & MAP_FIXED)) in smb_segmap()
H A Dksyms.c344 if (flags & MAP_FIXED) in ksyms_segmap()
/illumos-gate/usr/src/cmd/cat/
H A Dcat.c422 MAP_SHARED|MAP_FIXED, fi_desc, in cat()
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/
H A Dsys_mman_h.cfg40 value | MAP_FIXED | int | sys/mman.h | +ALL
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dconfig_elf.c412 MAP_FIXED | MAP_PRIVATE) == MAP_FAILED)) in elf_config()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dvfpops.c281 MAP_PRIVATE|MAP_FIXED, fileno(fp), (off_t)0); in vfpOpen()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/
H A Dvmmopen.c143 (MAP_FIXED|MAP_SHARED), fd, (off_t)0 ); in mmfix()
/illumos-gate/usr/src/lib/libvmm/
H A Dlibvmm.c265 PROT_READ | prot_write, MAP_SHARED | MAP_FIXED, in vmm_map()
/illumos-gate/usr/src/lib/libvmmapi/common/
H A Dvmmapi.c523 flags = MAP_SHARED | MAP_FIXED; in setup_memory_segment()
759 flags = MAP_SHARED | MAP_FIXED; in vm_create_devmem()

12