Searched refs:qdisk (Results 1 – 1 of 1) sorted by relevance
671 struct aac_query_disk *qdisk = &un.d; in aac_query_disk() local676 if (ddi_copyin((void *)arg, qdisk, sizeof (*qdisk), mode) != 0) in aac_query_disk()679 if (qdisk->container_no == -1) { in aac_query_disk()680 qdisk->container_no = qdisk->target * 16 + qdisk->lun; in aac_query_disk()681 } else if (qdisk->bus == -1 && qdisk->target == -1 && in aac_query_disk()682 qdisk->lun == -1) { in aac_query_disk()683 if (qdisk->container_no >= AAC_MAX_CONTAINERS) in aac_query_disk()685 qdisk->bus = 0; in aac_query_disk()686 qdisk->target = (qdisk->container_no & 0xf); in aac_query_disk()687 qdisk->lun = (qdisk->container_no >> 4); in aac_query_disk()[all …]