Home
last modified time | relevance | path

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

/xnu-11417.140.69/osfmk/vm/
H A Dvm_kern.c699 uint16_t type_hash = guard.kmg_type_hash; in kmem_apply_security_policy() local
710 assert(type_hash != 0); in kmem_apply_security_policy()
724 } else if (type_hash) { in kmem_apply_security_policy()
725 range_id = (kmem_range_id_t)(type_hash & KMEM_RANGE_MASK); in kmem_apply_security_policy()
726 from_right = type_hash & KMEM_DIRECTION_MASK; in kmem_apply_security_policy()
731 type_hash = (uint16_t) kmem_hash_backtrace(__builtin_frame_address(0)); in kmem_apply_security_policy()
732 range_id = kmem_adjust_range_id(type_hash); in kmem_apply_security_policy()
733 from_right = type_hash & KMEM_DIRECTION_MASK; in kmem_apply_security_policy()
/xnu-11417.140.69/osfmk/kern/
H A Dkalloc.c2050 kalloc_guard(vm_tag_t tag, uint16_t type_hash, const void *owner) in kalloc_guard() argument
2055 .kmg_type_hash = type_hash, in kalloc_guard()