Lines Matching refs:this_thr
1893 void *___kmp_fast_allocate(kmp_info_t *this_thr, size_t size KMP_SRC_LOC_DECL) { in ___kmp_fast_allocate() argument
1903 __kmp_gtid_from_thread(this_thr), (int)size KMP_SRC_LOC_PARM)); in ___kmp_fast_allocate()
1924 ptr = this_thr->th.th_free_lists[index].th_free_list_self; in ___kmp_fast_allocate()
1927 this_thr->th.th_free_lists[index].th_free_list_self = *((void **)ptr); in ___kmp_fast_allocate()
1929 this_thr == in ___kmp_fast_allocate()
1934 ptr = TCR_SYNC_PTR(this_thr->th.th_free_lists[index].th_free_list_sync); in ___kmp_fast_allocate()
1940 &this_thr->th.th_free_lists[index].th_free_list_sync, ptr, nullptr)) { in ___kmp_fast_allocate()
1942 ptr = TCR_SYNC_PTR(this_thr->th.th_free_lists[index].th_free_list_sync); in ___kmp_fast_allocate()
1946 this_thr->th.th_free_lists[index].th_free_list_self = *((void **)ptr); in ___kmp_fast_allocate()
1948 this_thr == in ___kmp_fast_allocate()
1961 __kmp_gtid_from_thread(this_thr), alloc_size)); in ___kmp_fast_allocate()
1962 alloc_ptr = bget(this_thr, (bufsize)alloc_size); in ___kmp_fast_allocate()
1972 descr->ptr_aligned = (void *)this_thr; // remember allocating thread in ___kmp_fast_allocate()
1979 __kmp_gtid_from_thread(this_thr), ptr)); in ___kmp_fast_allocate()
1985 void ___kmp_fast_free(kmp_info_t *this_thr, void *ptr KMP_SRC_LOC_DECL) { in ___kmp_fast_free() argument
1993 __kmp_gtid_from_thread(this_thr), ptr KMP_SRC_LOC_PARM)); in ___kmp_fast_free()
2018 if (alloc_thr == this_thr) { in ___kmp_fast_free()
2020 *((void **)ptr) = this_thr->th.th_free_lists[index].th_free_list_self; in ___kmp_fast_free()
2021 this_thr->th.th_free_lists[index].th_free_list_self = ptr; in ___kmp_fast_free()
2023 void *head = this_thr->th.th_free_lists[index].th_free_list_other; in ___kmp_fast_free()
2026 this_thr->th.th_free_lists[index].th_free_list_other = ptr; in ___kmp_fast_free()
2041 this_thr->th.th_free_lists[index].th_free_list_other = ptr; in ___kmp_fast_free()
2075 this_thr->th.th_free_lists[index].th_free_list_other = ptr; in ___kmp_fast_free()
2085 __kmp_gtid_from_thread(this_thr), size)); in ___kmp_fast_free()
2086 __kmp_bget_dequeue(this_thr); /* Release any queued buffers */ in ___kmp_fast_free()
2087 brel(this_thr, descr->ptr_allocated); in ___kmp_fast_free()
2096 void __kmp_initialize_fast_memory(kmp_info_t *this_thr) { in __kmp_initialize_fast_memory() argument
2097 KE_TRACE(10, ("__kmp_initialize_fast_memory: Called from th %p\n", this_thr)); in __kmp_initialize_fast_memory()
2099 memset(this_thr->th.th_free_lists, 0, NUM_LISTS * sizeof(kmp_free_list_t)); in __kmp_initialize_fast_memory()