Searched refs:coalition_hash (Results 1 – 1 of 1) sorted by relevance
| /xnu-11417.140.69/osfmk/kern/ |
| H A D | coalition.c | 98 static struct smr_hash coalition_hash; variable 990 coalition_t coal = smr_hash_entered_find(&coalition_hash, key, &coal_hash_traits); in coalition_add_to_gpu_energy() 1351 smr_hash_serialized_insert(&coalition_hash, &new_coal->link, in coalition_create_internal() 1365 if (smr_hash_serialized_should_grow(&coalition_hash, 1, 4)) { in coalition_create_internal() 1367 smr_hash_grow_and_unlock(&coalition_hash, in coalition_create_internal() 1464 return smr_hash_get(&coalition_hash, key, &coal_hash_traits); in coalition_find_by_id() 2255 smr_hash_serialized_remove(&coalition_hash, &coal->link, in coalition_reap_internal() 2257 if (smr_hash_serialized_should_shrink(&coalition_hash, in coalition_reap_internal() 2260 smr_hash_shrink_and_unlock(&coalition_hash, in coalition_reap_internal() 2307 smr_hash_init(&coalition_hash, COALITION_HASH_SIZE_MIN); in coalitions_init() [all …]
|