Home
last modified time | relevance | path

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

/xnu-12377.41.6/osfmk/vm/
H A Dvm_kern.c716 uint16_t type_hash = guard.kmg_type_hash; in kmem_apply_security_policy() local
727 assert(type_hash != 0); in kmem_apply_security_policy()
750 } else if (type_hash) { in kmem_apply_security_policy()
751 range_id = (kmem_range_id_t)(type_hash & KMEM_RANGE_MASK); in kmem_apply_security_policy()
752 from_right = type_hash & KMEM_DIRECTION_MASK; in kmem_apply_security_policy()
757 type_hash = (uint16_t) kmem_hash_backtrace(__builtin_frame_address(0)); in kmem_apply_security_policy()
758 range_id = kmem_adjust_range_id(type_hash); in kmem_apply_security_policy()
759 from_right = type_hash & KMEM_DIRECTION_MASK; in kmem_apply_security_policy()
/xnu-12377.41.6/osfmk/kern/
H A Dkalloc.c2155 kalloc_guard(vm_tag_t tag, uint16_t type_hash, const void *owner) in kalloc_guard() argument
2160 .kmg_type_hash = type_hash, in kalloc_guard()