Lines Matching refs:h_memkind
1225 static void *h_memkind; variable
1257 h_memkind = dlopen(kmp_mk_lib_name, RTLD_LAZY); in __kmp_init_memkind()
1258 if (h_memkind) { in __kmp_init_memkind()
1259 kmp_mk_check = (int (*)(void *))dlsym(h_memkind, "memkind_check_available"); in __kmp_init_memkind()
1261 (void *(*)(void *, size_t))dlsym(h_memkind, "memkind_malloc"); in __kmp_init_memkind()
1262 kmp_mk_free = (void (*)(void *, void *))dlsym(h_memkind, "memkind_free"); in __kmp_init_memkind()
1263 mk_default = (void **)dlsym(h_memkind, "MEMKIND_DEFAULT"); in __kmp_init_memkind()
1267 mk_interleave = (void **)dlsym(h_memkind, "MEMKIND_INTERLEAVE"); in __kmp_init_memkind()
1269 mk_hbw = (void **)dlsym(h_memkind, "MEMKIND_HBW"); in __kmp_init_memkind()
1271 mk_hbw_interleave = (void **)dlsym(h_memkind, "MEMKIND_HBW_INTERLEAVE"); in __kmp_init_memkind()
1273 mk_hbw_preferred = (void **)dlsym(h_memkind, "MEMKIND_HBW_PREFERRED"); in __kmp_init_memkind()
1275 mk_hugetlb = (void **)dlsym(h_memkind, "MEMKIND_HUGETLB"); in __kmp_init_memkind()
1277 mk_hbw_hugetlb = (void **)dlsym(h_memkind, "MEMKIND_HBW_HUGETLB"); in __kmp_init_memkind()
1280 (void **)dlsym(h_memkind, "MEMKIND_HBW_PREFERRED_HUGETLB"); in __kmp_init_memkind()
1285 dlclose(h_memkind); // failure in __kmp_init_memkind()
1286 h_memkind = NULL; in __kmp_init_memkind()
1301 h_memkind = NULL; in __kmp_init_memkind()
1320 if (h_memkind) { in __kmp_fini_memkind()
1321 dlclose(h_memkind); in __kmp_fini_memkind()
1322 h_memkind = NULL; in __kmp_fini_memkind()