Searched refs:kbuff_arr (Results 1 – 1 of 1) sorted by relevance
8233 void *kbuff_arr[MAX_IOCTL_SGE]; in megasas_mgmt_fw_ioctl() local8242 memset(kbuff_arr, 0, sizeof(kbuff_arr)); in megasas_mgmt_fw_ioctl()8327 kbuff_arr[i] = dma_alloc_coherent(&instance->pdev->dev, in megasas_mgmt_fw_ioctl()8330 if (!kbuff_arr[i]) { in megasas_mgmt_fw_ioctl()8353 if (copy_from_user(kbuff_arr[i], ioc->sgl[i].iov_base, in megasas_mgmt_fw_ioctl()8410 if (copy_to_user(ioc->sgl[i].iov_base, kbuff_arr[i], in megasas_mgmt_fw_ioctl()8457 if (kbuff_arr[i]) { in megasas_mgmt_fw_ioctl()8461 kbuff_arr[i], in megasas_mgmt_fw_ioctl()8466 kbuff_arr[i], in megasas_mgmt_fw_ioctl()8468 kbuff_arr[i] = NULL; in megasas_mgmt_fw_ioctl()