Lines Matching refs:free_slot
91 int free_slot = -1; in vc4_get_user_label() local
95 free_slot = i; in vc4_get_user_label()
102 if (free_slot != -1) { in vc4_get_user_label()
103 WARN_ON(vc4->bo_labels[free_slot].num_allocated != 0); in vc4_get_user_label()
104 vc4->bo_labels[free_slot].name = name; in vc4_get_user_label()
105 return free_slot; in vc4_get_user_label()
118 free_slot = vc4->num_labels; in vc4_get_user_label()
122 vc4->bo_labels[free_slot].name = name; in vc4_get_user_label()
123 vc4->bo_labels[free_slot].num_allocated = 0; in vc4_get_user_label()
124 vc4->bo_labels[free_slot].size_allocated = 0; in vc4_get_user_label()
126 return free_slot; in vc4_get_user_label()