Home
last modified time | relevance | path

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

/xnu-11417.140.69/osfmk/vm/
H A Dvm_kern_internal.h101 uint16_t *shuffle_buf,
H A Dvm_kern.c3769 uint16_t *shuffle_buf, in kmem_shuffle() argument
3775 shuffle_buf[i] = shuffle_buf[j]; in kmem_shuffle()
3777 shuffle_buf[j] = i; in kmem_shuffle()
3785 uint16_t shuffle_buf[KMEM_MAX_CLAIMS] = {}; in kmem_shuffle_claims() local
3788 kmem_shuffle(&shuffle_buf[0], limit); in kmem_shuffle_claims()
3791 kmem_claims[i] = kmem_claims[shuffle_buf[i]]; in kmem_shuffle_claims()
3792 kmem_claims[shuffle_buf[i]] = tmp; in kmem_shuffle_claims()
/xnu-11417.140.69/osfmk/kern/
H A Dkalloc.c1654 uint16_t *shuffle_buf = NULL; in kalloc_type_distribute_zone_for_type() local
1663 shuffle_buf = &kt_skip_list[count + 1]; in kalloc_type_distribute_zone_for_type()
1699 kmem_shuffle(shuffle_buf, n_zones); in kalloc_type_distribute_zone_for_type()
1702 shuffled_zidx = shuffle_buf[zidx]; in kalloc_type_distribute_zone_for_type()
1906 uint16_t *shuffle_buf; in kalloc_type_view_init_var() local
1948 shuffle_buf = (uint16_t *)(kt_skip_list_start + unique_sig + 1); in kalloc_type_view_init_var()
1957 kmem_shuffle(shuffle_buf, flex_heap_count); in kalloc_type_view_init_var()
1963 shuffle_buf[flex_heap_count] = split_heap; in kalloc_type_view_init_var()
1967 uint32_t heap_id = shuffle_buf[i % (flex_heap_count + 1)] + in kalloc_type_view_init_var()