Lines Matching refs:entry
122 vm_map_entry_t entry;
139 * will be donating to the map entry. We must do this before
149 kr = vm_map_find_space(map, &map_addr, map_size, map_mask, 0, &entry);
155 entry->object.vm_object = object;
156 entry->offset = offset = (object == kernel_object) ?
159 /* Take an extra object ref in case the map entry gets deleted */
206 * Master entry point for allocating kernel memory.
232 vm_map_entry_t entry;
310 vm_alloc_flags, &entry);
316 entry->object.vm_object = object;
317 entry->offset = offset = (object == kernel_object) ?
976 vm_map_entry_t entry;
990 while(vm_map_lookup_entry(map, off, &entry)) {
993 if (entry->object.vm_object == VM_OBJECT_NULL) {
997 if (entry->is_sub_map) {
1001 vm_map_lock(entry->object.sub_map);
1002 map = entry->object.sub_map;
1003 off = entry->offset + (off - entry->vme_start);
1007 obj = entry->object.vm_object;
1008 obj_off = (off - entry->vme_start) + entry->offset;
1059 if(len <= ((entry->vme_end - entry->vme_start) -
1060 (off - entry->vme_start))) {
1064 len -= (entry->vme_end - entry->vme_start) -
1065 (off - entry->vme_start);