Lines Matching defs:start_ptr
559 * Fills in *start_ptr and *end_ptr to be the first and last entry describing
561 * If called with prefilled *start_ptr and *end_ptr, they are to be correct.
565 struct vm_map_entry **start_ptr, struct vm_map_entry **end_ptr,
592 KDASSERT(atree != NULL && start_ptr != NULL && end_ptr != NULL);
593 if (*start_ptr == NULL) {
594 *start_ptr = uvm_map_entrybyaddr(atree, addr);
595 if (*start_ptr == NULL)
598 KASSERT(*start_ptr == uvm_map_entrybyaddr(atree, addr));
600 if (VMMAP_FREE_END(*start_ptr) >= addr + sz)
601 *end_ptr = *start_ptr;
611 KDASSERT(*start_ptr != NULL && *end_ptr != NULL);
612 KDASSERT((*start_ptr)->start <= addr &&
613 VMMAP_FREE_END(*start_ptr) > addr &&
622 i = *start_ptr;