/* this function calculates the size of data that can be inserted into the lli table from this array the condition is that either the table is full (all etnries are entered), or there are no more entries in the lli array  */
static unsigned long sep_calculate_lli_table_max_size(struct sep_lli_entry_t *lli_in_array_ptr, unsigned long num_array_entries)
/* this function calculates the size of data that can be inserted into the lli table from this array the condition is that either the table is full (all etnries are entered), or there are no more entries in the lli array  */
static unsigned long sep_calculate_lli_table_max_size(struct sep_lli_entry_t *lli_in_array_ptr, unsigned long num_array_entries)
{
	unsigned long table_data_size = 0;
	unsigned long counter;
	for (counter = 0; (counter < (SEP_DRIVER_ENTRIES_PER_TABLE_IN_SEP - 1)) && (counter < num_array_entries); counter++)
		table_data_size += lli_in_array_ptr[counter].block_size;
	return table_data_size;
}