Lines Matching defs:user_entry

1816 	vm_named_entry_t	user_entry;
1871 user_entry = NULL;
1925 kr = mach_memory_entry_allocate(&user_entry, &user_handle);
1989 user_entry->backing.object = object;
1990 user_entry->internal = TRUE;
1991 user_entry->is_sub_map = FALSE;
1992 user_entry->is_pager = FALSE;
1993 user_entry->offset = 0;
1994 user_entry->protection = protections;
1995 SET_MAP_MEM(access, user_entry->protection);
1996 user_entry->size = map_size;
2421 if (mach_memory_entry_allocate(&user_entry, &user_handle)
2428 user_entry->backing.object = object;
2429 user_entry->internal = object->internal;
2430 user_entry->is_sub_map = FALSE;
2431 user_entry->is_pager = FALSE;
2432 user_entry->offset = obj_off;
2433 user_entry->protection = protections;
2434 SET_MAP_MEM(GET_MAP_MEM(permission), user_entry->protection);
2435 user_entry->size = map_size;
2469 if (mach_memory_entry_allocate(&user_entry, &user_handle)
2475 user_entry->size = map_size;
2476 user_entry->offset = parent_entry->offset + map_offset;
2477 user_entry->is_sub_map = parent_entry->is_sub_map;
2478 user_entry->is_pager = parent_entry->is_pager;
2479 user_entry->internal = parent_entry->internal;
2480 user_entry->protection = protections;
2483 SET_MAP_MEM(access, user_entry->protection);
2487 user_entry->backing.map = parent_entry->backing.map;
2488 vm_map_lock(user_entry->backing.map);
2489 user_entry->backing.map->ref_count++;
2490 vm_map_unlock(user_entry->backing.map);
2493 user_entry->backing.pager = parent_entry->backing.pager;
2498 user_entry->backing.object = object;
2516 * associated with it ("user_entry" here) to also be
2593 vm_named_entry_t user_entry;
2597 user_entry = (vm_named_entry_t) kalloc(sizeof *user_entry);
2598 if (user_entry == NULL)
2601 named_entry_lock_init(user_entry);
2605 kfree(user_entry, sizeof *user_entry);
2626 user_entry->backing.pager = NULL;
2627 user_entry->is_sub_map = FALSE;
2628 user_entry->is_pager = FALSE;
2629 user_entry->internal = FALSE;
2630 user_entry->size = 0;
2631 user_entry->offset = 0;
2632 user_entry->protection = VM_PROT_NONE;
2633 user_entry->ref_count = 1;
2635 ipc_kobject_set(user_handle, (ipc_kobject_t) user_entry,
2638 *user_entry_p = user_entry;
2662 vm_named_entry_t user_entry;
2668 if (mach_memory_entry_allocate(&user_entry, &user_handle)
2673 user_entry->backing.pager = pager;
2674 user_entry->size = size;
2675 user_entry->offset = 0;
2676 user_entry->protection = permission & VM_PROT_ALL;
2678 SET_MAP_MEM(access, user_entry->protection);
2679 user_entry->internal = internal;
2680 user_entry->is_sub_map = FALSE;
2681 user_entry->is_pager = TRUE;
2682 assert(user_entry->ref_count == 1);
3084 vm_named_entry_t user_entry;
3089 if (mach_memory_entry_allocate(&user_entry, &user_handle)
3099 user_entry->backing.map = new_map;
3100 user_entry->internal = TRUE;
3101 user_entry->is_sub_map = TRUE;
3102 user_entry->offset = 0;
3103 user_entry->protection = VM_PROT_ALL;
3104 user_entry->size = size;
3105 assert(user_entry->ref_count == 1);