Lines Matching defs:protection

205 	(ent)->protection == (prot) && \
1137 * check sanity of protection code
1559 new_entry->protection = prot;
2819 newentry->protection = newentry->max_protection =
2822 newentry->protection = (flags & UVM_EXTRACT_FIXPROT) ?
2823 entry->max_protection : entry->protection;
3060 * uvm_map_protect_user: change map protection on behalf of the user.
3078 * uvm_map_protect: change map protection
3106 * make a first pass to check for protection violations.
3146 old_prot = current->protection;
3148 current->protection =
3151 current->protection = new_prot;
3158 if (current->protection != old_prot) {
3166 current->protection & MASK(current));
3171 * protection includes VM_PROT_EXECUTE, mark
3179 (current->protection & VM_PROT_EXECUTE)) {
3187 * wire this entry now if the old protection was VM_PROT_NONE
3188 * and the new protection is not VM_PROT_NONE.
3213 * still continue setting the protection in
3539 if (entry->protection == VM_PROT_NONE ||
3743 if (entry->protection != VM_PROT_NONE &&
3766 if (entry->protection == VM_PROT_NONE)
3844 if (entry->protection == VM_PROT_NONE)
3858 if (entry->protection == VM_PROT_NONE)
4051 * uvm_map_checkprot: check protection in map
4053 * => must allow specified protection in a fully allocated region.
4059 vm_prot_t protection)
4082 * check protection associated with entry
4085 if ((entry->protection & protection) != protection) {
4526 old_entry->protection & ~VM_PROT_WRITE);
4686 uobj, entry->flags, entry->protection,
4725 uobj, entry->flags, entry->protection,
4933 if (__predict_false(entry->protection == VM_PROT_NONE)) {
5191 entry->protection, entry->max_protection,
5303 kve->kve_protection = PROT(e->protection);