/freebsd-current/usr.sbin/mptutil/ |
H A D | mpt_cam.c | 63 union ccb ccb; local 71 bzero(&ccb, sizeof(ccb)); 73 ccb.ccb_h.func_code = XPT_DEV_MATCH; 76 ccb.cdm.num_matches = 0; 77 ccb.cdm.match_buf_len = bufsize; 78 ccb.cdm.matches = calloc(1, bufsize); 81 ccb.cdm.num_patterns = 1; 82 ccb 125 union ccb ccb; local 235 union ccb *ccb; local 347 union ccb *ccb; local 395 union ccb ccb; local 522 union ccb ccb; local [all...] |
/freebsd-current/sys/dev/mpt/ |
H A D | mpt_cam.h | 115 static __inline void mpt_freeze_ccb(union ccb *ccb); 116 static __inline void mpt_set_ccb_status(union ccb *ccb, cam_status status); 119 mpt_freeze_ccb(union ccb *ccb) argument 121 if ((ccb->ccb_h.status & CAM_DEV_QFRZN) == 0) { 122 ccb->ccb_h.status |= CAM_DEV_QFRZN; 123 xpt_freeze_devq(ccb->ccb_h.path, /*count*/1); 128 mpt_set_ccb_status(union ccb *cc argument [all...] |
/freebsd-current/lib/libcam/ |
H A D | scsi_wrap.c | 51 union ccb *ccb = NULL; local 56 ccb = cam_getccb(device); 57 if (ccb == NULL) { 58 warnx("Can't allocate ccb"); 78 scsi_get_physical_element_status(&ccb->csio, 90 ccb->ccb_h.flags |= CAM_DEV_QFRZDIS; 92 if (cam_send_ccb(device, ccb) < 0) { 97 if ((ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { 98 cam_error_print(device, ccb, CAM_ESF_AL 127 union ccb *ccb; local [all...] |
H A D | camlib.c | 63 * Send a ccb to a passthrough device. 66 cam_send_ccb(struct cam_device *device, union ccb *ccb) argument 68 return(ioctl(device->fd, CAMIOCOMMAND, ccb)); 74 union ccb * 77 union ccb *ccb; local 79 ccb = calloc(1, sizeof(*ccb)); 80 if (ccb ! 93 cam_freeccb(union ccb *ccb) argument 276 union ccb ccb; local 422 union ccb ccb; local 504 union ccb ccb; local [all...] |
/freebsd-current/sys/dev/nvmf/host/ |
H A D | nvmf_sim.c | 29 ccb_refs(union ccb *ccb) argument 31 return ((u_int *)&ccb->ccb_h.spriv_field0); 37 nvmf_ccb_done(union ccb *ccb) argument 39 if (!refcount_release(ccb_refs(ccb))) 42 if (nvmf_cqe_aborted(&ccb->nvmeio.cpl)) { 43 ccb->ccb_h.status = CAM_REQUEUE_REQ; 44 xpt_done(ccb); 45 } else if (ccb 62 union ccb *ccb = arg; local 92 union ccb *ccb = arg; local 99 nvmf_sim_io(struct nvmf_softc *sc, union ccb *ccb) argument 148 nvmf_sim_action(struct cam_sim *sim, union ccb *ccb) argument 281 union ccb *ccb; local [all...] |
/freebsd-current/sys/dev/isci/ |
H A D | isci_io_request.c | 87 union ccb *ccb; local 96 ccb = isci_request->ccb; 97 csio = &ccb->csio; 98 ccb->ccb_h.status &= ~CAM_STATUS_MASK; 103 if (ccb->ccb_h.func_code == XPT_SMP_IO) { 108 memcpy(ccb->smpio.smp_response, smp_response, 109 ccb->smpio.smp_response_len); 111 ccb 514 union ccb *ccb; local 689 union ccb *ccb; local 739 isci_io_request_execute_scsi_io(union ccb *ccb, struct ISCI_CONTROLLER *controller) argument 919 isci_io_request_execute_smp_io(union ccb *ccb, struct ISCI_CONTROLLER *controller) argument [all...] |
/freebsd-current/usr.bin/iscsictl/ |
H A D | periphs.c | 67 union ccb ccb; local 82 bzero(&ccb, sizeof(union ccb)); 84 ccb.ccb_h.path_id = CAM_XPT_PATH_ID; 85 ccb.ccb_h.target_id = CAM_TARGET_WILDCARD; 86 ccb.ccb_h.target_lun = CAM_LUN_WILDCARD; 88 ccb.ccb_h.func_code = XPT_DEV_MATCH; 90 ccb.cdm.match_buf_len = bufsize; 91 ccb [all...] |
/freebsd-current/sys/dev/aac/ |
H A D | aac_cam.c | 79 static void aac_cam_action(struct cam_sim *, union ccb *); 85 static u_int32_t aac_cam_reset_bus(struct cam_sim *, union ccb *); 86 static u_int32_t aac_cam_abort_ccb(struct cam_sim *, union ccb *); 87 static u_int32_t aac_cam_term_io(struct cam_sim *, union ccb *); 110 union ccb *ccb; local 123 ccb = xpt_alloc_ccb_nowait(); 124 if (ccb == NULL) { 126 "Cannot allocate ccb for bus rescan.\n"); 130 if (xpt_create_path(&ccb 146 union ccb *ccb; local 253 aac_cam_action(struct cam_sim *sim, union ccb *ccb) argument 525 aac_cam_fix_inquiry(struct aac_softc *sc, union ccb *ccb) argument 574 union ccb *ccb; local 624 aac_cam_reset_bus(struct cam_sim *sim, union ccb *ccb) argument 669 aac_cam_abort_ccb(struct cam_sim *sim, union ccb *ccb) argument 675 aac_cam_term_io(struct cam_sim *sim, union ccb *ccb) argument [all...] |
/freebsd-current/sys/cam/mmc/ |
H A D | mmc_sim.c | 59 if (mmc_sim->ccb == NULL) 62 cts = &mmc_sim->ccb->cts; 63 switch (mmc_sim->ccb->ccb_h.func_code) { 67 mmc_sim->ccb->ccb_h.status = CAM_REQ_INVALID; 69 mmc_sim->ccb->ccb_h.status = CAM_REQ_CMP; 74 mmc_sim->ccb->ccb_h.status = CAM_REQ_INVALID; 76 mmc_sim->ccb->ccb_h.status = CAM_REQ_CMP; 79 panic("Unsupported ccb func %x\n", mmc_sim->ccb->ccb_h.func_code); 83 xpt_done(mmc_sim->ccb); 89 mmc_cam_sim_default_action(struct cam_sim *sim, union ccb *ccb) argument [all...] |
H A D | mmc_sim.h | 39 union ccb *ccb; member in struct:mmc_sim
|
/freebsd-current/sys/cam/ |
H A D | cam_periph.c | 73 union ccb *done_ccb); 75 static int camperiphscsistatuserror(union ccb *ccb, 76 union ccb **orig_ccb, 84 static int camperiphscsisenseerror(union ccb *ccb, 85 union ccb **orig_ccb, 93 static void cam_periph_devctl_notify(union ccb *ccb); 770 union ccb cc local 805 cam_periph_mapmem(union ccb *ccb, struct cam_periph_map_info *mapinfo, u_int maxmap) argument 1017 cam_periph_unmapmem(union ccb *ccb, struct cam_periph_map_info *mapinfo) argument 1126 cam_periph_ioctl(struct cam_periph *periph, u_long cmd, caddr_t addr, int (*error_routine)(union ccb *ccb, cam_flags camflags, uint32_t sense_flags)) argument 1131 union ccb *ccb; local 1205 cam_periph_ccbwait(union ccb *ccb) argument 1225 cam_periph_runccb(union ccb *ccb, int (*error_routine)(union ccb *ccb, cam_flags camflags, uint32_t sense_flags), cam_flags camflags, uint32_t sense_flags, struct devstat *ds) argument 1544 camperiphscsistatuserror(union ccb *ccb, union ccb **orig_ccb, cam_flags camflags, uint32_t sense_flags, int *openings, uint32_t *relsim_flags, uint32_t *timeout, uint32_t *action, const char **action_string) argument 1659 camperiphscsisenseerror(union ccb *ccb, union ccb **orig, cam_flags camflags, uint32_t sense_flags, int *openings, uint32_t *relsim_flags, uint32_t *timeout, uint32_t *action, const char **action_string) argument 1883 cam_periph_error(union ccb *ccb, cam_flags camflags, uint32_t sense_flags) argument 2129 cam_periph_devctl_notify(union ccb *ccb) argument [all...] |
H A D | cam.c | 316 cam_error_string(union ccb *ccb, char *str, int str_len, argument 321 cam_error_string(struct cam_device *device, union ccb *ccb, char *str, 329 if ((ccb == NULL) 337 switch (ccb->ccb_h.func_code) { 387 xpt_path_string(ccb->csio.ccb_h.path, path_str, sizeof(path_str)); 396 switch (ccb->ccb_h.func_code) { 398 ata_command_sbuf(&ccb->ataio, &sb); 402 scsi_command_string(&ccb 511 cam_error_print(union ccb *ccb, cam_error_string_flags flags, cam_error_proto_flags proto_flags) argument 523 cam_error_print(struct cam_device *device, union ccb *ccb, cam_error_string_flags flags, cam_error_proto_flags proto_flags, FILE *ofile) argument 578 memdesc_ccb(union ccb *ccb) argument 647 bus_dmamap_load_ccb(bus_dma_tag_t dmat, bus_dmamap_t map, union ccb *ccb, bus_dmamap_callback_t *callback, void *callback_arg, int flags) argument [all...] |
/freebsd-current/sys/dev/aacraid/ |
H A D | aacraid_cam.c | 102 static void aac_cam_action(struct cam_sim *, union ccb *); 108 static void aac_set_scsi_error(struct aac_softc *sc, union ccb *ccb, 112 static void aac_container_rw_command(struct cam_sim *, union ccb *, u_int8_t *); 113 static void aac_container_special_command(struct cam_sim *, union ccb *, 115 static void aac_passthrough_command(struct cam_sim *, union ccb *); 117 static u_int32_t aac_cam_reset_bus(struct cam_sim *, union ccb *); 118 static u_int32_t aac_cam_abort_ccb(struct cam_sim *, union ccb *); 119 static u_int32_t aac_cam_term_io(struct cam_sim *, union ccb *); 140 aac_set_scsi_error(struct aac_softc *sc, union ccb *cc argument 167 union ccb *ccb; local 203 union ccb *ccb; local 349 aac_container_rw_command(struct cam_sim *sim, union ccb *ccb, u_int8_t *cmdp) argument 502 aac_container_special_command(struct cam_sim *sim, union ccb *ccb, u_int8_t *cmdp) argument 840 aac_passthrough_command(struct cam_sim *sim, union ccb *ccb) argument 957 aac_cam_action(struct cam_sim *sim, union ccb *ccb) argument 1122 union ccb *ccb; local 1146 union ccb *ccb; local 1246 aac_cam_reset_bus(struct cam_sim *sim, union ccb *ccb) argument 1325 aac_cam_abort_ccb(struct cam_sim *sim, union ccb *ccb) argument 1331 aac_cam_term_io(struct cam_sim *sim, union ccb *ccb) argument [all...] |
/freebsd-current/sbin/camcontrol/ |
H A D | timestamp.c | 79 union ccb *ccb = NULL; local 85 ccb = cam_getccb(device); 86 if (ccb == NULL) { 95 scsi_mode_sense_subpage(&ccb->csio, 109 ccb->ccb_h.flags |= CAM_DEV_QFRZDIS; 111 ccb->ccb_h.flags |= CAM_PASS_ERR_RECOVER; 113 error = cam_send_ccb(device, ccb); 119 if ((ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { 120 cam_error_print(device, ccb, CAM_ESF_AL 194 union ccb *ccb = NULL; local 253 union ccb *ccb = NULL; local [all...] |
H A D | camcontrol.c | 400 union ccb *ccb; local 404 ccb = cam_getccb(device); 406 ccb->ccb_h.func_code = XPT_GDEVLIST; 407 ccb->ccb_h.flags = CAM_DIR_NONE; 408 ccb->ccb_h.retry_count = 1; 409 ccb->cgdl.index = 0; 410 ccb->cgdl.status = CAM_GDEVLIST_MORE_DEVS; 411 while (ccb->cgdl.status == CAM_GDEVLIST_MORE_DEVS) { 412 if (cam_send_ccb(device, ccb) < 459 union ccb ccb; local 732 union ccb *ccb; local 782 union ccb *ccb; local 849 union ccb *ccb = NULL; local 954 union ccb *ccb; local 1001 union ccb *ccb; local 1124 union ccb *ccb; local 1230 union ccb *ccb; local 1312 union ccb *ccb; local 1833 scsi_cam_pass_16_send(struct cam_device *device, union ccb *ccb) argument 1879 ata_cam_send(struct cam_device *device, union ccb *ccb) argument 1916 ata_do_pass_16(struct cam_device *device, union ccb *ccb, int retries, uint32_t flags, uint8_t protocol, uint8_t ata_flags, uint8_t tag_action, uint8_t command, uint16_t features, u_int64_t lba, uint16_t sector_count, uint8_t *data_ptr, uint16_t dxfer_len, int timeout) argument 1973 ata_do_cmd(struct cam_device *device, union ccb *ccb, int retries, uint32_t flags, uint8_t protocol, uint8_t ata_flags, uint8_t tag_action, uint8_t command, uint16_t features, u_int64_t lba, uint16_t sector_count, uint8_t *data_ptr, uint16_t dxfer_len, int timeout, int force48bit) argument 2030 atahpa_proc_resp(struct cam_device *device, union ccb *ccb, u_int64_t *hpasize) argument 2073 ata_read_native_max(struct cam_device *device, int retry_count, uint32_t timeout, union ccb *ccb, struct ata_params *parm, u_int64_t *hpasize) argument 2114 atahpa_set_max(struct cam_device *device, int retry_count, uint32_t timeout, union ccb *ccb, int is48bit, u_int64_t maxsize, int persist) argument 2158 atahpa_password(struct cam_device *device, int retry_count, uint32_t timeout, union ccb *ccb, int is48bit, struct ata_set_max_pwd *pwd) argument 2187 atahpa_lock(struct cam_device *device, int retry_count, uint32_t timeout, union ccb *ccb, int is48bit) argument 2214 atahpa_unlock(struct cam_device *device, int retry_count, uint32_t timeout, union ccb *ccb, int is48bit, struct ata_set_max_pwd *pwd) argument 2243 atahpa_freeze_lock(struct cam_device *device, int retry_count, uint32_t timeout, union ccb *ccb, int is48bit) argument 2270 ata_get_native_max(struct cam_device *device, int retry_count, uint32_t timeout, union ccb *ccb, u_int64_t *nativesize) argument 2299 ataama_set(struct cam_device *device, int retry_count, uint32_t timeout, union ccb *ccb, u_int64_t maxsize) argument 2331 ataama_freeze(struct cam_device *device, int retry_count, uint32_t timeout, union ccb *ccb) argument 2353 ata_do_identify(struct cam_device *device, int retry_count, int timeout, union ccb *ccb, struct ata_params** ident_bufp) argument 2443 union ccb *ccb; local 2579 atasecurity_freeze(struct cam_device *device, union ccb *ccb, int retry_count, uint32_t timeout, int quiet) argument 2604 atasecurity_unlock(struct cam_device *device, union ccb *ccb, int retry_count, uint32_t timeout, struct ata_security_password *pwd, int quiet) argument 2631 atasecurity_disable(struct cam_device *device, union ccb *ccb, int retry_count, uint32_t timeout, struct ata_security_password *pwd, int quiet) argument 2689 atasecurity_erase(struct cam_device *device, union ccb *ccb, int retry_count, uint32_t timeout, uint32_t erase_timeout, struct ata_security_password *pwd, int quiet) argument 2745 atasecurity_set_password(struct cam_device *device, union ccb *ccb, int retry_count, uint32_t timeout, struct ata_security_password *pwd, int quiet) argument 2885 union ccb *ccb; local 3094 union ccb *ccb; local 3215 union ccb *ccb; local 3498 union ccb ccb; local 3647 union ccb *ccb = NULL, *matchccb = NULL; local 3827 union ccb ccb; local 3927 union ccb *ccb = NULL; local 4489 union ccb *ccb; local 4563 union ccb *ccb; local 4685 union ccb *ccb; local 5044 union ccb ccb; local 5159 union ccb *ccb; local 5440 union ccb *ccb; local 5474 union ccb *ccb; local 5510 union ccb *ccb = NULL; local 5647 build_ata_cmd(union ccb *ccb, uint32_t retry_count, uint32_t flags, uint8_t tag_action, uint8_t protocol, uint8_t ata_flags, uint16_t features, uint16_t sector_count, uint64_t lba, uint8_t command, uint32_t auxiliary, uint8_t *data_ptr, uint32_t dxfer_len, uint8_t *cdb_storage, size_t cdb_storage_len, uint8_t sense_len, uint32_t timeout, int is48bit, camcontrol_devtype devtype) argument 5720 get_ata_status(struct cam_device *dev, union ccb *ccb, uint8_t *error, uint16_t *count, uint64_t *lba, uint8_t *device, uint8_t *status) argument 6046 union ccb *ccb; local 6096 union ccb *ccb; local 6426 union ccb *ccb; local 6707 sanitize_wait_ata(struct cam_device *device, union ccb *ccb, int quiet, camcontrol_devtype devtype) argument 6800 sanitize_wait_scsi(struct cam_device *device, union ccb *ccb, int task_attr, int quiet) argument 6903 union ccb *ccb; local 7277 union ccb *ccb; local 7512 union ccb *ccb; local 7717 union ccb *ccb; local 7910 union ccb *ccb; local 8267 union ccb *ccb; local 8401 union ccb *ccb; local 8664 union ccb *ccb; local 8751 union ccb *ccb = NULL; local 8838 union ccb ccb; local 9040 union ccb *ccb; local 9286 atapm_proc_resp(struct cam_device *device, union ccb *ccb) argument 9351 union ccb *ccb; local 9432 union ccb *ccb; local 9497 union ccb *ccb = NULL; local 9947 union ccb *ccb; local [all...] |
/freebsd-current/sys/cam/scsi/ |
H A D | scsi_pass.h | 36 * Convert to using a pointer to a ccb in the next major version. 39 #define CAMIOCOMMAND _IOWR(CAM_VERSION, 2, union ccb) 40 #define CAMGETPASSTHRU _IOWR(CAM_VERSION, 3, union ccb) 43 * These two ioctls take a union ccb *, but that is not explicitly declared
|
/freebsd-current/sys/dev/ata/ |
H A D | ata-all.c | 59 static void ataaction(struct cam_sim *sim, union ccb *ccb); 61 static void ata_cam_begin_transaction(device_t dev, union ccb *ccb); 64 static int ata_check_ids(device_t dev, union ccb *ccb); 262 union ccb *ccb; local 270 if ((ccb = xpt_alloc_ccb_nowait()) == NULL) 272 if (xpt_create_path(&ccb 730 ata_cam_begin_transaction(device_t dev, union ccb *ccb) argument 819 union ccb *ccb = request->ccb; local 858 union ccb *ccb = request->ccb; local 884 union ccb *ccb = request->ccb; local 952 ata_check_ids(device_t dev, union ccb *ccb) argument 976 ataaction(struct cam_sim *sim, union ccb *ccb) argument [all...] |
/freebsd-current/sys/powerpc/ps3/ |
H A D | ps3cdrom.c | 80 union ccb *x_ccb; 132 static void ps3cdrom_action(struct cam_sim *sim, union ccb *ccb); 268 xpt_action((union ccb *) &csa); 336 ps3cdrom_action(struct cam_sim *sim, union ccb *ccb) argument 345 CAM_DEBUG(ccb->ccb_h.path, CAM_DEBUG_TRACE, 346 ("function code 0x%02x\n", ccb->ccb_h.func_code)); 348 switch (ccb->ccb_h.func_code) { 350 if ((ccb 471 union ccb *ccb; local 553 union ccb *ccb = xp->x_ccb; local [all...] |
/freebsd-current/sys/dev/isp/ |
H A D | isp_freebsd.h | 172 #define ISP_PCMD(ccb) (ccb)->ccb_h.spriv_ptr1 173 #define PISP_PCMD(ccb) ((struct isp_pcmd *)ISP_PCMD(ccb)) 443 #define XS_ISP(ccb) cam_sim_softc(xpt_path_sim((ccb)->ccb_h.path)) 444 #define XS_CHANNEL(ccb) cam_sim_bus(xpt_path_sim((ccb)->ccb_h.path)) 445 #define XS_TGT(ccb) (ccb) [all...] |
/freebsd-current/sys/cam/ctl/ |
H A D | ctl_frontend_cam_sim.c | 68 union ccb *ccb; member in struct:cfcs_io 98 void cfcs_action(struct cam_sim *sim, union ccb *ccb); 240 union ccb *ccb; local 244 ccb = xpt_alloc_ccb_nowait(); 245 if (ccb == NULL) { 250 if (xpt_create_path(&ccb->ccb_h.path, NULL, 254 xpt_free_ccb(ccb); 283 union ccb *ccb; local 421 union ccb *ccb; local 481 cfcs_action(struct cam_sim *sim, union ccb *ccb) argument [all...] |
/freebsd-current/sys/dev/nvme/ |
H A D | nvme_sim.c | 49 static void nvme_sim_action(struct cam_sim *sim, union ccb *ccb); 65 union ccb *ccb = (union ccb *)ccb_arg; local 73 memcpy(&ccb->nvmeio.cpl, cpl, sizeof(*cpl)); 74 ccb->ccb_h.status &= ~CAM_SIM_QUEUED; 76 ccb->ccb_h.status = CAM_NVME_STATUS_ERROR; 77 xpt_done(ccb); 79 ccb 85 nvme_sim_nvmeio(struct cam_sim *sim, union ccb *ccb) argument 142 nvme_sim_action(struct cam_sim *sim, union ccb *ccb) argument 344 union ccb *ccb; local [all...] |
/freebsd-current/sys/powerpc/mpc85xx/ |
H A D | fsl_sata.c | 66 static void fsl_sata_begin_transaction(struct fsl_sata_channel *ch, union ccb *ccb); 71 static int fsl_sata_setup_fis(struct fsl_sata_channel *ch, struct fsl_sata_cmd_tab *ctp, union ccb *ccb, int tag); 82 static void fsl_sata_process_read_log(struct fsl_sata_channel *ch, union ccb *ccb); 83 static void fsl_sata_process_request_sense(struct fsl_sata_channel *ch, union ccb *ccb); 85 static void fsl_sataaction(struct cam_sim *sim, union ccb *ccb); 234 union ccb *ccb; /* CCB occupying slot */ member in struct:fsl_sata_slot 680 union ccb *ccb; local 725 fsl_sata_done(struct fsl_sata_channel *ch, union ccb *ccb) argument 853 fsl_sata_check_collision(struct fsl_sata_channel *ch, union ccb *ccb) argument 884 fsl_sata_begin_transaction(struct fsl_sata_channel *ch, union ccb *ccb) argument 992 union ccb *ccb = slot->ccb; local 1177 union ccb *ccb = slot->ccb; local 1369 union ccb *ccb; local 1443 fsl_sata_process_read_log(struct fsl_sata_channel *ch, union ccb *ccb) argument 1502 fsl_sata_process_request_sense(struct fsl_sata_channel *ch, union ccb *ccb) argument 1643 fsl_sata_setup_fis(struct fsl_sata_channel *ch, struct fsl_sata_cmd_tab *ctp, union ccb *ccb, int tag) argument 1693 fsl_sata_check_ids(struct fsl_sata_channel *ch, union ccb *ccb) argument 1710 fsl_sataaction(struct cam_sim *sim, union ccb *ccb) argument [all...] |
/freebsd-current/sys/dev/mmcnull/ |
H A D | mmcnull.c | 55 union ccb *cur_ccb; 62 static void mmcnull_action_sd(struct cam_sim *, union ccb *); 63 static void mmcnull_action_sdio(struct cam_sim *, union ccb *); 179 union ccb *ccb; local 185 ccb = sc->cur_ccb; 186 mmcio = &ccb->mmcio; 230 ccb->ccb_h.status = CAM_REQ_CMP; 233 xpt_done(ccb); 257 union ccb *cc local 320 mmcnull_handle_mmcio(struct cam_sim *sim, union ccb *ccb) argument 338 mmcnull_action_sd(struct cam_sim *sim, union ccb *ccb) argument 434 mmcnull_action_sdio(struct cam_sim *sim, union ccb *ccb) argument [all...] |
/freebsd-current/sys/dev/smartpqi/ |
H A D | smartpqi_cam.c | 111 union ccb *ccb; local 118 if ((ccb = xpt_alloc_ccb_nowait()) == NULL) { 123 if (xpt_create_path(&ccb->ccb_h.path, NULL, 127 xpt_free_ccb(ccb); 130 xpt_rescan(ccb); 305 xpt_done((union ccb *)csio); 539 pqi_freeze_ccb(union ccb *ccb) argument 541 if ((ccb 555 union ccb *ccb; local 615 union ccb *ccb = rcb->cm_ccb; local 682 smartpqi_lunrescan_cb(struct cam_periph *periph, union ccb *ccb) argument 696 union ccb *ccb = NULL; local 757 union ccb *ccb = rcb->cm_ccb; local 805 pqisrc_io_start(struct cam_sim *sim, union ccb *ccb) argument 931 pqisrc_scsi_abort_task(pqisrc_softstate_t *softs, union ccb *ccb) argument 972 pqisrc_scsi_abort_task_set(pqisrc_softstate_t *softs, union ccb *ccb) argument 1012 pqisrc_target_reset( pqisrc_softstate_t *softs, union ccb *ccb) argument 1069 smartpqi_cam_action(struct cam_sim *sim, union ccb *ccb) argument 1244 union ccb *ccb = NULL; local [all...] |
/freebsd-current/sys/dev/aic7xxx/ |
H A D | aic79xx_osm.c | 57 static void ahd_action(struct cam_sim *sim, union ccb *ccb); 72 union ccb *ccb); 273 xpt_action((union ccb *)&csa); 306 ahd_sync_ccb(struct ahd_softc *ahd, struct scb *scb, union ccb *ccb, bool post) argument 311 if (ccb->ccb_h.func_code == XPT_CONT_TARGET_IO) 316 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == rdmask) 332 union ccb *cc local 462 ahd_action(struct cam_sim *sim, union ccb *ccb) argument 952 union ccb *ccb; local 1135 ahd_abort_ccb(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb) argument [all...] |