Lines Matching refs:vec_idx
31 stack->vec_idx = kcalloc(stack->size, sizeof(u16), GFP_KERNEL); in idpf_init_vector_stack()
32 if (!stack->vec_idx) { in idpf_init_vector_stack()
39 stack->vec_idx[i] = i; in idpf_init_vector_stack()
56 kfree(stack->vec_idx); in idpf_deinit_vector_stack()
57 stack->vec_idx = NULL; in idpf_deinit_vector_stack()
179 static int idpf_vector_lifo_push(struct idpf_adapter *adapter, u16 vec_idx) in idpf_vector_lifo_push() argument
191 stack->vec_idx[--stack->top] = vec_idx; in idpf_vector_lifo_push()
212 return stack->vec_idx[stack->top++]; in idpf_vector_lifo_pop()
227 u16 vec_idx; in idpf_vector_stash() local
241 vec_idx = q_vector_idxs[i]; in idpf_vector_stash()
242 idpf_vector_lifo_push(adapter, vec_idx); in idpf_vector_stash()
289 q_vector_idxs[num_alloc_vecs++] = stack->vec_idx[j++]; in idpf_req_rel_vector_indexes()