Searched refs:gtt_sa_bitmap (Results 1 – 2 of 2) sorted by relevance
953 kfd->gtt_sa_bitmap = bitmap_zalloc(kfd->gtt_sa_num_of_chunks, in kfd_gtt_sa_init()955 if (!kfd->gtt_sa_bitmap) in kfd_gtt_sa_init()959 kfd->gtt_sa_num_of_chunks, kfd->gtt_sa_bitmap); in kfd_gtt_sa_init()969 bitmap_free(kfd->gtt_sa_bitmap); in kfd_gtt_sa_fini()1009 found = find_next_zero_bit(kfd->gtt_sa_bitmap, in kfd_gtt_sa_allocate()1037 __set_bit(found, kfd->gtt_sa_bitmap); in kfd_gtt_sa_allocate()1045 find_next_zero_bit(kfd->gtt_sa_bitmap, in kfd_gtt_sa_allocate()1075 bitmap_set(kfd->gtt_sa_bitmap, (*mem_obj)->range_start, in kfd_gtt_sa_allocate()1101 bitmap_clear(kfd->gtt_sa_bitmap, mem_obj->range_start, in kfd_gtt_sa_free()
287 void *gtt_sa_bitmap; member