Lines Matching defs:hostaddrs
688 size_t first, size_t i, void **hostaddrs,
700 cur_node.host_start = (uintptr_t) hostaddrs[i];
716 if (cur_node.host_start > (uintptr_t) hostaddrs[first - 1])
890 gomp_map_val (struct target_mem_desc *tgt, void **hostaddrs, size_t i)
900 return (uintptr_t) hostaddrs[i];
909 + (uintptr_t) hostaddrs[i]
910 - (uintptr_t) hostaddrs[i + 1];
920 void **hostaddrs, void **devaddrs, size_t *sizes,
983 if (hostaddrs[i] == NULL
1007 cur_node.host_start = (uintptr_t) hostaddrs[i];
1013 hostaddrs[i]
1037 cur_node.host_start = (uintptr_t) hostaddrs[i];
1038 cur_node.host_end = (uintptr_t) hostaddrs[last]
1048 tgt_size -= (uintptr_t) hostaddrs[first] - cur_node.host_start;
1060 + (uintptr_t) hostaddrs[i],
1067 gomp_map_fields_existing (tgt, aq, n, first, i, hostaddrs,
1087 cur_node.host_start = (uintptr_t) hostaddrs[i];
1153 || *(void **) hostaddrs[j] == NULL))
1155 else if ((uintptr_t) hostaddrs[j] < cur_node.host_start
1156 || ((uintptr_t) hostaddrs[j] + sizeof (void *)
1209 else if ((uintptr_t) hostaddrs[j] < cur_node.host_start
1210 || ((uintptr_t) hostaddrs[j] + sizeof (void *)
1311 || *(void **) hostaddrs[j] == NULL))
1313 else if ((uintptr_t) hostaddrs[j] < k->host_start
1314 || ((uintptr_t) hostaddrs[j] + sizeof (void *)
1319 if (*(void **) hostaddrs[j] == NULL)
1327 (uintptr_t) *(void **) hostaddrs[j],
1328 k->tgt_offset + ((uintptr_t) hostaddrs[j]
1339 if (hostaddrs[i] == NULL)
1352 (void *) hostaddrs[i], len, false, cbufp);
1370 cur_node.host_start = (uintptr_t) hostaddrs[i];
1376 hostaddrs[i]
1397 cur_node.host_start = (uintptr_t) hostaddrs[i];
1398 cur_node.host_end = (uintptr_t) hostaddrs[last]
1406 tgt_size -= (uintptr_t) hostaddrs[first]
1407 - (uintptr_t) hostaddrs[i];
1409 tgt_size += (uintptr_t) hostaddrs[first]
1410 - (uintptr_t) hostaddrs[i];
1411 field_tgt_base = (uintptr_t) hostaddrs[first];
1416 - (uintptr_t) hostaddrs[first];
1420 gomp_map_fields_existing (tgt, aq, n, first, i, hostaddrs,
1425 cur_node.host_start = (uintptr_t) hostaddrs[i];
1437 cur_node.tgt_offset = gomp_map_val (tgt, hostaddrs, i - 1);
1461 cur_node.host_start = (uintptr_t) hostaddrs[i];
1480 (uintptr_t) hostaddrs[i], sizes[i],
1494 k->host_start = (uintptr_t) hostaddrs[i];
1615 else if ((uintptr_t) hostaddrs[j] < k->host_start
1616 || ((uintptr_t) hostaddrs[j] + sizeof (void *)
1625 tgt->list[i].has_null_ptr_assoc |= !(*(void **) hostaddrs[j]);
1635 (uintptr_t) *(void **) hostaddrs[j],
1637 + ((uintptr_t) hostaddrs[j]
1695 cur_node.tgt_offset = gomp_map_val (tgt, hostaddrs, i);
1736 void **hostaddrs, void **devaddrs, size_t *sizes, void *kinds,
1750 tgt = gomp_map_vars_internal (devicep, NULL, mapnum, hostaddrs, devaddrs,
1762 void **hostaddrs, void **devaddrs, size_t *sizes,
1766 return gomp_map_vars_internal (devicep, aq, mapnum, hostaddrs, devaddrs,
1990 gomp_update (struct gomp_device_descr *devicep, size_t mapnum, void **hostaddrs,
2013 cur_node.host_start = (uintptr_t) hostaddrs[i];
2439 gomp_target_fallback (void (*fn) (void *), void **hostaddrs,
2475 fn (hostaddrs);
2503 copy_firstprivate_data (char *tgt, size_t mapnum, void **hostaddrs,
2513 if ((kinds[i] & 0xff) == GOMP_MAP_FIRSTPRIVATE && hostaddrs[i] != NULL)
2517 memcpy (tgt + tgt_size, hostaddrs[i], sizes[i]);
2518 hostaddrs[i] = tgt + tgt_size;
2564 size_t mapnum, void **hostaddrs, size_t *sizes,
2575 return gomp_target_fallback (fn, hostaddrs, devicep, NULL);
2579 = gomp_map_vars (devicep, mapnum, hostaddrs, NULL, sizes, kinds, false,
2623 void **hostaddrs, size_t *sizes, unsigned short *kinds,
2676 gomp_create_target_task (devicep, fn, mapnum, hostaddrs,
2698 copy_firstprivate_data (tgt, mapnum, hostaddrs, sizes, kinds,
2719 copy_firstprivate_data (tgt, mapnum, hostaddrs, sizes, kinds,
2723 gomp_target_fallback (fn, hostaddrs, devicep, args);
2739 copy_firstprivate_data (tgt, mapnum, hostaddrs, sizes, kinds,
2748 tgt_vars = gomp_map_vars (devicep, mapnum, hostaddrs, NULL, sizes, kinds,
2752 tgt_vars ? (void *) tgt_vars->tgt_start : hostaddrs,
2791 void **hostaddrs, size_t *sizes, unsigned char *kinds)
2801 = gomp_map_vars (devicep, mapnum, hostaddrs, NULL, sizes, kinds, false,
2809 GOMP_target_data_ext (int device, size_t mapnum, void **hostaddrs,
2820 = gomp_map_vars (devicep, mapnum, hostaddrs, NULL, sizes, kinds, true,
2841 void **hostaddrs, size_t *sizes, unsigned char *kinds)
2850 gomp_update (devicep, mapnum, hostaddrs, sizes, kinds, false);
2854 GOMP_target_update_ext (int device, size_t mapnum, void **hostaddrs,
2876 mapnum, hostaddrs, sizes, kinds,
2929 gomp_update (devicep, mapnum, hostaddrs, sizes, kinds, true);
2934 void **hostaddrs, size_t *sizes, unsigned short *kinds,
2950 cur_node.host_start = (uintptr_t) hostaddrs[i];
2955 gomp_detach_pointer (devicep, NULL, n, (uintptr_t) hostaddrs[i],
2974 cur_node.host_start = (uintptr_t) hostaddrs[i];
3047 GOMP_target_enter_exit_data (int device, size_t mapnum, void **hostaddrs,
3069 mapnum, hostaddrs, sizes, kinds,
3131 gomp_map_vars (devicep, sizes[i] + 1, &hostaddrs[i], NULL, &sizes[i],
3142 gomp_map_vars (devicep, j-i, &hostaddrs[i], NULL, &sizes[i],
3151 gomp_map_vars (devicep, 2, &hostaddrs[i], NULL, &sizes[i], &kinds[i],
3156 gomp_map_vars (devicep, 1, &hostaddrs[i], NULL, &sizes[i], &kinds[i],
3159 gomp_exit_data (devicep, mapnum, hostaddrs, sizes, kinds, &refcount_set);
3178 gomp_target_fallback (ttask->fn, ttask->hostaddrs, devicep,
3194 actual_arguments = ttask->hostaddrs;
3198 ttask->tgt = gomp_map_vars (devicep, ttask->mapnum, ttask->hostaddrs,
3217 gomp_update (devicep, ttask->mapnum, ttask->hostaddrs, ttask->sizes,
3226 gomp_map_vars (devicep, ttask->sizes[i] + 1, &ttask->hostaddrs[i],
3232 gomp_map_vars (devicep, 1, &ttask->hostaddrs[i], NULL, &ttask->sizes[i],
3236 gomp_exit_data (devicep, ttask->mapnum, ttask->hostaddrs, ttask->sizes,