Home
last modified time | relevance | path

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

/xnu-12377.1.9/osfmk/vm/
H A Dvm_kern.c708 uint16_t type_hash = guard.kmg_type_hash; in kmem_apply_security_policy() local
719 assert(type_hash != 0); in kmem_apply_security_policy()
742 } else if (type_hash) { in kmem_apply_security_policy()
743 range_id = (kmem_range_id_t)(type_hash & KMEM_RANGE_MASK); in kmem_apply_security_policy()
744 from_right = type_hash & KMEM_DIRECTION_MASK; in kmem_apply_security_policy()
749 type_hash = (uint16_t) kmem_hash_backtrace(__builtin_frame_address(0)); in kmem_apply_security_policy()
750 range_id = kmem_adjust_range_id(type_hash); in kmem_apply_security_policy()
751 from_right = type_hash & KMEM_DIRECTION_MASK; in kmem_apply_security_policy()
/xnu-12377.1.9/osfmk/kern/
H A Dkalloc.c2152 kalloc_guard(vm_tag_t tag, uint16_t type_hash, const void *owner) in kalloc_guard() argument
2157 .kmg_type_hash = type_hash, in kalloc_guard()