Lines Matching defs:protection

417 	    entry->start, entry->end, entry->protection, NULL);
440 entry->start, entry->end, entry->protection, NULL);
773 /* Check protection. */
869 entry->protection = prot;
998 /* Check protection. */
1138 entry->protection = prot;
1231 if (e1->protection != e2->protection ||
1579 if (entry->protection == PROT_NONE)
1694 if (iter->protection != (PROT_READ | PROT_WRITE))
1705 * [addr, addr + sz), with protection PROT_READ|PROT_WRITE, then the
1738 * mapping, and protection RW. Then, a new mapping (all zero) is
2004 entry->protection != PROT_NONE &&
2089 iter->protection == PROT_NONE)
2100 ((iter->protection & PROT_WRITE) ||
2122 iter->protection == PROT_NONE)
2126 iter->protection);
2146 first->protection == PROT_NONE)
2160 iter->protection == PROT_NONE)
2747 iter->protection != PROT_NONE)
2875 entry->protection, entry->max_protection,
3031 * uvm_map_protect: change map protection
3068 /* First, check for protection violations. */
3079 old_prot = iter->protection;
3120 old_prot = iter->protection;
3123 * Skip adapting protection iff old and new protection
3140 iter->protection &= new_prot;
3142 iter->protection = new_prot;
3149 if (iter->protection != old_prot) {
3159 if (iter->protection == PROT_NONE) {
3167 if ((iter->protection & mask) == PROT_NONE &&
3185 iter->protection & mask);
3191 * wire this entry now if the old protection was PROT_NONE
3192 * and the new protection is not PROT_NONE.
3203 * still continue setting the protection in
3433 * address range uses the protection flags in prot.
3558 new_entry->protection = prot;
3620 old_entry->end - old_entry->start, 0, old_entry->protection,
3642 old_entry->end - old_entry->start, 0, old_entry->protection,
3725 old_entry->protection &
3750 new_entry->protection &
3769 old_entry->end - old_entry->start, 0, old_entry->protection,
3859 new_entry->protection != PROT_NONE) {
3893 * creating a new mapping with "prot" protection.
3987 * uvm_map_checkprot: check protection in map
3989 * => must allow specific protection in a fully allocated region.
3994 vm_prot_t protection)
4016 /* Check protection. */
4017 if ((entry->protection & protection) != protection)
4116 (entry1->protection & PROT_WRITE) == 0)
4266 * in the kernel_map, setting protection to max_prot.
4376 entry->protection, entry->max_protection,
4384 /* Figure out the best protection */
4386 newentry->protection != PROT_NONE)
4387 newentry->protection = newentry->max_protection;
4388 newentry->protection &= ~PROT_EXEC;
5055 entry->protection = entry->max_protection = 0;
5081 * XXX: factor in offset (via pmap_prefer) and protection?
5398 kve->kve_protection = entry->protection;