Searched refs:raidmap_alloc_size (Results 1 – 1 of 1) sorted by relevance
1001 int raidmap_alloc_size = sizeof(pqisrc_raid_map_t); in pqisrc_get_device_raidmap() local1014 raid_map = os_mem_alloc(softs, raidmap_alloc_size); in pqisrc_get_device_raidmap()1022 request.cmd.cdb[8] = (uint8_t)((raidmap_alloc_size) >> 8); in pqisrc_get_device_raidmap()1023 request.cmd.cdb[9] = (uint8_t)(raidmap_alloc_size); in pqisrc_get_device_raidmap()1025 …ret = pqisrc_prepare_send_raid(softs, &request, raid_map, raidmap_alloc_size, device->scsi3addr, N… in pqisrc_get_device_raidmap()1033 if (raidmap_reported_size <= raidmap_alloc_size) in pqisrc_get_device_raidmap()1037 os_mem_free(softs, (char*)raid_map, raidmap_alloc_size); in pqisrc_get_device_raidmap()1039 raidmap_alloc_size = raidmap_reported_size; in pqisrc_get_device_raidmap()