Lines Matching refs:sim
49 static void nvme_sim_action(struct cam_sim *sim, union ccb *ccb);
50 static void nvme_sim_poll(struct cam_sim *sim);
52 #define sim2softc(sim) ((struct nvme_sim_softc *)cam_sim_softc(sim)) argument
53 #define sim2ctrlr(sim) (sim2softc(sim)->s_ctrlr) argument
85 nvme_sim_nvmeio(struct cam_sim *sim, union ccb *ccb) in nvme_sim_nvmeio() argument
93 ctrlr = sim2ctrlr(sim); in nvme_sim_nvmeio()
143 nvme_sim_action(struct cam_sim *sim, union ccb *ccb) in nvme_sim_action() argument
151 ctrlr = sim2ctrlr(sim); in nvme_sim_action()
191 cpi->bus_id = cam_sim_bus(sim); in nvme_sim_action()
195 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); in nvme_sim_action()
196 cpi->unit_number = cam_sim_unit(sim); in nvme_sim_action()
280 nvme_sim_nvmeio(sim, ccb); in nvme_sim_action()
292 nvme_sim_nvmeio(sim, ccb); in nvme_sim_action()
302 nvme_sim_poll(struct cam_sim *sim) in nvme_sim_poll() argument
305 nvme_ctrlr_poll(sim2ctrlr(sim)); in nvme_sim_poll()