Lines Matching refs:permission

2662 	vm_prot_t               permission,  in mach_make_memory_entry_64()  argument
2668 if ((permission & MAP_MEM_FLAGS_MASK) & ~MAP_MEM_FLAGS_USER) { in mach_make_memory_entry_64()
2676 if (permission & MAP_MEM_LEDGER_TAGGED) { in mach_make_memory_entry_64()
2682 permission, in mach_make_memory_entry_64()
2693 vm_prot_t permission, in mach_make_memory_entry_internal() argument
2718 …4K_MEMENTRY("map %p offset 0x%llx size 0x%llx prot 0x%x\n", target_map, offset, *size, permission); in mach_make_memory_entry_internal()
2722 if ((permission & MAP_MEM_FLAGS_MASK) & ~MAP_MEM_FLAGS_ALL) { in mach_make_memory_entry_internal()
2726 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, KER… in mach_make_memory_entry_internal()
2733 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, KER… in mach_make_memory_entry_internal()
2741 original_protections = permission & VM_PROT_ALL; in mach_make_memory_entry_internal()
2743 mask_protections = permission & VM_PROT_IS_MASK; in mach_make_memory_entry_internal()
2744 access = GET_MAP_MEM(permission); in mach_make_memory_entry_internal()
2745 use_data_addr = ((permission & MAP_MEM_USE_DATA_ADDR) != 0); in mach_make_memory_entry_internal()
2746 use_4K_compat = ((permission & MAP_MEM_4K_DATA_ADDR) != 0); in mach_make_memory_entry_internal()
2752 if (permission & MAP_MEM_ONLY) { in mach_make_memory_entry_internal()
2759 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, KER… in mach_make_memory_entry_internal()
2765 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, KER… in mach_make_memory_entry_internal()
2776 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, KER… in mach_make_memory_entry_internal()
2795 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, KER… in mach_make_memory_entry_internal()
2797 } else if (permission & MAP_MEM_NAMED_CREATE) { in mach_make_memory_entry_internal()
2805 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, KER… in mach_make_memory_entry_internal()
2844 if ((permission & MAP_MEM_PURGABLE) || in mach_make_memory_entry_internal()
2854 if (permission & MAP_MEM_PURGABLE) { in mach_make_memory_entry_internal()
2855 if (!(permission & VM_PROT_WRITE)) { in mach_make_memory_entry_internal()
2862 if (permission & MAP_MEM_PURGABLE_KERNEL_ONLY) { in mach_make_memory_entry_internal()
2907 ((permission & MAP_MEM_GRAB_SECLUDED) in mach_make_memory_entry_internal()
2914 if (!(permission & MAP_MEM_GRAB_SECLUDED) && in mach_make_memory_entry_internal()
2957 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, KER… in mach_make_memory_entry_internal()
2961 if (permission & MAP_MEM_VM_COPY) { in mach_make_memory_entry_internal()
2965 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, KER… in mach_make_memory_entry_internal()
2972 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, KER… in mach_make_memory_entry_internal()
2991 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, kr); in mach_make_memory_entry_internal()
3008 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, KER… in mach_make_memory_entry_internal()
3012 if ((permission & MAP_MEM_VM_SHARE) in mach_make_memory_entry_internal()
3014 || (permission & MAP_MEM_NAMED_REUSE)) { in mach_make_memory_entry_internal()
3021 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, KER… in mach_make_memory_entry_internal()
3029 if (!(permission & MAP_MEM_VM_SHARE)) { in mach_make_memory_entry_internal()
3068 if ((permission & MAP_MEM_NAMED_REUSE) && in mach_make_memory_entry_internal()
3086 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, KER… in mach_make_memory_entry_internal()
3137 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, kr); in mach_make_memory_entry_internal()
3153 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, KER… in mach_make_memory_entry_internal()
3173 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, KER… in mach_make_memory_entry_internal()
3178 if (!(permission & MAP_MEM_VM_SHARE)) { in mach_make_memory_entry_internal()
3186 if ((permission & MAP_MEM_NAMED_REUSE) && in mach_make_memory_entry_internal()
3204 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, KER… in mach_make_memory_entry_internal()
3230 if (permission & MAP_MEM_VM_SHARE) { in mach_make_memory_entry_internal()
3237 SET_MAP_MEM(GET_MAP_MEM(permission), user_entry->protection); in mach_make_memory_entry_internal()
3242 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, KER… in mach_make_memory_entry_internal()
3354 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, KER… in mach_make_memory_entry_internal()
3358 …ze 0x%llx prot 0x%x -> entry %p kr 0x%x\n", target_map, offset, *size, permission, user_entry, kr); in mach_make_memory_entry_internal()
3367 vm_prot_t permission, in _mach_make_memory_entry() argument
3376 (memory_object_offset_t)offset, permission, object_handle, in _mach_make_memory_entry()
3387 vm_prot_t permission, in mach_make_memory_entry() argument
3396 (memory_object_offset_t)offset, permission, object_handle, in mach_make_memory_entry()
3472 vm_prot_t permission, in mach_memory_object_memory_entry_64() argument
3503 user_entry->protection = permission & VM_PROT_ALL; in mach_memory_object_memory_entry_64()
3504 access = GET_MAP_MEM(permission); in mach_memory_object_memory_entry_64()
3522 vm_prot_t permission, in mach_memory_object_memory_entry() argument
3527 (vm_object_offset_t)size, permission, pager, entry_handle); in mach_memory_object_memory_entry()