Lines Matching refs:first_free
38 #define firstfree_valid(b) ((b)->first_free != (uint64_t) -1)
49 uint64_t first_free; member
71 axmap->first_free = 0; in axmap_reset()
259 if (axmap->first_free >= bit_nr && in __axmap_set()
260 axmap->first_free < bit_nr + data->nr_bits) in __axmap_set()
261 axmap->first_free = -1ULL; in __axmap_set()
375 return axmap->first_free; in axmap_first_free()
377 axmap->first_free = axmap_find_first_free(axmap, axmap->nr_levels - 1, 0); in axmap_first_free()
378 return axmap->first_free; in axmap_first_free()
414 if (firstfree_valid(axmap) && bit_nr < axmap->first_free) in axmap_next_free()
415 return axmap->first_free; in axmap_next_free()