Lines Matching refs:oind

184 static void vm_phys_split_pages(vm_page_t m, int oind, struct vm_freelist *fl,
265 int dom, error, flind, oind, pind; in sysctl_vm_phys_free() local
283 for (oind = VM_NFREEORDER - 1; oind >= 0; oind--) { in sysctl_vm_phys_free()
284 sbuf_printf(&sbuf, " %2d (%6dK)", oind, in sysctl_vm_phys_free()
285 1 << (PAGE_SHIFT - 10 + oind)); in sysctl_vm_phys_free()
289 fl[oind].lcnt); in sysctl_vm_phys_free()
499 int dom, flind, freelist, oind, pind, segind; in vm_phys_init() local
617 for (oind = 0; oind < VM_NFREEORDER; oind++) in vm_phys_init()
618 TAILQ_INIT(&fl[oind].pl); in vm_phys_init()
671 vm_phys_split_pages(vm_page_t m, int oind, struct vm_freelist *fl, int order, in vm_phys_split_pages() argument
676 while (oind > order) { in vm_phys_split_pages()
677 oind--; in vm_phys_split_pages()
678 m_buddy = &m[1 << oind]; in vm_phys_split_pages()
682 vm_freelist_add(fl, m_buddy, oind, tail); in vm_phys_split_pages()
787 int avail, end, flind, freelist, i, oind, pind; in vm_phys_alloc_npages() local
802 for (oind = 0; oind < VM_NFREEORDER; oind++) { in vm_phys_alloc_npages()
803 while ((m = TAILQ_FIRST(&fl[oind].pl)) != NULL) { in vm_phys_alloc_npages()
804 vm_freelist_rem(fl, m, oind); in vm_phys_alloc_npages()
805 avail = i + (1 << oind); in vm_phys_alloc_npages()
819 for (oind = VM_NFREEORDER - 1; oind >= 0; oind--) { in vm_phys_alloc_npages()
822 while ((m = TAILQ_FIRST(&alt[oind].pl)) != in vm_phys_alloc_npages()
824 vm_freelist_rem(alt, m, oind); in vm_phys_alloc_npages()
825 vm_phys_set_pool(pool, m, oind); in vm_phys_alloc_npages()
826 avail = i + (1 << oind); in vm_phys_alloc_npages()
879 int oind, pind, flind; in vm_phys_alloc_freelist_pages() local
899 for (oind = order; oind < VM_NFREEORDER; oind++) { in vm_phys_alloc_freelist_pages()
900 m = TAILQ_FIRST(&fl[oind].pl); in vm_phys_alloc_freelist_pages()
902 vm_freelist_rem(fl, m, oind); in vm_phys_alloc_freelist_pages()
904 vm_phys_split_pages(m, oind, fl, order, 1); in vm_phys_alloc_freelist_pages()
915 for (oind = VM_NFREEORDER - 1; oind >= order; oind--) { in vm_phys_alloc_freelist_pages()
918 m = TAILQ_FIRST(&alt[oind].pl); in vm_phys_alloc_freelist_pages()
920 vm_freelist_rem(alt, m, oind); in vm_phys_alloc_freelist_pages()
921 vm_phys_set_pool(pool, m, oind); in vm_phys_alloc_freelist_pages()
923 vm_phys_split_pages(m, oind, fl, order, 1); in vm_phys_alloc_freelist_pages()
1449 int oind, order, pind; in vm_phys_find_queues_contig() local
1458 for (oind = order; oind < VM_NFREEORDER; oind++) { in vm_phys_find_queues_contig()
1461 TAILQ_FOREACH(m_ret, &fl[oind].pl, listq) { in vm_phys_find_queues_contig()
1508 int oind, segind; in vm_phys_alloc_contig() local
1552 for (m = m_run; m < &m_run[npages]; m = &m[1 << oind]) { in vm_phys_alloc_contig()
1554 oind = m->order; in vm_phys_alloc_contig()
1555 vm_freelist_rem(fl, m, oind); in vm_phys_alloc_contig()
1557 vm_phys_set_pool(VM_FREEPOOL_DEFAULT, m, oind); in vm_phys_alloc_contig()
1848 int flind, oind, pind, dom; in DB_SHOW_COMMAND_FLAGS() local
1862 for (oind = VM_NFREEORDER - 1; oind >= 0; oind--) { in DB_SHOW_COMMAND_FLAGS()
1863 db_printf(" %2.2d (%6.6dK)", oind, in DB_SHOW_COMMAND_FLAGS()
1864 1 << (PAGE_SHIFT - 10 + oind)); in DB_SHOW_COMMAND_FLAGS()
1867 db_printf(" | %6.6d", fl[oind].lcnt); in DB_SHOW_COMMAND_FLAGS()