VPDMA_MAX_NUM_LIST
for (i = 0; i < VPDMA_MAX_NUM_LIST && vpdma->hwlist_used[i]; i++)
if (i < VPDMA_MAX_NUM_LIST) {
if (!vpdma || list_num >= VPDMA_MAX_NUM_LIST)
bool hwlist_used[VPDMA_MAX_NUM_LIST];
void *hwlist_priv[VPDMA_MAX_NUM_LIST];