Lines Matching defs:refcount_set
471 If REFCOUNT_SET != NULL, use it to track already seen refcounts, and only
477 gomp_increment_refcount (splay_tree_key k, htab_t *refcount_set)
491 if (refcount_set)
493 if (htab_find (*refcount_set, refcount_ptr))
495 uintptr_t **slot = htab_find_slot (refcount_set, refcount_ptr, INSERT);
504 is true, set reference count to zero. If REFCOUNT_SET != NULL, use it to
522 gomp_decrement_refcount (splay_tree_key k, htab_t *refcount_set, bool delete_p,
546 if (refcount_set)
548 if (htab_find (*refcount_set, refcount_ptr))
554 uintptr_t **slot = htab_find_slot (refcount_set, refcount_ptr, INSERT);
559 /* If no refcount_set being used, assume all keys are being decremented
591 htab_t *refcount_set)
657 gomp_increment_refcount (oldn, refcount_set);
737 struct gomp_coalesce_buf *cbuf, htab_t *refcount_set)
758 refcount_set);
775 refcount_set);
788 refcount_set);
980 htab_t *refcount_set,
1128 sizes, kinds, NULL, refcount_set);
1228 NULL, refcount_set);
1385 gomp_increment_refcount (k, refcount_set);
1527 sizes, kinds, cbufp, refcount_set);
1628 gomp_increment_refcount (n, refcount_set);
1640 cbufp, refcount_set);
1696 gomp_increment_refcount (k, refcount_set);
1771 gomp_increment_refcount (k, refcount_set);
1882 bool short_mapkind, htab_t *refcount_set,
1885 /* This management of a local refcount_set is for convenience of callers
1886 who do not share a refcount_set over multiple map/unmap uses. */
1888 if (refcount_set == NULL)
1891 refcount_set = &local_refcount_set;
1896 sizes, kinds, short_mapkind, refcount_set,
2034 htab_t *refcount_set, struct goacc_asyncqueue *aq)
2078 gomp_decrement_refcount (k, refcount_set, false, &do_copy, &do_remove);
2110 htab_t *refcount_set)
2112 /* This management of a local refcount_set is for convenience of callers
2113 who do not share a refcount_set over multiple map/unmap uses. */
2115 if (refcount_set == NULL)
2118 refcount_set = &local_refcount_set;
2121 gomp_unmap_vars_internal (tgt, do_copyfrom, refcount_set, NULL);
2944 htab_t refcount_set = htab_create (mapnum);
2947 &refcount_set, GOMP_MAP_VARS_TARGET);
2950 htab_clear (refcount_set);
2951 gomp_unmap_vars (tgt_vars, true, &refcount_set);
2952 htab_free (refcount_set);
3249 htab_t refcount_set = NULL;
3268 refcount_set = htab_create (mapnum);
3270 true, &refcount_set, GOMP_MAP_VARS_TARGET);
3277 htab_clear (refcount_set);
3278 gomp_unmap_vars (tgt_vars, true, &refcount_set);
3280 if (refcount_set)
3281 htab_free (refcount_set);
4025 htab_t *refcount_set)
4076 gomp_decrement_refcount (k, refcount_set, delete_p, &do_copy,
4212 htab_t refcount_set = htab_create (mapnum);
4223 &kinds[i], true, &refcount_set,
4234 &kinds[i], true, &refcount_set,
4246 true, &refcount_set, GOMP_MAP_VARS_ENTER_DATA);
4251 true, &refcount_set, GOMP_MAP_VARS_ENTER_DATA);
4253 gomp_exit_data (devicep, mapnum, hostaddrs, sizes, kinds, &refcount_set);
4254 htab_free (refcount_set);
4315 htab_t refcount_set = htab_create (ttask->mapnum);
4323 &refcount_set, GOMP_MAP_VARS_ENTER_DATA);
4328 &ttask->kinds[i], true, &refcount_set,
4332 ttask->kinds, &refcount_set);
4333 htab_free (refcount_set);