• Home
  • Raw
  • Download

Lines Matching refs:free

1401 	struct list_head free;  member
1407 unsigned long free, dirty; member
1492 vb->free = VMAP_BBMAP_BITS - (1UL << order); in new_vmap_block()
1507 list_add_tail_rcu(&vb->free_list, &vbq->free); in new_vmap_block()
1537 list_for_each_entry_rcu(vb, &vbq->free, free_list) { in purge_fragmented_blocks()
1539 if (!(vb->free + vb->dirty == VMAP_BBMAP_BITS && vb->dirty != VMAP_BBMAP_BITS)) in purge_fragmented_blocks()
1543 if (vb->free + vb->dirty == VMAP_BBMAP_BITS && vb->dirty != VMAP_BBMAP_BITS) { in purge_fragmented_blocks()
1544 vb->free = 0; /* prevent further allocs after releasing lock */ in purge_fragmented_blocks()
1593 list_for_each_entry_rcu(vb, &vbq->free, free_list) { in vb_alloc()
1597 if (vb->free < (1UL << order)) { in vb_alloc()
1602 pages_off = VMAP_BBMAP_BITS - vb->free; in vb_alloc()
1604 vb->free -= 1UL << order; in vb_alloc()
1605 if (vb->free == 0) { in vb_alloc()
1662 BUG_ON(vb->free); in vb_free()
1683 list_for_each_entry_rcu(vb, &vbq->free, free_list) { in _vm_unmap_aliases()
1863 struct vmap_area *busy, *free; in vmap_init_free_space() local
1873 free = kmem_cache_zalloc(vmap_area_cachep, GFP_NOWAIT); in vmap_init_free_space()
1874 if (!WARN_ON_ONCE(!free)) { in vmap_init_free_space()
1875 free->va_start = vmap_start; in vmap_init_free_space()
1876 free->va_end = busy->va_start; in vmap_init_free_space()
1878 insert_vmap_area_augment(free, NULL, in vmap_init_free_space()
1888 free = kmem_cache_zalloc(vmap_area_cachep, GFP_NOWAIT); in vmap_init_free_space()
1889 if (!WARN_ON_ONCE(!free)) { in vmap_init_free_space()
1890 free->va_start = vmap_start; in vmap_init_free_space()
1891 free->va_end = vmap_end; in vmap_init_free_space()
1893 insert_vmap_area_augment(free, NULL, in vmap_init_free_space()
1917 INIT_LIST_HEAD(&vbq->free); in vmalloc_init()