Lines Matching refs:protection

136 	vm_prot_t		protection);
382 * Virtual memory maps provide for the mapping, protection,
572 map_entry->protection,
1327 new_entry->protection = VM_PROT_DEFAULT;
1387 vm_prot_t protection)
1419 kr = vm_fault_enter(m, map->pmap, addr, protection, protection,
1887 entry->protection != cur_protection ||
1981 (entry->protection == cur_protection) &&
2026 * allocation into 4GB chunks if the max protection is NONE. That
2143 new_entry->protection, TRUE);
2179 * the protection of each mapping) and calls
2367 max_protection &= named_entry->protection;
2370 cur_protection &= named_entry->protection;
2372 if ((named_entry->protection & max_protection) !=
2375 if ((named_entry->protection & cur_protection) !=
2440 protections = named_entry->protection & VM_PROT_ALL;
2441 access = GET_MAP_MEM(named_entry->protection);
2559 * the protection of each mapping) and calls
2713 * the protection of each mapping) and calls
3475 * Sets the protection of the specified address
3477 * specified, the maximum protection is to be set;
3478 * otherwise, only the current protection is affected.
3528 * Make a first pass to check for protection and address
3597 old_prot = current->protection;
3601 /* mapped data, this implies that max protection */
3615 current->protection =
3620 current->protection = new_prot & ~VM_PROT_COPY;
3624 * If the request is to turn off write protection,
3627 * set, the new protection in the map, so if a
3631 if (current->protection != old_prot) {
3638 prot = current->protection & ~VM_PROT_WRITE;
3850 * generate page faults. This is checked against protection of
4205 * Check for holes and protection mismatch.
4209 * wiring is by protection class
4218 if ((entry->protection & access_type) != access_type) {
4219 /* found a protection problem */
5506 if ( ! (entry->protection & VM_PROT_WRITE)) {
5576 * The attributes (protection and inheritance) of the
5754 if ( ! (entry->protection & VM_PROT_WRITE)) {
5911 * the protection of the copy_entry.
5913 entry->protection = VM_PROT_ALL;
6545 ((entry->protection & VM_PROT_WRITE) != 0))
6682 * little details about getting protection and inheritance
6683 * right. Should add protection, inheritance, and sharing checks
6719 * address map, and that the protection is
6732 * Check protection again
6735 if ( ! (entry->protection & VM_PROT_WRITE)) {
7422 entry->protection = VM_PROT_DEFAULT;
7483 prot = entry->protection;
7804 if (((src_entry->protection & VM_PROT_READ) == VM_PROT_NONE &&
7872 prot = src_entry->protection & ~VM_PROT_WRITE;
8001 if ((((src_entry->protection & VM_PROT_READ) == VM_PROT_NONE) &&
8318 (old_entry->protection & VM_PROT_WRITE)) {
8321 prot = old_entry->protection & ~VM_PROT_WRITE;
8575 prot = old_entry->protection & ~VM_PROT_WRITE;
8651 * protection for a given virtual address in the
8655 * Returns the (object, offset, protection) for
8666 * If a lookup is requested with "write protection"
8906 prot = submap_entry->protection & ~VM_PROT_WRITE;
8992 entry->protection |= submap_entry->protection;
9027 prot = entry->protection;
9128 * return the protection.
9508 submap_info->protection = curr_entry->protection;
9518 short_info->protection = curr_entry->protection;
9647 basic->protection = entry->protection;
9692 basic->protection = entry->protection;
9734 extended->protection = entry->protection;
10202 (prev_entry->protection == this_entry->protection) &&
10627 if ((entry->protection & VM_PROT_READ) == 0) {
10719 entry->protection != VM_PROT_DEFAULT ||
11043 new_entry->protection = cur_protection;
11189 (src_entry->protection & VM_PROT_WRITE)) {
11192 prot = src_entry->protection & ~VM_PROT_WRITE;
11279 prot = src_entry->protection & ~VM_PROT_WRITE;
11382 *cur_protection &= src_entry->protection;
11834 vm_map_offset_t end, vm_prot_t protection)
11870 * Check protection associated with entry.
11873 if ((entry->protection & protection) != protection) {
11931 if ((entry->protection & VM_PROT_WRITE) == 0) {
12580 (named_entry->protection
12639 (named_entry->protection