Home
last modified time | relevance | path

Searched refs:newarray (Results 1 – 1 of 1) sorted by relevance

/xnu-8796.141.3/osfmk/kern/
H A Dsmr.c836 struct smrq_slist_head *newarray, *oldarray; in __smr_hash_shrink_and_unlock() local
851 newarray = smr_hash_alloc_array(newsize); in __smr_hash_shrink_and_unlock()
852 if (newarray == NULL) { in __smr_hash_shrink_and_unlock()
865 newarray[i] = oldarray[i]; in __smr_hash_shrink_and_unlock()
866 smrq_serialized_append(&newarray[i], &oldarray[i + newsize]); in __smr_hash_shrink_and_unlock()
873 smr_hash_array_encode(newarray, neworder), release); in __smr_hash_shrink_and_unlock()
895 struct smrq_slist_head *newarray, *oldarray; in __smr_hash_grow_and_unlock() local
910 newarray = smr_hash_alloc_array(newsize); in __smr_hash_grow_and_unlock()
911 if (newarray == NULL) { in __smr_hash_grow_and_unlock()
919 smr_hash_free_array(newarray, newsize); in __smr_hash_grow_and_unlock()
[all …]