Lines Matching defs:protection
205 (ent)->protection == (prot) && \
1149 * check sanity of protection code
1571 new_entry->protection = prot;
2892 newentry->protection = newentry->max_protection =
2895 newentry->protection = (flags & UVM_EXTRACT_FIXPROT) ?
2896 entry->max_protection : entry->protection;
3133 * uvm_map_protect_user: change map protection on behalf of the user.
3151 * uvm_map_protect: change map protection
3179 * make a first pass to check for protection violations.
3219 old_prot = current->protection;
3221 current->protection =
3224 current->protection = new_prot;
3231 if (current->protection != old_prot) {
3239 current->protection & MASK(current));
3244 * protection includes VM_PROT_EXECUTE, mark
3252 (current->protection & VM_PROT_EXECUTE)) {
3260 * wire this entry now if the old protection was VM_PROT_NONE
3261 * and the new protection is not VM_PROT_NONE.
3286 * still continue setting the protection in
3612 if (entry->protection == VM_PROT_NONE ||
3816 if (entry->protection != VM_PROT_NONE &&
3839 if (entry->protection == VM_PROT_NONE)
3917 if (entry->protection == VM_PROT_NONE)
3931 if (entry->protection == VM_PROT_NONE)
4124 * uvm_map_checkprot: check protection in map
4126 * => must allow specified protection in a fully allocated region.
4132 vm_prot_t protection)
4155 * check protection associated with entry
4158 if ((entry->protection & protection) != protection) {
4601 old_entry->protection & ~VM_PROT_WRITE);
4761 uobj, entry->flags, entry->protection,
4800 uobj, entry->flags, entry->protection,
5008 if (__predict_false(entry->protection == VM_PROT_NONE)) {
5266 entry->protection, entry->max_protection,
5378 kve->kve_protection = PROT(e->protection);