Home
last modified time | relevance | path

Searched refs:MAP_FAILED (Results 1 – 25 of 89) sorted by relevance

1234

/glibc-2.36/posix/
Dtst-mmap.c45 if (ptr != MAP_FAILED) in do_test()
58 if (ptr != MAP_FAILED) in do_test()
71 if (ptr != MAP_FAILED) in do_test()
84 if (ptr != MAP_FAILED) in do_test()
101 if (ptr != MAP_FAILED) in do_test()
114 if (ptr != MAP_FAILED) in do_test()
127 if (ptr != MAP_FAILED) in do_test()
140 if (ptr != MAP_FAILED) in do_test()
157 if (ptr == MAP_FAILED) in do_test()
177 if (ptr == MAP_FAILED) in do_test()
Dtst-mmap-offset.c69 if (MAP_FAILED == addr) in do_test_bz18877()
96 if ((addr != MAP_FAILED) && (errno != EINVAL)) in do_test_large_offset()
101 if (addr == MAP_FAILED) in do_test_large_offset()
Dtst-fnmatch3.c32 if (pattern == MAP_FAILED) return 1; in do_bz18036()
/glibc-2.36/elf/
Ddl-map-segments.h41 if (__glibc_unlikely ((void *) map_start == MAP_FAILED)) in ElfW()
49 if (__glibc_unlikely ((void *) map_start_aligned == MAP_FAILED)) in ElfW()
102 if (__glibc_unlikely ((void *) l->l_map_start == MAP_FAILED)) in _dl_map_segments()
143 == MAP_FAILED)) in _dl_map_segments()
189 if (__glibc_unlikely (mapat == MAP_FAILED)) in _dl_map_segments()
Ddl-cache.c419 if (file != MAP_FAILED && cachesize > sizeof *cache_new in _dl_load_cache_lookup()
434 else if (file != MAP_FAILED && cachesize > sizeof *cache in _dl_load_cache_lookup()
469 if (file != MAP_FAILED) in _dl_load_cache_lookup()
Ddl-fptr.c86 if (new_table == MAP_FAILED) in new_fdesc_table()
190 if (fptr_table == MAP_FAILED) in ElfW()
/glibc-2.36/support/
Dblob_repeat.c156 if (target == MAP_FAILED) in allocate_big()
188 if (ptr == MAP_FAILED) in allocate_big()
206 if (ptr == MAP_FAILED) in allocate_big()
232 if (ptr == MAP_FAILED) in allocate_big()
Dxmmap.c27 if (result == MAP_FAILED) in xmmap()
Dsupport_record_failure.c49 if (ptr == MAP_FAILED) in init()
/glibc-2.36/sysdeps/pthread/
Dsem_open.c164 fd, 0)) != MAP_FAILED) in __sem_open()
201 if (MAP_FAILED != (void *) SEM_FAILED && result == MAP_FAILED) in __sem_open()
Dsem_routines.c120 if (existing != MAP_FAILED in __sem_check_add_mapping()
135 if (result != existing && existing != SEM_FAILED && existing != MAP_FAILED) in __sem_check_add_mapping()
Dtst-basic7.c39 if (c == MAP_FAILED) in use_up_memory()
/glibc-2.36/malloc/
Darena.c505 p2 = MAP_FAILED; in alloc_new_heap()
510 if (p2 != MAP_FAILED && ((unsigned long) p2 & (max_size - 1))) in alloc_new_heap()
513 p2 = MAP_FAILED; in alloc_new_heap()
516 if (p2 == MAP_FAILED) in alloc_new_heap()
519 if (p1 != MAP_FAILED) in alloc_new_heap()
535 if (p2 == MAP_FAILED) in alloc_new_heap()
625 MAP_FIXED) == (char *) MAP_FAILED) in shrink_heap()
/glibc-2.36/misc/
Dtst-syscalls.c49 if (p == MAP_FAILED) in allocate()
140 if (p == MAP_FAILED) in do_test()
Dmmap.c35 return MAP_FAILED; in __mmap()
Dmmap64.c41 return MAP_FAILED; in __mmap64()
/glibc-2.36/locale/programs/
Dlocale.c484 if (mapped != MAP_FAILED) in write_locales()
499 != MAP_FAILED)) in write_locales()
643 char *addr = MAP_FAILED; in write_archive_locales()
656 if (addr == MAP_FAILED) in write_archive_locales()
721 if (addr != MAP_FAILED) in write_archive_locales()
/glibc-2.36/string/
Dtest-string.h201 if (buf1 == MAP_FAILED) in test_init()
207 if (buf2 == MAP_FAILED) in test_init()
Dtest-memmove.c257 if (large_buf == MAP_FAILED) in do_test2()
323 if (buf == MAP_FAILED) in do_test3()
368 if (buf == MAP_FAILED) in do_test4()
/glibc-2.36/locale/
Dloadarchive.c228 if (result == MAP_FAILED) in _nl_load_locale_from_archive()
247 if (result == MAP_FAILED) in _nl_load_locale_from_archive()
419 if (addr == MAP_FAILED) in _nl_load_locale_from_archive()
/glibc-2.36/sysdeps/mach/hurd/
Dmmap64.c42 return MAP_FAILED; in __mmap64()
/glibc-2.36/sysdeps/posix/
Dpwritev_common.c60 if (__glibc_unlikely (buffer == MAP_FAILED)) in PWRITEV()
Dpreadv_common.c60 if (__glibc_unlikely (buffer == MAP_FAILED)) in PREADV()
/glibc-2.36/nss/nss_db/
Ddb-open.c49 if (mapping->header != MAP_FAILED) in internal_setent()
/glibc-2.36/crypt/
Dbadsalttest.c49 if (page == MAP_FAILED) in do_test()

1234