Home
last modified time | relevance | path

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

/xnu-8020.140.41/osfmk/vm/
H A Dvm_kern.c491 uint16_t type_hash = guard.kmg_type_hash; in kmem_apply_security_policy() local
503 assert(type_hash != 0); in kmem_apply_security_policy()
514 } else if (type_hash) { in kmem_apply_security_policy()
515 range_id = type_hash & KMEM_RANGE_MASK; in kmem_apply_security_policy()
516 direction = type_hash & KMEM_DIRECTION_MASK; in kmem_apply_security_policy()
519 type_hash = (uint16_t) kmem_hash_backtrace(__builtin_frame_address(0)); in kmem_apply_security_policy()
524 range_id = kmem_adjust_range_id(type_hash); in kmem_apply_security_policy()
525 direction = type_hash & KMEM_DIRECTION_MASK; in kmem_apply_security_policy()
/xnu-8020.140.41/osfmk/kern/
H A Dkalloc.c1850 kalloc_guard(vm_tag_t tag, uint16_t type_hash, const void *owner) in kalloc_guard() argument
1855 .kmg_type_hash = type_hash, in kalloc_guard()