Lines Matching refs:VM_BUG_ON
253 VM_BUG_ON(resv->region_cache_count <= 0); in get_file_region_entry_from_cache()
303 VM_BUG_ON(resv->pages_per_hpage != pages_per_huge_page(h)); in record_hugetlb_cgroup_uncharge_info()
434 VM_BUG_ON(add < 0); in add_reservation_in_range()
448 VM_BUG_ON(regions_needed < 0); in allocate_file_region_entries()
470 VM_BUG_ON(resv->region_cache_count < resv->adds_in_progress); in allocate_file_region_entries()
542 VM_BUG_ON(t - f <= 1); in region_add()
557 VM_BUG_ON(add < 0); in region_add()
621 VM_BUG_ON(!resv->region_cache_count); in region_abort()
939 VM_BUG_ON(resv_map->adds_in_progress); in resv_map_release()
1184 VM_BUG_ON(nid >= MAX_NUMNODES); in next_node_allowed()
1207 VM_BUG_ON(!nodes_allowed); in hstate_next_node_to_alloc()
1225 VM_BUG_ON(!nodes_allowed); in hstate_next_node_to_free()
2199 VM_BUG_ON(dummy_out_regions_needed != 1); in __vma_reservation_common()
2204 VM_BUG_ON(ret < 0); in __vma_reservation_common()
2214 VM_BUG_ON(ret < 0); in __vma_reservation_common()
2492 VM_BUG_ON(!hstate_is_gigantic(h)); in gather_bootmem_prealloc()
2570 VM_BUG_ON(minimum_order == UINT_MAX); in hugetlb_init_hstates()
2627 VM_BUG_ON(delta != -1 && delta != 1); in adjust_pool_surplus()