/* If a user requests an allocation which is small enough, we may simply use the space in the flex_array->parts array to store the user data.  */
static int elements_fit_in_base(struct flex_array *fa)
/* If a user requests an allocation which is small enough, we may simply use the space in the flex_array->parts array to store the user data.  */
static int elements_fit_in_base(struct flex_array *fa)
{
	int data_size = fa->element_size * fa->total_nr_elements;
	if (data_size <= FLEX_ARRAY_BASE_BYTES_LEFT)
		return 1;
	return 0;
}