Lines Matching refs:fl

155 static void vm_phys_split_pages(vm_page_t m, int oind, struct vm_freelist *fl,
235 struct vm_freelist *fl; in sysctl_vm_phys_free() local
258 fl = vm_phys_free_queues[dom][flind][pind]; in sysctl_vm_phys_free()
260 fl[oind].lcnt); in sysctl_vm_phys_free()
349 vm_freelist_add(struct vm_freelist *fl, vm_page_t m, int order, int tail) in vm_freelist_add() argument
354 TAILQ_INSERT_TAIL(&fl[order].pl, m, listq); in vm_freelist_add()
356 TAILQ_INSERT_HEAD(&fl[order].pl, m, listq); in vm_freelist_add()
357 fl[order].lcnt++; in vm_freelist_add()
361 vm_freelist_rem(struct vm_freelist *fl, vm_page_t m, int order) in vm_freelist_rem() argument
364 TAILQ_REMOVE(&fl[order].pl, m, listq); in vm_freelist_rem()
365 fl[order].lcnt--; in vm_freelist_rem()
465 struct vm_freelist *fl; in vm_phys_init() local
581 fl = vm_phys_free_queues[dom][flind][pind]; in vm_phys_init()
583 TAILQ_INIT(&fl[oind].pl); in vm_phys_init()
637 vm_phys_split_pages(vm_page_t m, int oind, struct vm_freelist *fl, int order, in vm_phys_split_pages() argument
648 vm_freelist_add(fl, m_buddy, oind, tail); in vm_phys_split_pages()
665 vm_phys_enq_range(vm_page_t m, u_int npages, struct vm_freelist *fl, int tail) in vm_phys_enq_range() argument
682 vm_freelist_add(fl, m, order, tail); in vm_phys_enq_range()
704 struct vm_freelist *alt, *fl; in vm_phys_alloc_npages() local
720 fl = vm_phys_free_queues[domain][flind][pool]; in vm_phys_alloc_npages()
722 while ((m = TAILQ_FIRST(&fl[oind].pl)) != NULL) { in vm_phys_alloc_npages()
723 vm_freelist_rem(fl, m, oind); in vm_phys_alloc_npages()
733 vm_phys_enq_range(m, avail - need, fl, in vm_phys_alloc_npages()
758 need, fl, 1); in vm_phys_alloc_npages()
799 struct vm_freelist *alt, *fl; in vm_phys_alloc_freelist_pages() local
820 fl = &vm_phys_free_queues[domain][flind][pool][0]; in vm_phys_alloc_freelist_pages()
822 m = TAILQ_FIRST(&fl[oind].pl); in vm_phys_alloc_freelist_pages()
824 vm_freelist_rem(fl, m, oind); in vm_phys_alloc_freelist_pages()
826 vm_phys_split_pages(m, oind, fl, order, 1); in vm_phys_alloc_freelist_pages()
845 vm_phys_split_pages(m, oind, fl, order, 1); in vm_phys_alloc_freelist_pages()
1061 struct vm_freelist *fl; in vm_phys_free_pages() local
1085 fl = (*seg->free_queues)[m_buddy->pool]; in vm_phys_free_pages()
1086 vm_freelist_rem(fl, m_buddy, order); in vm_phys_free_pages()
1094 fl = (*seg->free_queues)[m->pool]; in vm_phys_free_pages()
1095 vm_freelist_add(fl, m, order, 1); in vm_phys_free_pages()
1213 struct vm_freelist *fl; in vm_phys_unfree_page() local
1249 fl = (*seg->free_queues)[m_set->pool]; in vm_phys_unfree_page()
1251 vm_freelist_rem(fl, m_set, order); in vm_phys_unfree_page()
1261 vm_freelist_add(fl, m_tmp, order, 0); in vm_phys_unfree_page()
1325 struct vm_freelist *fl; in vm_phys_alloc_seg_contig() local
1342 fl = (*seg->free_queues)[pind]; in vm_phys_alloc_seg_contig()
1343 TAILQ_FOREACH(m_ret, &fl[oind].pl, listq) { in vm_phys_alloc_seg_contig()
1393 fl = (*seg->free_queues)[m->pool]; in vm_phys_alloc_seg_contig()
1394 vm_freelist_rem(fl, m, oind); in vm_phys_alloc_seg_contig()
1401 fl = (*seg->free_queues)[VM_FREEPOOL_DEFAULT]; in vm_phys_alloc_seg_contig()
1402 vm_phys_enq_range(&m_ret[npages], npages_end - npages, fl, 0); in vm_phys_alloc_seg_contig()
1413 struct vm_freelist *fl; in DB_SHOW_COMMAND() local
1432 fl = vm_phys_free_queues[dom][flind][pind]; in DB_SHOW_COMMAND()
1433 db_printf(" | %6.6d", fl[oind].lcnt); in DB_SHOW_COMMAND()