• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/osfmk/vm/

Lines Matching defs:protection

138 	vm_prot_t		protection);
346 * Virtual memory maps provide for the mapping, protection,
485 map_entry->protection,
1357 new_entry->protection = VM_PROT_DEFAULT;
1412 vm_prot_t protection)
1444 kr = vm_fault_enter(m, map->pmap, addr, protection,
1796 entry->protection != cur_protection ||
1888 (entry->protection == cur_protection) &&
1926 * allocation into 4GB chunks if the max protection is NONE. That
2000 new_entry->protection, TRUE);
2036 * the protection of each mapping) and calls
2217 if ((named_entry->protection & max_protection) !=
2220 if ((named_entry->protection & cur_protection) !=
2282 protections = named_entry->protection & VM_PROT_ALL;
2283 access = GET_MAP_MEM(named_entry->protection);
2411 * the protection of each mapping) and calls
3134 * Sets the protection of the specified address
3136 * specified, the maximum protection is to be set;
3137 * otherwise, only the current protection is affected.
3182 * Make a first pass to check for protection and address
3251 old_prot = current->protection;
3255 /* mapped data, this implies that max protection */
3264 current->protection =
3269 current->protection = new_prot & ~VM_PROT_COPY;
3273 * If the request is to turn off write protection,
3276 * set, the new protection in the map, so if a
3280 if (current->protection != old_prot) {
3287 prot = current->protection & ~VM_PROT_WRITE;
3497 * generate page faults. This is checked against protection of
3855 * Check for holes and protection mismatch.
3859 * wiring is by protection class
3868 if ((entry->protection & access_type) != access_type) {
3869 /* found a protection problem */
5141 if ( ! (entry->protection & VM_PROT_WRITE)) {
5211 * The attributes (protection and inheritance) of the
5387 if ( ! (entry->protection & VM_PROT_WRITE)) {
5544 * the protection of the copy_entry.
5546 entry->protection = VM_PROT_ALL;
5940 ((entry->protection & VM_PROT_WRITE) != 0))
6077 * little details about getting protection and inheritance
6078 * right. Should add protection, inheritance, and sharing checks
6110 * address map, and that the protection is
6123 * Check protection again
6126 if ( ! (entry->protection & VM_PROT_WRITE)) {
6695 entry->protection = VM_PROT_DEFAULT;
6756 prot = entry->protection;
7075 if (((src_entry->protection & VM_PROT_READ) == VM_PROT_NONE &&
7143 prot = src_entry->protection & ~VM_PROT_WRITE;
7272 if ((((src_entry->protection & VM_PROT_READ) == VM_PROT_NONE) &&
7589 (old_entry->protection & VM_PROT_WRITE)) {
7592 prot = old_entry->protection & ~VM_PROT_WRITE;
7839 prot = old_entry->protection & ~VM_PROT_WRITE;
7915 * protection for a given virtual address in the
7919 * Returns the (object, offset, protection) for
7930 * If a lookup is requested with "write protection"
8157 prot = submap_entry->protection & ~VM_PROT_WRITE;
8243 entry->protection |= submap_entry->protection;
8278 prot = entry->protection;
8372 * return the protection.
8695 submap_info->protection = curr_entry->protection;
8705 short_info->protection = curr_entry->protection;
8828 basic->protection = entry->protection;
8873 basic->protection = entry->protection;
8915 extended->protection = entry->protection;
9344 (prev_entry->protection == this_entry->protection) &&
9725 entry->protection,
9968 new_entry->protection = cur_protection;
10113 (src_entry->protection & VM_PROT_WRITE)) {
10116 prot = src_entry->protection & ~VM_PROT_WRITE;
10194 prot = src_entry->protection & ~VM_PROT_WRITE;
10295 *cur_protection &= src_entry->protection;
10705 vm_map_offset_t end, vm_prot_t protection)
10741 * Check protection associated with entry.
10744 if ((entry->protection & protection) != protection) {
10796 if ((entry->protection & VM_PROT_WRITE) == 0) {
11154 modifiable = (entry->protection & VM_PROT_WRITE)
11352 (named_entry->protection
11411 (named_entry->protection