Home
last modified time | relevance | path

Searched refs:perms (Results 1 – 4 of 4) sorted by relevance

/arch/arm/mm/
Dinit.c439 static void set_section_perms(struct section_perm *perms, int n, bool set, in set_section_perms() argument
449 if (!IS_ALIGNED(perms[i].start, SECTION_SIZE) || in set_section_perms()
450 !IS_ALIGNED(perms[i].end, SECTION_SIZE)) { in set_section_perms()
452 perms[i].name, perms[i].start, perms[i].end, in set_section_perms()
457 for (addr = perms[i].start; in set_section_perms()
458 addr < perms[i].end; in set_section_perms()
460 section_update(addr, perms[i].mask, in set_section_perms()
461 set ? perms[i].prot : perms[i].clear, mm); in set_section_perms()
471 static void update_sections_early(struct section_perm perms[], int n) in update_sections_early() argument
480 set_section_perms(perms, n, true, s->mm); in update_sections_early()
[all …]
/arch/ia64/include/asm/sn/
Dsn_sal.h67 sn_change_memprotect(u64 paddr, u64 len, u64 perms, u64 *nasid_array) in sn_change_memprotect() argument
72 (u64)nasid_array, perms, 0, 0, 0); in sn_change_memprotect()
/arch/x86/platform/uv/
Dbios_uv.c136 uv_bios_change_memprotect(u64 paddr, u64 len, enum uv_memprotect perms) in uv_bios_change_memprotect() argument
139 perms, 0, 0); in uv_bios_change_memprotect()
/arch/arm64/kvm/hyp/nvhe/
Dmem_protect.c1110 enum kvm_pgtable_prot perms) in host_ack_share() argument
1112 if (perms != PKVM_HOST_MEM_PROT) in host_ack_share()
1129 enum kvm_pgtable_prot perms) in host_complete_share() argument
1218 enum kvm_pgtable_prot perms) in hyp_ack_share() argument
1224 if (!addr_is_memory(phys) || perms != prot) in hyp_ack_share()
1258 enum kvm_pgtable_prot perms) in hyp_complete_share() argument
1263 prot = pkvm_mkstate(perms, PKVM_PAGE_SHARED_BORROWED); in hyp_complete_share()
1315 enum kvm_pgtable_prot perms) in guest_ack_share() argument
1319 if (!addr_is_memory(tx->completer.guest.phys) || perms != KVM_PGTABLE_PROT_RWX) in guest_ack_share()
1338 enum kvm_pgtable_prot perms) in guest_complete_share() argument
[all …]