Lines Matching refs:dma_handle_count
218 static int dma_handle_count = 0; variable
457 for(i = 0; i < dma_handle_count; i++) { in remote_register_dma_handle_attr()
474 for(i = 0; i < dma_handle_count; i++) { in remote_register_dma_handle_attr()
483 if(i == dma_handle_count) { in remote_register_dma_handle_attr()
484 if(dma_handle_count >= MAX_DMA_HANDLES) { in remote_register_dma_handle_attr()
485 FARF(ERROR, "Error: %s: DMA handle list is already full (count %d)", __func__, dma_handle_count); in remote_register_dma_handle_attr()
488 dhandles[dma_handle_count].fd = fd; in remote_register_dma_handle_attr()
489 dhandles[dma_handle_count].len = len; in remote_register_dma_handle_attr()
490 dhandles[dma_handle_count].used = 1; in remote_register_dma_handle_attr()
491 dhandles[dma_handle_count].attr = attr; in remote_register_dma_handle_attr()
492 dma_handle_count++; in remote_register_dma_handle_attr()
515 for(i = 0; i < dma_handle_count; i++) { in unregister_dma_handle()
521 if(i == (dma_handle_count - 1)) { in unregister_dma_handle()
522 dma_handle_count = last_used + 1; in unregister_dma_handle()