Lines Matching refs:mir
137 #define AAC_MIR_SIZE(softs, acc, mir) \ argument
139 (uint64_t)ddi_get32((acc), &(mir)->MntObj.Capacity) + \
140 ((uint64_t)ddi_get32((acc), &(mir)->MntObj.CapacityHigh) << 32) : \
141 (uint64_t)ddi_get32((acc), &(mir)->MntObj.Capacity))
3347 struct aac_mntinforesp *mir; in aac_get_mntinfo() local
3361 mir = (struct aac_mntinforesp *)&fibp->data[0]; in aac_get_mntinfo()
3362 if (ddi_get32(acc, &mir->Status) == ST_OK) in aac_get_mntinfo()
3363 return (mir); in aac_get_mntinfo()
3371 struct aac_mntinforesp *mir; in aac_get_container_count() local
3377 if ((mir = aac_get_mntinfo(softs, 0)) == NULL) { in aac_get_container_count()
3381 *count = ddi_get32(acc, &mir->MntRespCount); in aac_get_container_count()
3424 struct aac_mntinforesp *mir; in aac_get_container_info() local
3432 if ((mir = aac_get_mntinfo(softs, cid)) == NULL) { in aac_get_container_info()
3437 if (ddi_get32(acc, &mir->MntObj.VolType) == CT_NONE) in aac_get_container_info()
3438 return (mir); in aac_get_container_info()
3445 ddi_put32(acc, &mir->Status, uid); in aac_get_container_info()
3446 return (mir); in aac_get_container_info()
3454 struct aac_mntinforesp *mir; in aac_probe_container() local
3461 if ((mir = aac_get_container_info(softs, cid)) == NULL) { in aac_probe_container()
3466 if (ddi_get32(acc, &mir->MntObj.VolType) == CT_NONE) { in aac_probe_container()
3480 size = AAC_MIR_SIZE(softs, acc, mir); in aac_probe_container()
3481 uid = ddi_get32(acc, &mir->Status); in aac_probe_container()
3502 ddi_get32(acc, &mir->MntObj.CapacityHigh), in aac_probe_container()
3503 ddi_get32(acc, &mir->MntObj.Capacity), in aac_probe_container()
3504 ddi_get32(acc, &mir->MntObj.VolType), in aac_probe_container()
3505 mir->MntObj.FileSystemName); in aac_probe_container()