Home
last modified time | relevance | path

Searched refs:mmap (Results 1 – 25 of 180) sorted by relevance

12345678

/glibc-2.36/posix/
Dtst-mmap.c44 ptr = mmap (NULL, 1000, PROT_READ, MAP_SHARED, fd, ps - 1); in do_test()
70 ptr = mmap (NULL, 1000, PROT_READ, MAP_PRIVATE, fd, ps - 1); in do_test()
100 ptr = mmap (mem + 1, 1000, PROT_READ, MAP_SHARED | MAP_FIXED, fd, ps); in do_test()
126 ptr = mmap (mem + 1, 1000, PROT_READ, MAP_PRIVATE | MAP_FIXED, fd, ps); in do_test()
156 ptr = mmap (NULL, 1000, PROT_READ, MAP_SHARED, fd, ps); in do_test()
Dtst-fnmatch3.c30 char *pattern = mmap (0, 2 * pagesize, PROT_READ|PROT_WRITE, in do_bz18036()
Dtst-mmap-offset.c68 addr = mmap (NULL, length, prot, flags, fd, offset); in do_test_bz18877()
/glibc-2.36/misc/sys/
Dmman.h57 extern void *mmap (void *__addr, size_t __len, int __prot,
61 extern void * __REDIRECT_NTH (mmap,
66 # define mmap mmap64
/glibc-2.36/libio/
DMakefile57 tst-mmap-setvbuf bug-ungetwc1 bug-ungetwc2 tst-atime tst-eof \
59 tst-mmap-eofsync tst-mmap-fflushsync bug-mmap-fflush \
60 tst-mmap2-eofsync tst-mmap-offend bug-fopena+ bug-wfflush \
/glibc-2.36/support/
Dblob_repeat.c154 void *target = mmap (NULL, total_size, PROT_NONE, in allocate_big()
186 void *ptr = mmap (target, stride_size, PROT_READ | PROT_WRITE, in allocate_big()
204 ptr = mmap (target, stride_size, PROT_NONE, in allocate_big()
230 void *ptr = mmap (current, to_map, PROT_READ | PROT_WRITE, in allocate_big()
Dxmmap.c26 void *result = mmap (addr, length, prot, flags, fd, 0); in xmmap()
Dsupport_record_failure.c47 void *ptr = mmap (NULL, sizeof (*state), PROT_READ | PROT_WRITE, in init()
/glibc-2.36/misc/
Dmmap.c38 stub_warning (mmap)
39 weak_alias (__mmap, mmap)
Dtst-syscalls.c47 void *p = mmap (0x0, bytes, PROT_READ | PROT_WRITE, in allocate()
73 return mmap (addr, length, PROT_READ | PROT_WRITE, in do_mmap()
DMakefile66 mmap mmap64 munmap mprotect msync madvise mincore remap_file_pages\
154 CFLAGS-mmap.o = $(no-stack-protector)
155 CFLAGS-mmap.op = $(no-stack-protector)
/glibc-2.36/sysdeps/unix/sysv/linux/
Dmmap.c45 return (void *) MMAP_CALL (mmap, addr, len, prot, flags, fd, in __mmap()
49 weak_alias (__mmap, mmap)
Dmmap64.c58 return (void *) MMAP_CALL (mmap, addr, len, prot, flags, fd, offset); in __mmap64()
65 weak_alias (__mmap64, mmap)
Ddl-early_allocate.c73 ret = MMAP_CALL_INTERNAL (mmap, 0, size, prot, flags, -1, 0); in _dl_early_allocate()
/glibc-2.36/crypt/
Dbadsalttest.c47 page = mmap (NULL, pagesize * 2, PROT_READ | PROT_WRITE, in do_test()
56 if (mmap (page + pagesize, pagesize, 0, in do_test()
/glibc-2.36/sysdeps/pthread/
Dtst-cond12.c67 } *p = mmap (NULL, sizeof (*p), PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in do_test()
136 p = mmap (NULL, sizeof (*p), PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in do_test()
Dtst-basic7.c38 c = mmap (NULL, PAGESIZE, PROT_NONE, MAP_ANON | MAP_PRIVATE, -1, 0); in use_up_memory()
Dtst-sem3.c61 mem = mmap (NULL, ps, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in do_test()
/glibc-2.36/sysdeps/unix/
Dsyscalls.list42 mmap - mmap b:aUiiii __mmap mmap
/glibc-2.36/sysdeps/s390/s390-64/
Dconfigure.ac56 # - "s390/mmap: increase stack/mmap gap to 128MB"
90 # sbrk syscall by falling back to mmap.
Dconfigure85 # - "s390/mmap: increase stack/mmap gap to 128MB"
119 # sbrk syscall by falling back to mmap.
/glibc-2.36/string/
Dtest-string.h199 buf1 = mmap (0, (BUF1PAGES + 1) * page_size, PROT_READ | PROT_WRITE, in test_init()
205 buf2 = mmap (0, 2 * page_size, PROT_READ | PROT_WRITE, in test_init()
Dtest-memmove.c254 large_buf = mmap ((void*) 0x70000000, size, PROT_READ | PROT_WRITE, in do_test2()
320 buf = mmap (NULL, size, PROT_READ | PROT_WRITE, in do_test3()
365 buf = mmap(NULL, size, PROT_READ | PROT_WRITE, in do_test4()
/glibc-2.36/nss/nss_db/
Ddb-open.c46 mapping->header = mmap (NULL, header.allocate, PROT_READ, in internal_setent()
/glibc-2.36/elf/
Dtst-unique1.c40 mmap (NULL, 1024 * 1024 * 16, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in do_test()

12345678