Home
last modified time | relevance | path

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

/xnu-12377.41.6/osfmk/vm/
H A Dvm_kern_internal.h101 uint16_t *shuffle_buf,
H A Dvm_kern.c3923 uint16_t *shuffle_buf, in kmem_shuffle() argument
3929 shuffle_buf[i] = shuffle_buf[j]; in kmem_shuffle()
3931 shuffle_buf[j] = i; in kmem_shuffle()
3939 uint16_t shuffle_buf[KMEM_MAX_CLAIMS] = {}; in kmem_shuffle_claims() local
3942 kmem_shuffle(&shuffle_buf[0], limit); in kmem_shuffle_claims()
3945 kmem_claims[i] = kmem_claims[shuffle_buf[i]]; in kmem_shuffle_claims()
3946 kmem_claims[shuffle_buf[i]] = tmp; in kmem_shuffle_claims()
/xnu-12377.41.6/osfmk/kern/
H A Dkalloc.c1759 uint16_t *shuffle_buf = NULL; in kalloc_type_distribute_zone_for_type() local
1768 shuffle_buf = &kt_skip_list[count + 1]; in kalloc_type_distribute_zone_for_type()
1804 kmem_shuffle(shuffle_buf, n_zones); in kalloc_type_distribute_zone_for_type()
1807 shuffled_zidx = shuffle_buf[zidx]; in kalloc_type_distribute_zone_for_type()
2011 uint16_t *shuffle_buf; in kalloc_type_view_init_var() local
2053 shuffle_buf = (uint16_t *)(kt_skip_list_start + unique_sig + 1); in kalloc_type_view_init_var()
2062 kmem_shuffle(shuffle_buf, flex_heap_count); in kalloc_type_view_init_var()
2068 shuffle_buf[flex_heap_count] = split_heap; in kalloc_type_view_init_var()
2072 uint32_t heap_id = shuffle_buf[i % (flex_heap_count + 1)] + in kalloc_type_view_init_var()