Searched refs:kbuff_arr (Results 1 – 1 of 1) sorted by relevance
8237 void *kbuff_arr[MAX_IOCTL_SGE]; in megasas_mgmt_fw_ioctl() local8246 memset(kbuff_arr, 0, sizeof(kbuff_arr)); in megasas_mgmt_fw_ioctl()8331 kbuff_arr[i] = dma_alloc_coherent(&instance->pdev->dev, in megasas_mgmt_fw_ioctl()8334 if (!kbuff_arr[i]) { in megasas_mgmt_fw_ioctl()8357 if (copy_from_user(kbuff_arr[i], ioc->sgl[i].iov_base, in megasas_mgmt_fw_ioctl()8414 if (copy_to_user(ioc->sgl[i].iov_base, kbuff_arr[i], in megasas_mgmt_fw_ioctl()8461 if (kbuff_arr[i]) { in megasas_mgmt_fw_ioctl()8465 kbuff_arr[i], in megasas_mgmt_fw_ioctl()8470 kbuff_arr[i], in megasas_mgmt_fw_ioctl()8472 kbuff_arr[i] = NULL; in megasas_mgmt_fw_ioctl()