Lines Matching refs:free_slot
93 int free_slot = -1; in vc4_get_user_label() local
97 free_slot = i; in vc4_get_user_label()
104 if (free_slot != -1) { in vc4_get_user_label()
105 WARN_ON(vc4->bo_labels[free_slot].num_allocated != 0); in vc4_get_user_label()
106 vc4->bo_labels[free_slot].name = name; in vc4_get_user_label()
107 return free_slot; in vc4_get_user_label()
120 free_slot = vc4->num_labels; in vc4_get_user_label()
124 vc4->bo_labels[free_slot].name = name; in vc4_get_user_label()
125 vc4->bo_labels[free_slot].num_allocated = 0; in vc4_get_user_label()
126 vc4->bo_labels[free_slot].size_allocated = 0; in vc4_get_user_label()
128 return free_slot; in vc4_get_user_label()