Lines Matching defs:sh_buf
4154 dispatch_shared_info_t *sh_buf;
4170 sh_buf = &team->t.t_disp_buffer[idx % __kmp_dispatch_num_buffers];
4181 pr_buf->th_doacross_info[1] = (kmp_int64)&sh_buf->doacross_num_done;
4226 if (idx != sh_buf->doacross_buf_idx) {
4228 __kmp_wait_4((volatile kmp_uint32 *)&sh_buf->doacross_buf_idx, idx,
4236 (volatile kmp_int32 *)&sh_buf->doacross_flags, NULL, 1);
4239 (volatile kmp_int64 *)&sh_buf->doacross_flags, NULL, 1LL);
4247 sh_buf->doacross_flags = flags;
4251 while (*(volatile kmp_int32 *)&sh_buf->doacross_flags == 1)
4253 while (*(volatile kmp_int64 *)&sh_buf->doacross_flags == 1LL)
4260 KMP_DEBUG_ASSERT(sh_buf->doacross_flags > (kmp_uint32 *)1); // check ptr value
4262 sh_buf->doacross_flags; // save private copy in order to not
4469 dispatch_shared_info_t *sh_buf =
4472 (kmp_int64)&sh_buf->doacross_num_done);
4473 KMP_DEBUG_ASSERT(num_done == sh_buf->doacross_num_done);
4474 KMP_DEBUG_ASSERT(idx == sh_buf->doacross_buf_idx);
4475 __kmp_thread_free(th, CCAST(kmp_uint32 *, sh_buf->doacross_flags));
4476 sh_buf->doacross_flags = NULL;
4477 sh_buf->doacross_num_done = 0;
4478 sh_buf->doacross_buf_idx +=