Searched refs:needed_desc (Results 1 – 1 of 1) sorted by relevance
544 U16 i, needed_desc = (dma_buffers->kern_buf_len / MPI3MR_IOCTL_SGE_SIZE); in mpi3mr_map_data_buffer_dma() local549 needed_desc++; in mpi3mr_map_data_buffer_dma()551 if ((needed_desc + desc_count) > MPI3MR_NUM_IOCTL_SGE) { in mpi3mr_map_data_buffer_dma()553 __func__, needed_desc, desc_count, MPI3MR_NUM_IOCTL_SGE); in mpi3mr_map_data_buffer_dma()557 dma_buffers->dma_desc = malloc(sizeof(*dma_buffers->dma_desc) * needed_desc, in mpi3mr_map_data_buffer_dma()563 for (i = 0; i < needed_desc; i++, desc_count++) { in mpi3mr_map_data_buffer_dma()591 dma_buffers->num_dma_desc = needed_desc; in mpi3mr_map_data_buffer_dma()