Lines Matching defs:newProtection
2878 vm_set_area_protection(team_id team, area_id areaID, uint32 newProtection,
2881 fix_protection(&newProtection);
2884 ", protection = %#" B_PRIx32 ")\n", team, areaID, newProtection));
2886 if (!arch_vm_supports_protection(newProtection))
2890 = (newProtection & (B_WRITE_AREA | B_KERNEL_WRITE_AREA)) != 0;
2915 " (%s)\n", team, newProtection, areaID, area->name);
2919 && (newProtection & area->protection_max)
2920 != (newProtection & B_USER_PROTECTION)) {
2923 "area %" B_PRId32 " (%s)\n", team, newProtection,
2935 if (area->protection == newProtection)
2984 if (newProtection
3032 map->ProtectPage(area, address, newProtection);
3036 map->ProtectArea(area, newProtection);
3041 area->protection = newProtection;
4975 uint32 newProtection = protection;
4977 newProtection &= ~(B_WRITE_AREA | B_KERNEL_WRITE_AREA);
4995 context.map->ProtectPage(area, address, newProtection);
5048 if (map_page(area, context.page, address, newProtection,
6332 set_area_protection(area_id area, uint32 newProtection)
6335 newProtection, true);
6564 _user_set_area_protection(area_id area, uint32 newProtection)
6566 if ((newProtection & ~(B_USER_PROTECTION | B_CLONEABLE_AREA)) != 0)
6570 newProtection, false);