Lines Matching defs:sim
900 //one cam sim per scsi bus
910 pmsc->sim = lsim;
911 bus = cam_sim_path(pmsc->sim);
1133 mtx_init( &pmsc->freezeLock, "sim freeze lock", NULL, MTX_DEF | MTX_RECURSE);
1787 struct cam_sim *sim (IN) Pointer to SIM data structure
1792 static void agtiapi_cam_action( struct cam_sim *sim, union ccb * ccb )
1802 pmcsc = cam_sim_softc( sim );
1841 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
1842 cpi->unit_number = cam_sim_unit(sim);
1843 cpi->bus_id = cam_sim_bus(sim);
2476 xpt_freeze_simq(pmcsc->sim, 1);
2551 xpt_freeze_simq(pmcsc->sim, 1);
3457 xpt_freeze_simq( pmcsc->sim, 1 );
3490 xpt_freeze_simq( pmcsc->sim, 1 );
3591 xpt_freeze_simq( pmcsc->sim, 1 );
3624 xpt_freeze_simq( pmcsc->sim, 1 );
3988 xpt_release_simq(pmcsc->sim, 1);
4051 xpt_freeze_simq(pmcsc->sim, 1);
5652 bus = cam_sim_path(pmcsc->sim);
6545 if (pCard->sim != NULL)
6562 xpt_release_simq(pCard->sim, 1);
6564 xpt_bus_deregister(cam_sim_path(pCard->sim));
6565 cam_sim_free(pCard->sim, FALSE);