Home
last modified time | relevance | path

Searched refs:lock_table (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_lock.h1251 kmp_indirect_lock_table_t *lock_table = &__kmp_i_lock_table; in __kmp_get_i_lock()
1252 while (lock_table) { in __kmp_get_i_lock()
1253 kmp_lock_index_t max_locks = lock_table->nrow_ptrs * KMP_I_LOCK_CHUNK; in __kmp_get_i_lock()
1257 if (!lock_table->table[row] || idx >= lock_table->next)
1259 return &lock_table->table[row][col];
1262 lock_table = lock_table->next_table;
1241 kmp_indirect_lock_table_t *lock_table = &__kmp_i_lock_table; __kmp_get_i_lock() local
H A Dkmp_lock.cpp3138 kmp_indirect_lock_table_t *lock_table = &__kmp_i_lock_table; in __kmp_allocate_indirect_lock() local
3142 table_idx = lock_table->next; // index within this table in __kmp_allocate_indirect_lock()
3143 idx += lock_table->next; // global index within list of tables in __kmp_allocate_indirect_lock()
3144 if (table_idx < lock_table->nrow_ptrs * KMP_I_LOCK_CHUNK) { in __kmp_allocate_indirect_lock()
3148 if (!lock_table->table[row]) { in __kmp_allocate_indirect_lock()
3149 lock_table->table[row] = (kmp_indirect_lock_t *)__kmp_allocate( in __kmp_allocate_indirect_lock()
3155 if (!lock_table->next_table) { in __kmp_allocate_indirect_lock()
3160 sizeof(kmp_indirect_lock_t *) * 2 * lock_table->nrow_ptrs); in __kmp_allocate_indirect_lock()
3161 next_table->nrow_ptrs = 2 * lock_table->nrow_ptrs; in __kmp_allocate_indirect_lock()
3164 lock_table in __kmp_allocate_indirect_lock()
[all...]
H A Dkmp_omp.h80 addr_and_size_t lock_table; // Pointer to __kmp_lock_table. member