Lines Matching refs:container
35 vector->container = NULL; in dal_vector_construct()
43 vector->container = kcalloc(capacity, struct_size, GFP_KERNEL); in dal_vector_construct()
44 if (vector->container == NULL) in dal_vector_construct()
61 vector->container = NULL; in dal_vector_presized_costruct()
69 vector->container = kcalloc(count, struct_size, GFP_KERNEL); in dal_vector_presized_costruct()
71 if (vector->container == NULL) in dal_vector_presized_costruct()
80 vector->container + i * struct_size, in dal_vector_presized_costruct()
132 kfree(vector->container); in dal_vector_destruct()
157 if (vector->container == NULL || index >= vector->count) in dal_vector_at_index()
159 return vector->container + (index * vector->struct_size); in dal_vector_at_index()
171 vector->container + (index * vector->struct_size), in dal_vector_remove_at_index()
172 vector->container + ((index + 1) * vector->struct_size), in dal_vector_remove_at_index()
216 insert_address = vector->container + (vector->struct_size * position); in dal_vector_insert_at()
273 memmove(vec_cloned->container, vector->container, in dal_vector_clone()
291 new_container = krealloc(vector->container, in dal_vector_reserve()
295 vector->container = new_container; in dal_vector_reserve()