• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/xnu-2422.115.4/osfmk/vm/

Lines Matching defs:protection

137 	vm_prot_t		protection);
387 * Virtual memory maps provide for the mapping, protection,
573 map_entry->protection,
1336 new_entry->protection = VM_PROT_DEFAULT;
1401 vm_prot_t protection)
1433 kr = vm_fault_enter(m, map->pmap, addr, protection, protection,
1914 entry->protection != cur_protection ||
2008 (entry->protection == cur_protection) &&
2061 * allocation into 4GB chunks if the max protection is NONE. That
2181 new_entry->protection, TRUE);
2217 * the protection of each mapping) and calls
2415 max_protection &= named_entry->protection;
2418 cur_protection &= named_entry->protection;
2420 if ((named_entry->protection & max_protection) !=
2423 if ((named_entry->protection & cur_protection) !=
2524 protections = named_entry->protection & VM_PROT_ALL;
2525 access = GET_MAP_MEM(named_entry->protection);
2797 * the protection of each mapping) and calls
2958 * the protection of each mapping) and calls
3728 * Sets the protection of the specified address
3730 * specified, the maximum protection is to be set;
3731 * otherwise, only the current protection is affected.
3781 * Make a first pass to check for protection and address
3842 old_prot = current->protection;
3846 /* mapped data, this implies that max protection */
3860 current->protection =
3865 current->protection = new_prot & ~VM_PROT_COPY;
3869 * If the request is to turn off write protection,
3872 * set, the new protection in the map, so if a
3876 if (current->protection != old_prot) {
3883 prot = current->protection & ~VM_PROT_WRITE;
4095 * generate page faults. This is checked against protection of
4452 * Check for holes and protection mismatch.
4456 * wiring is by protection class
4465 if ((entry->protection & access_type) != access_type) {
4466 /* found a protection problem */
5801 if ( ! (entry->protection & VM_PROT_WRITE)) {
5871 * The attributes (protection and inheritance) of the
6057 if ( ! (entry->protection & VM_PROT_WRITE)) {
6214 * the protection of the copy_entry.
6216 entry->protection = VM_PROT_ALL;
6864 ((entry->protection & VM_PROT_WRITE) != 0))
7010 * little details about getting protection and inheritance
7011 * right. Should add protection, inheritance, and sharing checks
7047 * address map, and that the protection is
7060 * Check protection again
7063 if ( ! (entry->protection & VM_PROT_WRITE)) {
7610 new_entry->protection = cur_prot;
7861 entry->protection = VM_PROT_DEFAULT;
7922 prot = entry->protection;
8269 if (((src_entry->protection & VM_PROT_READ) == VM_PROT_NONE &&
8337 prot = src_entry->protection & ~VM_PROT_WRITE;
8466 if ((((src_entry->protection & VM_PROT_READ) == VM_PROT_NONE) &&
8956 (old_entry->protection & VM_PROT_WRITE)) {
8959 prot = old_entry->protection & ~VM_PROT_WRITE;
9209 prot = old_entry->protection & ~VM_PROT_WRITE;
9285 * protection for a given virtual address in the
9289 * Returns the (object, offset, protection) for
9300 * If a lookup is requested with "write protection"
9540 prot = submap_entry->protection & ~VM_PROT_WRITE;
9626 entry->protection |= submap_entry->protection;
9661 prot = entry->protection;
9762 * return the protection.
10149 submap_info->protection = curr_entry->protection;
10159 short_info->protection = curr_entry->protection;
10293 basic->protection = entry->protection;
10338 basic->protection = entry->protection;
10384 extended->protection = entry->protection;
10880 (prev_entry->protection == this_entry->protection) &&
11310 if ((entry->protection & VM_PROT_READ) == 0) {
11424 entry->protection != VM_PROT_DEFAULT ||
11775 new_entry->protection = cur_protection;
11927 (src_entry->protection & VM_PROT_WRITE)) {
11930 prot = src_entry->protection & ~VM_PROT_WRITE;
12019 prot = src_entry->protection & ~VM_PROT_WRITE;
12122 *cur_protection &= src_entry->protection;
12619 vm_map_offset_t end, vm_prot_t protection)
12655 * Check protection associated with entry.
12658 if ((entry->protection & protection) != protection) {
12716 if ((entry->protection & VM_PROT_WRITE) == 0) {
13384 (named_entry->protection
13443 (named_entry->protection & VM_PROT_WRITE)) {
14168 if (! (entry->protection & VM_PROT_WRITE)) {