/freebsd-11-stable/sys/powerpc/pseries/ |
H A D | phyp_vscsi.c | 98 struct cam_sim *sim; member in struct:vscsi_softc 358 sc->sim = cam_sim_alloc(vscsi_cam_action, vscsi_cam_poll, "vscsi", sc, 362 if (sc->sim == NULL) { 371 if (xpt_bus_register(sc->sim, dev, 0) != 0) { 373 cam_sim_free(sc->sim, FALSE); 374 sc->sim = NULL; 394 if (sc->sim != NULL) { 396 xpt_bus_deregister(cam_sim_path(sc->sim)); 397 cam_sim_free(sc->sim, FALSE); 398 sc->sim 413 vscsi_cam_action(struct cam_sim *sim, union ccb *ccb) argument 919 vscsi_cam_poll(struct cam_sim *sim) argument [all...] |
/freebsd-11-stable/sys/cam/ctl/ |
H A D | ctl_frontend_cam_sim.c | 75 struct cam_sim *sim; member in struct:cfcs_softc 95 static void cfcs_poll(struct cam_sim *sim); 100 void cfcs_action(struct cam_sim *sim, union ccb *ccb); 184 softc->sim = cam_sim_alloc(cfcs_action, cfcs_poll, softc->port_name, 187 if (softc->sim == NULL) { 193 if (xpt_bus_register(softc->sim, NULL, 0) != CAM_SUCCESS) { 200 cam_sim_path(softc->sim), 204 xpt_bus_deregister(cam_sim_path(softc->sim)); 212 if (softc->sim) 213 cam_sim_free(softc->sim, /*free_dev 238 cfcs_poll(struct cam_sim *sim) argument 488 cfcs_action(struct cam_sim *sim, union ccb *ccb) argument [all...] |
/freebsd-11-stable/sys/dev/advansys/ |
H A D | advansys.c | 80 static void adv_action(struct cam_sim *sim, union ccb *ccb); 84 static void adv_poll(struct cam_sim *sim); 128 xpt_freeze_simq(adv->sim, /*count*/1); 194 adv_action(struct cam_sim *sim, union ccb *ccb) argument 200 adv = (struct adv_softc *)cam_sim_softc(sim); 426 cpi->bus_id = cam_sim_bus(sim); 430 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); 431 cpi->unit_number = cam_sim_unit(sim); 459 struct cam_sim *sim; local 467 sim 1234 adv_poll(struct cam_sim *sim) argument [all...] |
H A D | adwcam.c | 90 static void adw_action(struct cam_sim *sim, union ccb *ccb); 92 static void adw_poll(struct cam_sim *sim); 332 adw_action(struct cam_sim *sim, union ccb *ccb) argument 338 adw = (struct adw_softc *)cam_sim_softc(sim); 361 xpt_freeze_simq(sim, /*count*/1); 432 xpt_freeze_simq(sim, 1); 709 cpi->bus_id = cam_sim_bus(sim); 713 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); 714 cpi->unit_number = cam_sim_unit(sim); 731 adw_poll(struct cam_sim *sim) argument [all...] |
/freebsd-11-stable/sys/dev/ahb/ |
H A D | ahb.c | 88 static void ahbaction(struct cam_sim *sim, union ccb *ccb); 89 static void ahbpoll(struct cam_sim *sim); 547 ahb->sim = cam_sim_alloc(ahbaction, ahbpoll, "ahb", ahb, 549 if (ahb->sim == NULL) { 555 if (xpt_bus_register(ahb->sim, ahb->dev, 0) != CAM_SUCCESS) { 556 cam_sim_free(ahb->sim, /*free_devq*/TRUE); 562 cam_sim_path(ahb->sim), CAM_TARGET_WILDCARD, 564 xpt_bus_deregister(cam_sim_path(ahb->sim)); 565 cam_sim_free(ahb->sim, /*free_devq*/TRUE); 993 ahbaction(struct cam_sim *sim, unio argument 1206 ahbpoll(struct cam_sim *sim) argument [all...] |
/freebsd-11-stable/sys/dev/hptrr/ |
H A D | hptrr_osm_bsd.c | 408 static void hpt_action(struct cam_sim *sim, union ccb *ccb); 409 static void hpt_poll(struct cam_sim *sim); 743 static void hpt_action(struct cam_sim *sim, union ccb *ccb) argument 745 PVBUS_EXT vbus_ext = (PVBUS_EXT)cam_sim_softc(sim); 780 cpi->unit_number = cam_sim_unit(sim); 781 cpi->bus_id = cam_sim_bus(sim); 787 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); 813 static void hpt_poll(struct cam_sim *sim) argument 815 PVBUS_EXT vbus_ext = cam_sim_softc(sim); 1055 vbus_ext->sim [all...] |
/freebsd-11-stable/sys/powerpc/ps3/ |
H A D | ps3cdrom.c | 133 static void ps3cdrom_action(struct cam_sim *sim, union ccb *ccb); 134 static void ps3cdrom_poll(struct cam_sim *sim); 336 ps3cdrom_action(struct cam_sim *sim, union ccb *ccb) argument 338 struct ps3cdrom_softc *sc = (struct ps3cdrom_softc *)cam_sim_softc(sim); 420 cpi->bus_id = cam_sim_bus(sim); 421 cpi->unit_number = cam_sim_unit(sim); 425 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); 446 ps3cdrom_poll(struct cam_sim *sim) argument 448 ps3cdrom_intr(cam_sim_softc(sim));
|
/freebsd-11-stable/sys/dev/siis/ |
H A D | siis.c | 91 static void siisaction(struct cam_sim *sim, union ccb *ccb); 92 static void siispoll(struct cam_sim *sim); 513 ch->sim = cam_sim_alloc(siisaction, siispoll, "siisch", ch, 515 if (ch->sim == NULL) { 517 device_printf(dev, "unable to allocate sim\n"); 521 if (xpt_bus_register(ch->sim, dev, 0) != CAM_SUCCESS) { 526 if (xpt_create_path(&ch->path, /*periph*/NULL, cam_sim_path(ch->sim), 537 xpt_bus_deregister(cam_sim_path(ch->sim)); 539 cam_sim_free(ch->sim, /*free_devq*/TRUE); 558 xpt_bus_deregister(cam_sim_path(ch->sim)); 1804 siisaction(struct cam_sim *sim, union ccb *ccb) argument 1982 siispoll(struct cam_sim *sim) argument [all...] |
/freebsd-11-stable/sys/dev/aha/ |
H A D | aha.c | 170 static void ahaaction(struct cam_sim *sim, union ccb *ccb); 171 static void ahapoll(struct cam_sim *sim); 607 aha->sim = cam_sim_alloc(ahaaction, ahapoll, "aha", aha, 610 if (aha->sim == NULL) { 615 if (xpt_bus_register(aha->sim, aha->dev, 0) != CAM_SUCCESS) { 616 cam_sim_free(aha->sim, /*free_devq*/TRUE); 620 if (xpt_create_path(&aha->path, /*periph*/NULL, cam_sim_path(aha->sim), 622 xpt_bus_deregister(cam_sim_path(aha->sim)); 623 cam_sim_free(aha->sim, /*free_devq*/TRUE); 733 ahaaction(struct cam_sim *sim, unio argument 1711 ahapoll(struct cam_sim *sim) argument [all...] |
/freebsd-11-stable/sys/cam/ |
H A D | cam_xpt_internal.h | 98 struct cam_sim *sim; member in struct:cam_ed 182 struct cam_sim *sim; member in struct:cam_eb
|
/freebsd-11-stable/sys/dev/hpt27xx/ |
H A D | hpt27xx_osm_bsd.c | 409 static void hpt_action(struct cam_sim *sim, union ccb *ccb); 410 static void hpt_poll(struct cam_sim *sim); 877 static void hpt_action(struct cam_sim *sim, union ccb *ccb) argument 879 PVBUS_EXT vbus_ext = (PVBUS_EXT)cam_sim_softc(sim); 932 cpi->unit_number = cam_sim_unit(sim); 933 cpi->bus_id = cam_sim_bus(sim); 939 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); 965 static void hpt_poll(struct cam_sim *sim) argument 968 hpt_pci_intr(cam_sim_softc(sim)); 970 PVBUS_EXT vbus_ext = (PVBUS_EXT)cam_sim_softc(sim); [all...] |
/freebsd-11-stable/tools/tools/vhba/ |
H A D | vhba.h | 74 struct cam_sim * sim; member in struct:__anon13739
|
/freebsd-11-stable/sys/dev/mrsas/ |
H A D | mrsas_cam.c | 60 int mrsas_find_io_type(struct cam_sim *sim, union ccb *ccb); 62 int mrsas_bus_scan_sim(struct mrsas_softc *sc, struct cam_sim *sim); 74 union ccb *ccb, struct cam_sim *sim, u_int8_t fp_possible); 93 static void mrsas_freeze_simq(struct mrsas_mpt_cmd *cmd, struct cam_sim *sim); 94 static void mrsas_cam_poll(struct cam_sim *sim); 95 static void mrsas_action(struct cam_sim *sim, union ccb *ccb); 106 mrsas_startio(struct mrsas_softc *sc, struct cam_sim *sim, 271 mrsas_action(struct cam_sim *sim, union ccb *ccb) argument 273 struct mrsas_softc *sc = (struct mrsas_softc *)cam_sim_softc(sim); 296 if (cam_sim_bus(sim) 455 mrsas_startio(struct mrsas_softc *sc, struct cam_sim *sim, union ccb *ccb) argument 693 mrsas_find_io_type(struct cam_sim *sim, union ccb *ccb) argument 1275 mrsas_build_syspdio(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd, union ccb *ccb, struct cam_sim *sim, u_int8_t fp_possible) argument 1475 struct cam_sim *sim; local 1754 mrsas_freeze_simq(struct mrsas_mpt_cmd *cmd, struct cam_sim *sim) argument 1806 mrsas_cam_poll(struct cam_sim *sim) argument 1871 mrsas_bus_scan_sim(struct mrsas_softc *sc, struct cam_sim *sim) argument [all...] |
/freebsd-11-stable/sys/dev/isci/ |
H A D | isci_remote_device.c | 78 /* The sim object has been scanned at least once 81 * If the sim object has not been scanned, this device 87 cam_sim_path(isci_controller->sim), 266 cam_sim_path(remote_device->domain->controller->sim), 283 cam_sim_path(remote_device->domain->controller->sim),
|
H A D | isci_task_request.c | 241 xpt_release_simq(isci_controller->sim, TRUE);
|
/freebsd-11-stable/sys/dev/aic/ |
H A D | aic.c | 53 static void aic_action(struct cam_sim *sim, union ccb *ccb); 69 static void aic_poll(struct cam_sim *sim); 105 aic_action(struct cam_sim *sim, union ccb *ccb) argument 111 aic = (struct aic_softc *)cam_sim_softc(sim); 122 xpt_freeze_simq(aic->sim, /*count*/1); 282 cpi->bus_id = cam_sim_bus(sim); 286 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); 287 cpi->unit_number = cam_sim_unit(sim); 1057 cam_sim_path(aic->sim), 1116 aic_poll(struct cam_sim *sim) argument [all...] |
/freebsd-11-stable/sys/dev/buslogic/ |
H A D | bt.c | 162 static void btaction(struct cam_sim *sim, union ccb *ccb); 163 static void btpoll(struct cam_sim *sim); 889 bt->sim = cam_sim_alloc(btaction, btpoll, "bt", bt, 891 if (bt->sim == NULL) { 897 if (xpt_bus_register(bt->sim, dev, 0) != CAM_SUCCESS) { 898 cam_sim_free(bt->sim, /*free_devq*/TRUE); 904 cam_sim_path(bt->sim), CAM_TARGET_WILDCARD, 906 xpt_bus_deregister(cam_sim_path(bt->sim)); 907 cam_sim_free(bt->sim, /*free_devq*/TRUE); 1110 btaction(struct cam_sim *sim, unio argument 2283 btpoll(struct cam_sim *sim) argument [all...] |
/freebsd-11-stable/sys/dev/mvs/ |
H A D | mvs.c | 94 static void mvsaction(struct cam_sim *sim, union ccb *ccb); 95 static void mvspoll(struct cam_sim *sim); 175 ch->sim = cam_sim_alloc(mvsaction, mvspoll, "mvsch", ch, 179 if (ch->sim == NULL) { 181 device_printf(dev, "unable to allocate sim\n"); 185 if (xpt_bus_register(ch->sim, dev, 0) != CAM_SUCCESS) { 190 if (xpt_create_path(&ch->path, /*periph*/NULL, cam_sim_path(ch->sim), 205 xpt_bus_deregister(cam_sim_path(ch->sim)); 207 cam_sim_free(ch->sim, /*free_devq*/TRUE); 227 xpt_release_simq(ch->sim, TRU 2258 mvsaction(struct cam_sim *sim, union ccb *ccb) argument 2442 mvspoll(struct cam_sim *sim) argument [all...] |
/freebsd-11-stable/sys/dev/hptnr/ |
H A D | hptnr_osm_bsd.c | 402 static void hpt_action(struct cam_sim *sim, union ccb *ccb); 403 static void hpt_poll(struct cam_sim *sim); 1092 static void hpt_action(struct cam_sim *sim, union ccb *ccb) argument 1094 PVBUS_EXT vbus_ext = (PVBUS_EXT)cam_sim_softc(sim); 1132 cpi->unit_number = cam_sim_unit(sim); 1133 cpi->bus_id = cam_sim_bus(sim); 1139 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); 1165 static void hpt_poll(struct cam_sim *sim) argument 1167 PVBUS_EXT vbus_ext = cam_sim_softc(sim); 1408 vbus_ext->sim [all...] |
/freebsd-11-stable/sys/dev/ocs_fc/ |
H A D | ocs_cam.c | 105 struct cam_sim *sim = NULL; local 110 if (NULL == (sim = cam_sim_alloc(ocs_action, ocs_poll, 119 if (CAM_SUCCESS != xpt_bus_register(sim, ocs->dev, chan)) { 122 cam_sim_free(sim, FALSE); 127 if (CAM_REQ_CMP != xpt_create_path(&path, NULL, cam_sim_path(sim), 130 xpt_bus_deregister(cam_sim_path(sim)); 132 cam_sim_free(sim, FALSE); 137 fcp->sim = sim; 150 struct cam_sim *sim local 1950 ocs_action(struct cam_sim *sim, union ccb *ccb) argument 2448 ocs_poll(struct cam_sim *sim) argument [all...] |
/freebsd-11-stable/sys/dev/ahci/ |
H A D | ahci.c | 93 static void ahciaction(struct cam_sim *sim, union ccb *ccb); 94 static void ahcipoll(struct cam_sim *sim); 842 ch->sim = cam_sim_alloc(ahciaction, ahcipoll, "ahcich", ch, 847 if (ch->sim == NULL) { 849 device_printf(dev, "unable to allocate sim\n"); 853 if (xpt_bus_register(ch->sim, dev, 0) != CAM_SUCCESS) { 858 if (xpt_create_path(&ch->path, /*periph*/NULL, cam_sim_path(ch->sim), 879 xpt_bus_deregister(cam_sim_path(ch->sim)); 881 cam_sim_free(ch->sim, /*free_devq*/TRUE); 902 xpt_release_simq(ch->sim, TRU 2644 ahciaction(struct cam_sim *sim, union ccb *ccb) argument 2828 ahcipoll(struct cam_sim *sim) argument [all...] |
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | gdb_mbuild.sh | 254 || echo "--enable-sim-build-warnings=${simopts}"`
|
/freebsd-11-stable/sys/dev/mps/ |
H A D | mps_sas.h | 95 struct cam_sim *sim; member in struct:mpssas_softc
|
/freebsd-11-stable/sys/dev/isp/ |
H A D | isp_freebsd.c | 110 struct cam_sim *sim; local 116 sim = cam_sim_alloc(isp_action, isp_poll, "isp", isp, 119 if (sim == NULL) 123 if (xpt_bus_register(sim, isp->isp_dev, chan) != CAM_SUCCESS) { 125 cam_sim_free(sim, FALSE); 129 if (xpt_create_path(&path, NULL, cam_sim_path(sim), CAM_TARGET_WILDCARD, CAM_LUN_WILDCARD) != CAM_REQ_CMP) { 131 xpt_bus_deregister(cam_sim_path(sim)); 133 cam_sim_free(sim, FALSE); 140 csa.callback_arg = sim; 148 spi->sim 254 struct cam_sim *sim; local 312 struct cam_sim *sim; local 2483 struct cam_sim *sim; local 2520 isp_poll(struct cam_sim *sim) argument 2973 isp_action(struct cam_sim *sim, union ccb *ccb) argument [all...] |
/freebsd-11-stable/sys/dev/virtio/scsi/ |
H A D | virtio_scsi.c | 648 struct cam_sim *sim; local 651 sim = cb_arg; 652 sc = cam_sim_softc(sim); 699 vtscsi_cam_action(struct cam_sim *sim, union ccb *ccb) argument 704 sc = cam_sim_softc(sim); 722 vtscsi_cam_scsi_io(sc, sim, ccb); 752 vtscsi_cam_path_inquiry(sc, sim, ccb); 766 vtscsi_cam_poll(struct cam_sim *sim) argument 770 sc = cam_sim_softc(sim); 776 vtscsi_cam_scsi_io(struct vtscsi_softc *sc, struct cam_sim *sim, argument 920 vtscsi_cam_path_inquiry(struct vtscsi_softc *sc, struct cam_sim *sim, union ccb *ccb) argument [all...] |