Lines Matching refs:flex_array
19 struct flex_array { struct
38 (FLEX_ARRAY_BASE_SIZE - offsetof(struct flex_array, parts))
53 struct flex_array __arrayname = { { { \
63 struct flex_array *flex_array_alloc(int element_size, unsigned int total,
65 int flex_array_prealloc(struct flex_array *fa, unsigned int start,
67 void flex_array_free(struct flex_array *fa);
68 void flex_array_free_parts(struct flex_array *fa);
69 int flex_array_put(struct flex_array *fa, unsigned int element_nr, void *src,
71 int flex_array_clear(struct flex_array *fa, unsigned int element_nr);
72 void *flex_array_get(struct flex_array *fa, unsigned int element_nr);
73 int flex_array_shrink(struct flex_array *fa);
78 void *flex_array_get_ptr(struct flex_array *fa, unsigned int element_nr);