| /NextBSD/contrib/gdb/ |
| HD | md5.sum | 947 f9091e979a4b5b37ffb8f2191092980b gdb/remote-sim.c 987 64b60e671780f77b2c47d36f10424e3f gdb/sim-regno.h 1384 02e78a5ad96f597e427eab14b53d18cd gdb/config/powerpc/ppc-sim.mt 1391 c35fb4f5df5c4139168bfe23ecc0b9d4 gdb/config/powerpc/tm-ppcle-sim.h 1680 b2359c524273c898f41c76addbe8ec67 gdb/testsuite/config/sim.exp 2532 f82f523d8986bd2629735dc0168d23ac include/gdb/remote-sim.h 2534 ce7a140e30b81d1a5ec659db7c1174a8 include/gdb/sim-arm.h 2535 d20f0550570881a6fe50970fa97c59ef include/gdb/sim-d10v.h 2536 c921d95bb01b346a3eb54ca76d013286 include/gdb/sim-frv.h 2537 afea2e92f0da83e7b29f93cd2d28c2ca include/gdb/sim-h8300.h [all …]
|
| /NextBSD/sys/cam/ |
| HD | cam_sim.c | 67 struct cam_sim *sim; in cam_sim_alloc() local 72 sim = (struct cam_sim *)malloc(sizeof(struct cam_sim), in cam_sim_alloc() 75 if (sim == NULL) in cam_sim_alloc() 78 sim->sim_action = sim_action; in cam_sim_alloc() 79 sim->sim_poll = sim_poll; in cam_sim_alloc() 80 sim->sim_name = sim_name; in cam_sim_alloc() 81 sim->softc = softc; in cam_sim_alloc() 82 sim->path_id = CAM_PATH_ANY; in cam_sim_alloc() 83 sim->unit_number = unit; in cam_sim_alloc() 84 sim->bus_id = 0; /* set in xpt_bus_register */ in cam_sim_alloc() [all …]
|
| HD | cam_sim.h | 48 typedef void (*sim_action_func)(struct cam_sim *sim, union ccb *ccb); 49 typedef void (*sim_poll_func)(struct cam_sim *sim); 63 void cam_sim_free(struct cam_sim *sim, int free_devq); 64 void cam_sim_hold(struct cam_sim *sim); 65 void cam_sim_release(struct cam_sim *sim); 68 void cam_sim_set_path(struct cam_sim *sim, u_int32_t path_id); 73 static __inline u_int32_t cam_sim_path(struct cam_sim *sim); 74 static __inline const char * cam_sim_name(struct cam_sim *sim); 75 static __inline void * cam_sim_softc(struct cam_sim *sim); 76 static __inline u_int32_t cam_sim_unit(struct cam_sim *sim); [all …]
|
| HD | cam_xpt.c | 257 static void xptaction(struct cam_sim *sim, union ccb *work_ccb); 258 static void xptpoll(struct cam_sim *sim); 1016 path->bus->sim->sim_name, in xpt_announce_periph() 1017 path->bus->sim->unit_number, in xpt_announce_periph() 1018 path->bus->sim->bus_id, in xpt_announce_periph() 1069 path->bus->sim->sim_name, in xpt_denounce_periph() 1070 path->bus->sim->unit_number, in xpt_denounce_periph() 1071 path->bus->sim->bus_id, in xpt_denounce_periph() 1247 && (cur_pattern->bus_id != bus->sim->bus_id)) in xptbusmatch() 1251 && (cur_pattern->unit_number != bus->sim->unit_number)) in xptbusmatch() [all …]
|
| HD | cam_xpt_sim.h | 40 int32_t xpt_bus_register(struct cam_sim *sim, device_t parent, 43 u_int32_t xpt_freeze_simq(struct cam_sim *sim, u_int count); 44 void xpt_release_simq(struct cam_sim *sim, int run_queue);
|
| /NextBSD/sys/dev/iscsi_initiator/ |
| HD | isc_cam.c | 60 _inq(struct cam_sim *sim, union ccb *ccb) in _inq() argument 63 isc_session_t *sp = cam_sim_softc(sim); in _inq() 76 cpi->bus_id = cam_sim_bus(sim); in _inq() 80 strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); in _inq() 81 cpi->unit_number = cam_sim_unit(sim); in _inq() 90 _scsi_encap(struct cam_sim *sim, union ccb *ccb) in _scsi_encap() argument 95 ret = scsi_encap(sim, ccb); in _scsi_encap() 97 isc_session_t *sp = cam_sim_softc(sim); in _scsi_encap() 100 ret = scsi_encap(sim, ccb); in _scsi_encap() 168 ic_action(struct cam_sim *sim, union ccb *ccb) in ic_action() argument [all …]
|
| /NextBSD/sys/dev/aac/ |
| HD | aac_cam.c | 72 struct cam_sim *sim; member 113 struct aac_sim *sim; in aac_cam_rescan() local 119 TAILQ_FOREACH(sim, &sc->aac_sim_tqh, sim_link) { in aac_cam_rescan() 120 camsc = sim->aac_cam; in aac_cam_rescan() 133 cam_sim_path(camsc->sim), in aac_cam_rescan() 157 xpt_release_simq(camsc->sim, 1); in aac_cam_event() 191 xpt_bus_deregister(cam_sim_path(camsc->sim)); in aac_cam_detach() 192 cam_sim_free(camsc->sim, /*free_devq*/TRUE); in aac_cam_detach() 208 struct cam_sim *sim; in aac_cam_attach() local 224 sim = cam_sim_alloc(aac_cam_action, aac_cam_poll, "aacp", camsc, in aac_cam_attach() [all …]
|
| /NextBSD/sys/dev/aic7xxx/ |
| HD | aic7xxx_osm.c | 56 static void ahc_action(struct cam_sim *sim, union ccb *ccb); 64 static void ahc_poll(struct cam_sim *sim); 65 static void ahc_setup_data(struct ahc_softc *ahc, struct cam_sim *sim, 67 static void ahc_abort_ccb(struct ahc_softc *ahc, struct cam_sim *sim, 83 path_id = cam_sim_path(ahc->platform_data->sim); in ahc_create_path() 151 struct cam_sim *sim; in ahc_attach() local 158 sim = NULL; in ahc_attach() 197 sim = cam_sim_alloc(ahc_action, ahc_poll, "ahc", ahc, in ahc_attach() 200 if (sim == NULL) { in ahc_attach() 205 if (xpt_bus_register(sim, ahc->dev_softc, bus_id) != CAM_SUCCESS) { in ahc_attach() [all …]
|
| HD | aic7xxx_osm.h | 92 #define SIM_IS_SCSIBUS_B(ahc, sim) \ argument 93 ((sim) == ahc->platform_data->sim_b) 94 #define SIM_CHANNEL(ahc, sim) \ argument 95 (((sim) == ahc->platform_data->sim_b) ? 'B' : 'A') 96 #define SIM_SCSI_ID(ahc, sim) \ argument 97 (((sim) == ahc->platform_data->sim_b) ? ahc->our_id_b : ahc->our_id) 98 #define SIM_PATH(ahc, sim) \ argument 99 (((sim) == ahc->platform_data->sim_b) ? ahc->platform_data->path_b \ 101 #define BUILD_SCSIID(ahc, sim, target_id, our_id) \ argument 103 | (SIM_IS_SCSIBUS_B(ahc, sim) ? TWIN_CHNLB : 0)) [all …]
|
| HD | aic79xx_osm.c | 60 static void ahd_action(struct cam_sim *sim, union ccb *ccb); 71 static void ahd_poll(struct cam_sim *sim); 72 static void ahd_setup_data(struct ahd_softc *ahd, struct cam_sim *sim, 74 static void ahd_abort_ccb(struct ahd_softc *ahd, struct cam_sim *sim, 147 path_id = cam_sim_path(ahd->platform_data->sim); in ahd_create_path() 218 struct cam_sim *sim; in ahd_attach() local 224 sim = NULL; in ahd_attach() 247 sim = cam_sim_alloc(ahd_action, ahd_poll, "ahd", ahd, in ahd_attach() 250 if (sim == NULL) { in ahd_attach() 255 if (xpt_bus_register(sim, ahd->dev_softc, /*bus_id*/0) != CAM_SUCCESS) { in ahd_attach() [all …]
|
| HD | aic79xx_osm.h | 82 #define SIM_IS_SCSIBUS_B(ahd, sim) \ argument 84 #define SIM_CHANNEL(ahd, sim) \ argument 86 #define SIM_SCSI_ID(ahd, sim) \ argument 88 #define SIM_PATH(ahd, sim) \ argument 90 #define BUILD_SCSIID(ahd, sim, target_id, our_id) \ argument 95 ((ahd)->platform_data->sim) 128 struct cam_sim *sim; member 228 xpt_freeze_simq(aic->platform_data->sim, /*count*/1); in aic_freeze_simq() 234 xpt_release_simq(aic->platform_data->sim, /*run queue*/TRUE); in aic_release_simq()
|
| /NextBSD/sys/dev/twa/ |
| HD | tw_osl_cam.c | 56 static TW_VOID twa_action(struct cam_sim *sim, union ccb *ccb); 57 static TW_VOID twa_poll(struct cam_sim *sim); 100 sc->sim = cam_sim_alloc(twa_action, twa_poll, "twa", sc, in tw_osli_cam_attach() 103 if (sc->sim == NULL) { in tw_osli_cam_attach() 119 if (xpt_bus_register(sc->sim, sc->bus_dev, 0) != CAM_SUCCESS) { in tw_osli_cam_attach() 120 cam_sim_free(sc->sim, TRUE); in tw_osli_cam_attach() 121 sc->sim = NULL; /* so cam_detach will not try to free it */ in tw_osli_cam_attach() 134 cam_sim_path(sc->sim), in tw_osli_cam_attach() 137 xpt_bus_deregister(cam_sim_path (sc->sim)); in tw_osli_cam_attach() 139 cam_sim_free(sc->sim, TRUE); in tw_osli_cam_attach() [all …]
|
| /NextBSD/sys/dev/mfi/ |
| HD | mfi_cam.c | 78 struct cam_sim *sim; member 142 sc->sim = cam_sim_alloc(mfip_cam_action, mfip_cam_poll, "mfi", sc, in mfip_attach() 145 if (sc->sim == NULL) { in mfip_attach() 155 if (xpt_bus_register(sc->sim, dev, 0) != 0) { in mfip_attach() 157 cam_sim_free(sc->sim, FALSE); in mfip_attach() 158 sc->sim = NULL; in mfip_attach() 188 if (sc->sim != NULL) { in mfip_detach() 190 xpt_bus_deregister(cam_sim_path(sc->sim)); in mfip_detach() 191 cam_sim_free(sc->sim, FALSE); in mfip_detach() 192 sc->sim = NULL; in mfip_detach() [all …]
|
| /NextBSD/sys/dev/ppbus/ |
| HD | vpo.c | 73 struct cam_sim *sim; member 84 static void vpo_action(struct cam_sim *sim, union ccb *ccb); 85 static void vpo_poll(struct cam_sim *sim); 161 vpo->sim = cam_sim_alloc(vpo_action, vpo_poll, "vpo", vpo, in vpo_attach() 164 if (vpo->sim == NULL) { in vpo_attach() 170 if (xpt_bus_register(vpo->sim, dev, /*bus*/0) != CAM_SUCCESS) { in vpo_attach() 171 cam_sim_free(vpo->sim, /*free_devq*/TRUE); in vpo_attach() 298 vpo_action(struct cam_sim *sim, union ccb *ccb) in vpo_action() argument 300 struct vpo_data *vpo = (struct vpo_data *)sim->softc; in vpo_action() 385 cpi->bus_id = sim->bus_id; in vpo_action() [all …]
|
| /NextBSD/sys/dev/isci/ |
| HD | isci_controller.c | 56 void isci_action(struct cam_sim *sim, union ccb *ccb); 57 void isci_poll(struct cam_sim *sim); 247 controller->sim = NULL; in isci_controller_construct() 385 xpt_freeze_simq(controller->sim, 1); in isci_controller_initialize() 579 xpt_release_simq(isci_controller->sim, TRUE); in isci_controller_domain_discovery_complete() 590 cam_sim_path(isci_controller->sim), in isci_controller_domain_discovery_complete() 629 controller->sim = cam_sim_alloc(isci_action, isci_poll, "isci", in isci_controller_attach_to_cam() 633 if(controller->sim == NULL) { in isci_controller_attach_to_cam() 639 if(xpt_bus_register(controller->sim, parent, controller->index) in isci_controller_attach_to_cam() 642 cam_sim_free(controller->sim, TRUE); in isci_controller_attach_to_cam() [all …]
|
| /NextBSD/sys/dev/aacraid/ |
| HD | aacraid_cam.c | 103 struct cam_sim *sim; member 185 struct aac_sim *sim; in aac_cam_rescan() local 191 TAILQ_FOREACH(sim, &sc->aac_sim_tqh, sim_link) { in aac_cam_rescan() 192 camsc = sim->aac_cam; in aac_cam_rescan() 205 cam_sim_path(camsc->sim), in aac_cam_rescan() 229 xpt_release_simq(camsc->sim, 1); in aac_cam_event() 271 xpt_bus_deregister(cam_sim_path(camsc->sim)); in aac_cam_detach() 272 cam_sim_free(camsc->sim, /*free_devq*/TRUE); in aac_cam_detach() 288 struct cam_sim *sim; in aac_cam_attach() local 305 sim = aac_sim_alloc(aac_cam_action, aac_cam_poll, "aacraidp", camsc, in aac_cam_attach() [all …]
|
| /NextBSD/sys/dev/mrsas/ |
| HD | mrsas_cam.c | 61 int mrsas_find_io_type(struct cam_sim *sim, union ccb *ccb); 63 int mrsas_bus_scan_sim(struct mrsas_softc *sc, struct cam_sim *sim); 72 union ccb *ccb, struct cam_sim *sim); 91 static void mrsas_freeze_simq(struct mrsas_mpt_cmd *cmd, struct cam_sim *sim); 92 static void mrsas_cam_poll(struct cam_sim *sim); 93 static void mrsas_action(struct cam_sim *sim, union ccb *ccb); 99 mrsas_startio(struct mrsas_softc *sc, struct cam_sim *sim, 253 mrsas_action(struct cam_sim *sim, union ccb *ccb) in mrsas_action() argument 255 struct mrsas_softc *sc = (struct mrsas_softc *)cam_sim_softc(sim); in mrsas_action() 267 if (cam_sim_bus(sim) == 1 && in mrsas_action() [all …]
|
| /NextBSD/tools/tools/vhba/ |
| HD | vhba.c | 49 …vhba->sim = cam_sim_alloc(vhba_action, vhba_poll, VHBA_MOD, vhba, 0, &vhba->lock, VHBA_MAXCMDS, VH… in vhba_attach() 50 if (vhba->sim == NULL) { in vhba_attach() 56 if (xpt_bus_register(vhba->sim, 0, 0) != CAM_SUCCESS) { in vhba_attach() 57 cam_sim_free(vhba->sim, TRUE); in vhba_attach() 72 xpt_bus_deregister(cam_sim_path(vhba->sim)); in vhba_detach() 73 cam_sim_free(vhba->sim, TRUE); in vhba_detach() 77 vhba_poll(struct cam_sim *sim) in vhba_poll() argument 79 vhba_softc_t *vhba = cam_sim_softc(sim); in vhba_poll() 84 vhba_action(struct cam_sim *sim, union ccb *ccb) in vhba_action() argument 89 vhba = cam_sim_softc(sim); in vhba_action() [all …]
|
| /NextBSD/sys/dev/ahci/ |
| HD | ahciem.c | 57 static void ahciemaction(struct cam_sim *sim, union ccb *ccb); 58 static void ahciempoll(struct cam_sim *sim); 122 enc->sim = cam_sim_alloc(ahciemaction, ahciempoll, "ahciem", enc, in ahci_em_attach() 125 if (enc->sim == NULL) { in ahci_em_attach() 131 if (xpt_bus_register(enc->sim, dev, 0) != CAM_SUCCESS) { in ahci_em_attach() 136 if (xpt_create_path(&enc->path, /*periph*/NULL, cam_sim_path(enc->sim), in ahci_em_attach() 185 xpt_bus_deregister(cam_sim_path(enc->sim)); in ahci_em_attach() 187 cam_sim_free(enc->sim, /*free_devq*/TRUE); in ahci_em_attach() 213 xpt_bus_deregister(cam_sim_path(enc->sim)); in ahci_em_detach() 214 cam_sim_free(enc->sim, /*free_devq*/TRUE); in ahci_em_detach() [all …]
|
| /NextBSD/sys/dev/wds/ |
| HD | wd7000.c | 304 struct cam_sim *sim; /* SIM descriptor for this card */ member 329 static void wds_action(struct cam_sim * sim, union ccb * ccb); 330 static void wds_poll(struct cam_sim * sim); 341 static void wds_scsi_io(struct cam_sim * sim, struct ccb_scsiio * csio); 516 struct cam_sim *sim; in wds_attach() local 606 sim = cam_sim_alloc(wds_action, wds_poll, "wds", (void *) wp, in wds_attach() 608 if (sim == NULL) { in wds_attach() 612 wp->sim = sim; in wds_attach() 615 if (xpt_bus_register(sim, dev, 0) != CAM_SUCCESS) { in wds_attach() 616 cam_sim_free(sim, /* free_devq */ TRUE); in wds_attach() [all …]
|
| /NextBSD/sys/dev/tws/ |
| HD | tws_cam.c | 47 static void tws_action(struct cam_sim *sim, union ccb *ccb); 48 static void tws_poll(struct cam_sim *sim); 159 sc->sim = cam_sim_alloc(tws_action, tws_poll, "tws", sc, in tws_cam_attach() 166 if (sc->sim == NULL) { in tws_cam_attach() 172 if (xpt_bus_register(sc->sim, in tws_cam_attach() 177 cam_sim_free(sc->sim, TRUE); /* passing true will free the devq */ in tws_cam_attach() 178 sc->sim = NULL; /* so cam_detach will not try to free it */ in tws_cam_attach() 183 if (xpt_create_path(&sc->path, NULL, cam_sim_path(sc->sim), in tws_cam_attach() 186 xpt_bus_deregister(cam_sim_path(sc->sim)); in tws_cam_attach() 188 cam_sim_free(sc->sim, TRUE); in tws_cam_attach() [all …]
|
| /NextBSD/sys/cam/ctl/ |
| HD | ctl_frontend_cam_sim.c | 78 struct cam_sim *sim; member 98 static void cfcs_poll(struct cam_sim *sim); 103 void cfcs_action(struct cam_sim *sim, union ccb *ccb); 192 softc->sim = cam_sim_alloc(cfcs_action, cfcs_poll, softc->port_name, in cfcs_init() 195 if (softc->sim == NULL) { in cfcs_init() 201 if (xpt_bus_register(softc->sim, NULL, 0) != CAM_SUCCESS) { in cfcs_init() 208 cam_sim_path(softc->sim), in cfcs_init() 212 xpt_bus_deregister(cam_sim_path(softc->sim)); in cfcs_init() 221 csa.callback_arg = softc->sim; in cfcs_init() 229 if (softc->sim) in cfcs_init() [all …]
|
| /NextBSD/sys/dev/ata/ |
| HD | ata-all.c | 60 static void ataaction(struct cam_sim *sim, union ccb *ccb); 61 static void atapoll(struct cam_sim *sim); 184 ch->sim = cam_sim_alloc(ataaction, atapoll, "ata", ch, in ata_attach() 186 if (ch->sim == NULL) { in ata_attach() 192 if (xpt_bus_register(ch->sim, dev, 0) != CAM_SUCCESS) { in ata_attach() 197 if (xpt_create_path(&ch->path, /*periph*/NULL, cam_sim_path(ch->sim), in ata_attach() 207 xpt_bus_deregister(cam_sim_path(ch->sim)); in ata_attach() 209 cam_sim_free(ch->sim, /*free_devq*/TRUE); in ata_attach() 210 ch->sim = NULL; in ata_attach() 240 xpt_bus_deregister(cam_sim_path(ch->sim)); in ata_detach() [all …]
|
| /NextBSD/sys/dev/amr/ |
| HD | amr_cam.c | 89 static void amr_cam_action(struct cam_sim *sim, union ccb *ccb); 90 static void amr_cam_poll(struct cam_sim *sim); 243 amr_cam_action(struct cam_sim *sim, union ccb *ccb) in amr_cam_action() argument 245 struct amr_softc *sc = cam_sim_softc(sim); in amr_cam_action() 295 csio->ccb_h.sim_priv.entries[0].field= cam_sim_bus(sim); in amr_cam_action() 328 strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); in amr_cam_action() 329 cpi->unit_number = cam_sim_unit(sim); in amr_cam_action() 330 cpi->bus_id = cam_sim_bus(sim); in amr_cam_action() 535 amr_cam_poll(struct cam_sim *sim) in amr_cam_poll() argument 538 amr_done(cam_sim_softc(sim)); in amr_cam_poll()
|
| /NextBSD/sys/dev/advansys/ |
| HD | 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); in adv_set_state() 194 adv_action(struct cam_sim *sim, union ccb *ccb) in adv_action() argument 200 adv = (struct adv_softc *)cam_sim_softc(sim); in adv_action() 430 cpi->bus_id = cam_sim_bus(sim); in adv_action() 434 strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); in adv_action() 435 cpi->unit_number = cam_sim_unit(sim); in adv_action() 463 struct cam_sim *sim; in adv_execute_ccb() local 471 sim = xpt_path_sim(ccb_h->path); in adv_execute_ccb() [all …]
|