Lines Matching refs:permission

2591 	vm_prot_t               permission,  in mach_make_memory_entry_64()  argument
2597 if ((permission & MAP_MEM_FLAGS_MASK) & ~MAP_MEM_FLAGS_USER) { in mach_make_memory_entry_64()
2605 if (permission & MAP_MEM_LEDGER_TAGGED) { in mach_make_memory_entry_64()
2611 permission, in mach_make_memory_entry_64()
2622 vm_prot_t permission, in mach_make_memory_entry_internal() argument
2648 …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()
2652 if ((permission & MAP_MEM_FLAGS_MASK) & ~MAP_MEM_FLAGS_ALL) { in mach_make_memory_entry_internal()
2656 …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()
2663 …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()
2667 original_protections = permission & VM_PROT_ALL; in mach_make_memory_entry_internal()
2669 mask_protections = permission & VM_PROT_IS_MASK; in mach_make_memory_entry_internal()
2670 access = GET_MAP_MEM(permission); in mach_make_memory_entry_internal()
2671 use_data_addr = ((permission & MAP_MEM_USE_DATA_ADDR) != 0); in mach_make_memory_entry_internal()
2672 use_4K_compat = ((permission & MAP_MEM_4K_DATA_ADDR) != 0); in mach_make_memory_entry_internal()
2679 if (permission & MAP_MEM_ONLY) { in mach_make_memory_entry_internal()
2686 …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()
2692 …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()
2703 …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()
2722 …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()
2724 } else if (permission & MAP_MEM_NAMED_CREATE) { in mach_make_memory_entry_internal()
2732 …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()
2744 …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()
2777 if ((permission & MAP_MEM_PURGABLE) || in mach_make_memory_entry_internal()
2787 if (permission & MAP_MEM_PURGABLE) { in mach_make_memory_entry_internal()
2788 if (!(permission & VM_PROT_WRITE)) { in mach_make_memory_entry_internal()
2795 if (permission & MAP_MEM_PURGABLE_KERNEL_ONLY) { in mach_make_memory_entry_internal()
2840 ((permission & MAP_MEM_GRAB_SECLUDED) in mach_make_memory_entry_internal()
2847 if (!(permission & MAP_MEM_GRAB_SECLUDED) && in mach_make_memory_entry_internal()
2894 …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()
2898 if (permission & MAP_MEM_VM_COPY) { in mach_make_memory_entry_internal()
2902 …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()
2909 …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()
2928 …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()
2936 …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()
2952 …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()
2956 if ((permission & MAP_MEM_VM_SHARE) in mach_make_memory_entry_internal()
2958 || (permission & MAP_MEM_NAMED_REUSE)) { 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 if (!(permission & MAP_MEM_VM_SHARE)) { in mach_make_memory_entry_internal()
3011 if ((permission & MAP_MEM_NAMED_REUSE) && in mach_make_memory_entry_internal()
3024 …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()
3075 …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()
3091 …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()
3111 …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()
3116 if (!(permission & MAP_MEM_VM_SHARE)) { in mach_make_memory_entry_internal()
3124 if ((permission & MAP_MEM_NAMED_REUSE) && in mach_make_memory_entry_internal()
3142 …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()
3165 …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()
3177 if (permission & MAP_MEM_VM_SHARE) { in mach_make_memory_entry_internal()
3184 SET_MAP_MEM(GET_MAP_MEM(permission), user_entry->protection); in mach_make_memory_entry_internal()
3190 …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()
3318 …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()
3330 …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()
3339 vm_prot_t permission, in _mach_make_memory_entry() argument
3348 (memory_object_offset_t)offset, permission, object_handle, in _mach_make_memory_entry()
3359 vm_prot_t permission, in mach_make_memory_entry() argument
3368 (memory_object_offset_t)offset, permission, object_handle, in mach_make_memory_entry()
3486 vm_prot_t permission, in mach_memory_object_memory_entry_64() argument
3523 user_entry->protection = permission & VM_PROT_ALL; in mach_memory_object_memory_entry_64()
3524 access = GET_MAP_MEM(permission); in mach_memory_object_memory_entry_64()
3546 vm_prot_t permission, in mach_memory_object_memory_entry() argument
3551 (vm_object_offset_t)size, permission, pager, entry_handle); in mach_memory_object_memory_entry()