Searched refs:kbuff_arr (Results 1 – 1 of 1) sorted by relevance
8236 void *kbuff_arr[MAX_IOCTL_SGE]; in megasas_mgmt_fw_ioctl() local8245 memset(kbuff_arr, 0, sizeof(kbuff_arr)); in megasas_mgmt_fw_ioctl()8330 kbuff_arr[i] = dma_alloc_coherent(&instance->pdev->dev, in megasas_mgmt_fw_ioctl()8333 if (!kbuff_arr[i]) { in megasas_mgmt_fw_ioctl()8356 if (copy_from_user(kbuff_arr[i], ioc->sgl[i].iov_base, in megasas_mgmt_fw_ioctl()8413 if (copy_to_user(ioc->sgl[i].iov_base, kbuff_arr[i], in megasas_mgmt_fw_ioctl()8460 if (kbuff_arr[i]) { in megasas_mgmt_fw_ioctl()8464 kbuff_arr[i], in megasas_mgmt_fw_ioctl()8469 kbuff_arr[i], in megasas_mgmt_fw_ioctl()8471 kbuff_arr[i] = NULL; in megasas_mgmt_fw_ioctl()