Lines Matching defs:global
94 ck_hp_recycle(struct ck_hp *global)
100 if (ck_pr_load_uint(&global->n_free) == 0)
103 CK_STACK_FOREACH(&global->subscribers, entry) {
110 ck_pr_dec_uint(&global->n_free);
129 ck_pr_inc_uint(&entry->global->n_free);
140 entry->global = state;
190 ck_hp_member_cache(struct ck_hp *global, void **cache, unsigned int *n_hazards)
198 CK_STACK_FOREACH(&global->subscribers, entry) {
206 for (i = 0; i < global->degree; i++) {
224 struct ck_hp *global = thread->global;
231 marker = ck_hp_member_cache(global, cache, &n_hazards);
249 ck_hp_member_scan(marker, global->degree, hazard->pointer)) {
263 global->destroy(hazard->data);
294 struct ck_hp *global;
296 global = ck_pr_load_ptr(&thread->global);
305 if (thread->n_pending >= global->threshold)