Lines Matching refs:flex_array
21 struct flex_array { struct
40 (FLEX_ARRAY_BASE_SIZE - offsetof(struct flex_array, parts))
55 struct flex_array __arrayname = { { { \
73 struct flex_array *flex_array_alloc(int element_size, unsigned int total,
85 int flex_array_prealloc(struct flex_array *fa, unsigned int start,
92 void flex_array_free(struct flex_array *fa);
99 void flex_array_free_parts(struct flex_array *fa);
111 int flex_array_put(struct flex_array *fa, unsigned int element_nr, void *src,
122 int flex_array_clear(struct flex_array *fa, unsigned int element_nr);
133 void *flex_array_get(struct flex_array *fa, unsigned int element_nr);
142 int flex_array_shrink(struct flex_array *fa);
147 void *flex_array_get_ptr(struct flex_array *fa, unsigned int element_nr);