Searched refs:SHM_SIZE (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_runtime.cpp | 58 #define SHM_SIZE 1024 macro 6788 if (ftruncate(fd1, SHM_SIZE) == -1) { // error occured setting size; in __kmp_register_library_startup() 6794 data1 = (char *)mmap(0, SHM_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, in __kmp_register_library_startup() 6803 KMP_STRCPY_S(data1, SHM_SIZE, __kmp_registration_str); in __kmp_register_library_startup() 6807 munmap(data1, SHM_SIZE); in __kmp_register_library_startup() 6837 if (ftruncate(fd1, SHM_SIZE) == -1) { // error occured setting size; in __kmp_register_library_startup() 6843 data1 = (char *)mmap(0, SHM_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, in __kmp_register_library_startup() 6852 KMP_STRCPY_S(data1, SHM_SIZE, __kmp_registration_str); in __kmp_register_library_startup() 6856 munmap(data1, SHM_SIZE); in __kmp_register_library_startup() 6969 char *data1 = (char *)mmap(0, SHM_SIZE, PROT_READ, MAP_SHARED, fd1, 0); in __kmp_unregister_library() [all …]
|