Lines Matching refs:pgidx_start
943 uint64_t pgidx_start = (vaddr_min + vm->page_size - 1) >> vm->page_shift; in vm_vaddr_unused_gap() local
944 if ((pgidx_start * vm->page_size) < vaddr_min) in vm_vaddr_unused_gap()
949 pgidx_start, pages)) in vm_vaddr_unused_gap()
950 pgidx_start = sparsebit_next_set_num(vm->vpages_valid, in vm_vaddr_unused_gap()
951 pgidx_start, pages); in vm_vaddr_unused_gap()
960 pgidx_start, pages)) in vm_vaddr_unused_gap()
962 pgidx_start = sparsebit_next_clear_num(vm->vpages_mapped, in vm_vaddr_unused_gap()
963 pgidx_start, pages); in vm_vaddr_unused_gap()
964 if (pgidx_start == 0) in vm_vaddr_unused_gap()
972 pgidx_start, pages)) { in vm_vaddr_unused_gap()
973 pgidx_start = sparsebit_next_set_num( in vm_vaddr_unused_gap()
974 vm->vpages_valid, pgidx_start, pages); in vm_vaddr_unused_gap()
975 if (pgidx_start == 0) in vm_vaddr_unused_gap()
978 } while (pgidx_start != 0); in vm_vaddr_unused_gap()
988 pgidx_start, pages), in vm_vaddr_unused_gap()
992 pgidx_start, pages); in vm_vaddr_unused_gap()
994 pgidx_start, pages), in vm_vaddr_unused_gap()
998 pgidx_start, pages); in vm_vaddr_unused_gap()
1000 return pgidx_start * vm->page_size; in vm_vaddr_unused_gap()