/src/sys/dev/ic/ |
adv.c | 168 ADV_CCB *ccb; local in function:adv_create_ccbs 173 ccb = &ccbstore[i]; 174 if ((error = adv_init_ccb(sc, ccb)) != 0) { 176 "unable to initialize ccb, error = %d\n", error); 179 TAILQ_INSERT_TAIL(&sc->sc_free_ccb, ccb, chain); 187 * A ccb is put onto the free list. 190 adv_free_ccb(ASC_SOFTC *sc, ADV_CCB *ccb) 195 adv_reset_ccb(ccb); 196 TAILQ_INSERT_HEAD(&sc->sc_free_ccb, ccb, chain); 202 adv_reset_ccb(ADV_CCB *ccb) 252 ADV_CCB *ccb = 0; local in function:adv_get_ccb 273 ADV_CCB *ccb = sc->sc_ccbhash[hashnum]; local in function:adv_ccb_phys_kv 300 ADV_CCB *ccb; local in function:adv_start_ccbs 528 ADV_CCB *ccb; local in function:adv_scsipi_request 780 ADV_CCB *ccb = arg; local in function:adv_timeout 821 ADV_CCB *ccb = arg; local in function:adv_watchdog 851 ADV_CCB *ccb; local in function:adv_narrow_isr_callback [all...] |
cac.c | 107 struct cac_ccb *ccb; local in function:cac_init 137 aprint_error_dev(sc->sc_dev, "unable to create CCB DMA map, error = %d\n", 144 aprint_error_dev(sc->sc_dev, "unable to load CCB DMA map, error = %d\n", 151 ccb = (struct cac_ccb *)sc->sc_ccbs; 153 for (i = 0; i < CAC_MAX_CCBS; i++, ccb++) { 154 /* Create the DMA map for this CCB's data */ 158 &ccb->ccb_dmamap_xfer); 161 aprint_error_dev(sc->sc_dev, "can't create ccb dmamap (%d)\n", 166 ccb->ccb_flags = 0; 167 ccb->ccb_paddr = sc->sc_ccbs_paddr + i * sizeof(struct cac_ccb) 287 struct cac_ccb *ccb; local in function:cac_intr 315 struct cac_ccb *ccb; local in function:cac_cmd 400 struct cac_ccb *ccb; local in function:cac_ccb_poll 501 struct cac_ccb *ccb; local in function:cac_ccb_alloc 564 struct cac_ccb *ccb; local in function:cac_l0_completed [all...] |
aha.c | 287 struct aha_ccb *ccb; local in function:aha_finish_ccbs 317 ccb = aha_ccb_phys_kv(sc, phystol(wmbi->ccb_addr)); 318 if (!ccb) { 319 printf("%s: bad mbi ccb pointer; skipping\n", 325 AHA_CCB_OFF(ccb), sizeof(struct aha_ccb), 330 u_char *cp = ccb->scsi_cmd; 335 printf("ccb addr = %p\n", ccb); 342 if ((ccb->flags & CCB_ABORT) != 0) { 345 * to complete before clearing the CCB. W 493 struct aha_ccb *ccb; local in function:aha_create_ccbs 520 struct aha_ccb *ccb; local in function:aha_get_ccb 540 struct aha_ccb *ccb = sc->sc_ccbhash[hashnum]; local in function:aha_ccb_phys_kv 569 struct aha_ccb *ccb; local in function:aha_collect_mbo 602 struct aha_ccb *ccb; local in function:aha_start_ccbs 1133 struct aha_ccb *ccb; local in function:aha_scsipi_request 1336 struct aha_ccb *ccb = arg; local in function:aha_timeout [all...] |
adw.c | 207 ADW_CCB *ccb; local in function:adw_create_ccbs 211 ccb = &ccbstore[i]; 212 if ((error = adw_init_ccb(sc, ccb)) != 0) { 214 "unable to initialize ccb, error = %d\n", error); 217 TAILQ_INSERT_TAIL(&sc->sc_free_ccb, ccb, chain); 225 * A ccb is put onto the free list. 228 adw_free_ccb(ADW_SOFTC *sc, ADW_CCB *ccb) 234 adw_reset_ccb(ccb); 235 TAILQ_INSERT_HEAD(&sc->sc_free_ccb, ccb, chain); 242 adw_reset_ccb(ADW_CCB *ccb) 289 ADW_CCB *ccb = 0; local in function:adw_get_ccb 311 ADW_CCB *ccb = sc->sc_ccbhash[hashnum]; local in function:adw_ccb_phys_kv 543 ADW_CCB *ccb; local in function:adw_scsipi_request 816 ADW_CCB *ccb = arg; local in function:adw_timeout 915 ADW_CCB *ccb; local in function:adw_reset_bus 1025 ADW_CCB *ccb; local in function:adw_isr_callback [all...] |
bha.c | 232 /* Make sure we clear CCB_SENDING before finishing a CCB. */ 273 struct bha_ccb *ccb; local in function:bha_scsipi_request 284 /* Get a CCB to use. */ 285 ccb = bha_get_ccb(sc); 291 if (ccb == NULL) { 293 printf("unable to allocate ccb\n"); 298 ccb->xs = xs; 299 ccb->timeout = xs->timeout; 302 * Put all the arguments for the xfer in the ccb 305 ccb->opcode = BHA_RESET_CCB 691 struct bha_ccb *ccb = arg; local in function:bha_timeout 1430 struct bha_ccb *ccb; local in function:bha_start_ccbs 1504 struct bha_ccb *ccb; local in function:bha_finish_ccbs 1688 struct bha_ccb *ccb; local in function:bha_collect_mbo 1738 struct bha_ccb *ccb; local in function:bha_create_ccbs 1905 struct bha_ccb *ccb; local in function:bha_get_ccb 1943 struct bha_ccb *ccb = sc->sc_ccbhash[hashnum]; local in function:bha_ccb_phys_kv [all...] |
dpt.c | 218 struct dpt_ccb *ccb; local in function:dpt_ccb_alloc 222 ccb = SLIST_FIRST(&sc->sc_ccb_free); 226 return (ccb); 230 dpt_ccb_free(struct dpt_softc *sc, struct dpt_ccb *ccb) 234 ccb->ccb_flg = 0; 235 ccb->ccb_savesp = NULL; 237 SLIST_INSERT_HEAD(&sc->sc_ccb_free, ccb, ccb_chain); 248 struct dpt_ccb *ccb; local in function:dpt_intr 284 /* Make sure CCB ID from status packet is realistic. */ 286 printf("%s: bogus status (returned CCB id %d)\n" 336 struct dpt_ccb *ccb; local in function:dpt_init 931 struct dpt_ccb *ccb; local in function:dpt_scsipi_request 1061 struct dpt_ccb *ccb; local in function:dpt_hba_inquire 1278 struct dpt_ccb *ccb; local in function:dpt_passthrough [all...] |
mfi.c | 209 static void mfi_xscale_post(struct mfi_softc *sc, struct mfi_ccb *ccb); 224 static void mfi_ppc_post(struct mfi_softc *sc, struct mfi_ccb *ccb); 239 void mfi_gen2_post(struct mfi_softc *sc, struct mfi_ccb *ccb); 299 struct mfi_ccb *ccb; local in function:mfi_get_ccb 303 ccb = TAILQ_FIRST(&sc->sc_ccb_freeq); 304 if (ccb) { 305 TAILQ_REMOVE(&sc->sc_ccb_freeq, ccb, ccb_link); 306 ccb->ccb_state = MFI_CCB_READY; 310 DNPRINTF(MFI_D_CCB, "%s: mfi_get_ccb: %p\n", DEVNAME(sc), ccb); 311 if (__predict_false(ccb == NULL && sc->sc_running) 352 struct mfi_ccb *ccb; local in function:mfi_destroy_ccb 374 struct mfi_ccb *ccb; local in function:mfi_init_ccb 635 struct mfi_ccb *ccb; local in function:mfi_initialize_firmware 1367 struct mfi_ccb *ccb; local in function:mfi_intr 1578 struct mfi_ccb *ccb; local in function:mfi_scsipi_request 1845 struct mfi_ccb *ccb; local in function:mfi_mgmt_internal 2988 struct mfi_ccb *ccb; local in function:mfi_tbolt_init_MFI_queue 3097 struct mfi_ccb *ccb; local in function:mfi_tbolt_intrh 3393 struct mfi_ccb *ccb = NULL; local in function:mfi_tbolt_sync_map_info 3507 struct mfi_ccb *ccb = NULL; local in function:mfifioctl [all...] |
ciss.c | 104 struct ciss_ccb *ccb; local in function:ciss_get_ccb 107 if ((ccb = TAILQ_LAST(&sc->sc_free_ccb, ciss_queue_head))) { 108 TAILQ_REMOVE(&sc->sc_free_ccb, ccb, ccb_link); 109 ccb->ccb_state = CISS_CCB_READY; 112 return ccb; 116 ciss_put_ccb(struct ciss_softc *sc, struct ciss_ccb *ccb) 118 ccb->ccb_state = CISS_CCB_FREE; 120 TAILQ_INSERT_TAIL(&sc->sc_free_ccb, ccb, ccb_link); 219 struct ciss_ccb *ccb; local in function:ciss_attach 244 sizeof(ccb->ccb_cmd.sgl[0]) * (sc->maxsg - 1) 539 struct ciss_ccb *ccb; local in function:ciss_enqueue 953 struct ciss_ccb *ccb; local in function:ciss_inq 978 struct ciss_ccb *ccb; local in function:ciss_ldmap 1020 struct ciss_ccb *ccb; local in function:ciss_sync 1055 struct ciss_ccb *ccb; local in function:ciss_ldid 1083 struct ciss_ccb *ccb; local in function:ciss_ldstat 1111 struct ciss_ccb *ccb; local in function:ciss_pdid 1182 struct ciss_ccb *ccb; local in function:ciss_scsi_cmd 1258 struct ciss_ccb *ccb; local in function:ciss_completed_process 1595 struct ciss_ccb *ccb; local in function:ciss_blink [all...] |
nvme.c | 703 struct nvme_ccb *ccb; local in function:nvme_ns_identify 715 ccb = nvme_ccb_get(sc->sc_admin_q, false); 716 KASSERT(ccb != NULL); /* it's a bug if we don't have spare ccb here */ 720 nvme_ccb_put(sc->sc_admin_q, ccb); 730 ccb->ccb_done = nvme_empty_done; 731 ccb->ccb_cookie = &sqe; 734 rv = nvme_poll(sc, sc->sc_admin_q, ccb, nvme_sqe_fill, NVME_TIMO_IDENT); 737 nvme_ccb_put(sc->sc_admin_q, ccb); 766 struct nvme_ccb *ccb; local in function:nvme_ns_dobio 908 struct nvme_ccb *ccb; local in function:nvme_ns_sync 980 struct nvme_ccb *ccb; local in function:nvme_admin_getcache 1115 struct nvme_ccb *ccb; local in function:nvme_admin_setcache 1264 struct nvme_ccb *ccb; local in function:nvme_command_passthrough 1488 struct nvme_ccb *ccb; local in function:nvme_q_complete 1580 struct nvme_ccb *ccb; local in function:nvme_identify 1640 struct nvme_ccb *ccb; local in function:nvme_q_create 1695 struct nvme_ccb *ccb; local in function:nvme_q_delete 1751 struct nvme_ccb *ccb; local in function:nvme_set_number_of_queues 1786 struct nvme_ccb *ccb; local in function:nvme_ccbs_alloc 1835 struct nvme_ccb *ccb = NULL; local in function:nvme_ccb_get 1870 struct nvme_ccb *ccb; local in function:nvme_ccb_get_bio 1914 struct nvme_ccb *ccb; local in function:nvme_ccbs_free [all...] |
bhavar.h | 44 * A CCB allocation group. Each group is a page size. We can find 45 * the allocation group for a CCB by truncating the CCB address to 47 * by taking the offset of the CCB into the page. 56 #define BHA_CCB_GROUP(ccb) \ 57 (struct bha_ccb_group *)(trunc_page((vaddr_t)ccb)) 58 #define BHA_CCB_OFFSET(ccb) ((vaddr_t)(ccb) & PAGE_MASK) 60 #define BHA_CCB_SYNC(sc, ccb, ops) \ 62 struct bha_ccb_group *bcg = BHA_CCB_GROUP((ccb)); \ [all...] |
/src/sys/dev/iscsi/ |
iscsi_send.c | 149 ccb_t *ccb; local in function:reassign_tasks 188 while ((ccb = TAILQ_FIRST(&oldconn->c_ccbs_waiting)) != NULL) { 189 suspend_ccb(ccb, FALSE); 190 TAILQ_INSERT_TAIL(&old_waiting, ccb, ccb_chain); 201 while ((ccb = TAILQ_FIRST(&old_waiting)) != NULL) { 209 TAILQ_REMOVE(&old_waiting, ccb, ccb_chain); 211 /* adjust CCB and clone PDU for new connection */ 213 opdu = ccb->ccb_pdu_waiting; 237 /* link new PDU into old CCB */ 238 ccb->ccb_pdu_waiting = pdu 330 ccb_t *ccb, *nccb; local in function:iscsi_send_thread 876 ccb_t *ccb; local in function:start_text_negotiation 966 ccb_t *ccb; local in function:send_send_targets 1027 ccb_t *ccb; local in function:send_nop_out 1198 ccb_t *ccb; local in function:send_login 1244 ccb_t *ccb; local in function:send_logout 1305 ccb_t *ccb; local in function:send_task_management 1538 ccb_t *ccb; local in function:send_run_xfer 1636 ccb_t *ccb; local in function:send_io_command [all...] |
iscsi_utils.c | 185 * CCB management functions 190 * Get a CCB for the SCSI operation, waiting if none is available. 193 * sess The session containing this CCB 194 * waitok Whether waiting for a CCB is OK 196 * Returns: The CCB. 202 ccb_t *ccb; local in function:get_ccb 207 ccb = TAILQ_FIRST(&sess->s_ccb_pool); 209 DEB(100, ("get_ccb: ccb = %p, waitok = %d\n", ccb, waitok)); 211 if (ccb != NULL) 318 ccb_t *ccb; local in function:create_ccbs 346 ccb_t *ccb; local in function:destroy_ccbs [all...] |
iscsi_ioctl.c | 900 ccb_t *ccb; local in function:recreate_connection 956 while ((ccb = TAILQ_FIRST(&conn->c_ccbs_waiting)) != NULL) { 957 suspend_ccb(ccb, FALSE); 958 TAILQ_INSERT_TAIL(&old_waiting, ccb, ccb_chain); 966 while ((ccb = TAILQ_FIRST(&old_waiting)) != NULL) { 967 TAILQ_REMOVE(&old_waiting, ccb, ccb_chain); 968 wake_ccb(ccb, rc); 982 while ((ccb = TAILQ_FIRST(&old_waiting)) != NULL) { 983 TAILQ_REMOVE(&old_waiting, ccb, ccb_chain); 985 suspend_ccb(ccb, TRUE) 1692 ccb_t *ccb = par; local in function:ccb_timeout_co 1740 ccb_t *ccb; local in function:iscsi_cleanup_thread [all...] |
/src/sys/dev/hyperv/ |
hvs.c | 457 struct hvs_ccb *ccb; local in function:hvs_scsipi_request 499 ccb = hvs_get_ccb(sc); 500 if (ccb == NULL) { 501 device_printf(sc->sc_dev, "failed to allocate ccb\n"); 548 error = bus_dmamap_load(sc->sc_dmat, ccb->ccb_dmap, xs->data, 554 hvs_put_ccb(sc, ccb); 559 bus_dmamap_sync(sc->sc_dmat, ccb->ccb_dmap, 0, xs->datalen, 562 ccb->ccb_sgl->gpa_len = xs->datalen; 563 ccb->ccb_sgl->gpa_ofs = (vaddr_t)xs->data & PAGE_MASK; 564 for (i = 0; i < ccb->ccb_dmap->dm_nsegs; i++ 672 struct hvs_ccb *ccb; local in function:hvs_intr 853 struct hvs_ccb *ccb; local in function:hvs_connect 1080 struct hvs_ccb *ccb; local in function:hvs_free_ccbs 1106 struct hvs_ccb *ccb; local in function:hvs_get_ccb [all...] |
/src/sys/dev/pci/ |
ld_twe.c | 175 struct twe_ccb *ccb; local in function:ld_twe_dobio 183 if ((ccb = twe_ccb_alloc(twe, flags)) == NULL) 186 ccb->ccb_data = data; 187 ccb->ccb_datasize = datasize; 188 tc = ccb->ccb_cmd; 202 if ((rv = twe_ccb_map(twe, ccb)) != 0) { 203 twe_ccb_free(twe, ccb); 213 rv = twe_ccb_poll(twe, ccb, 2000); 214 twe_ccb_unmap(twe, ccb); 215 twe_ccb_free(twe, ccb); 278 struct twe_ccb *ccb; local in function:ld_twe_flush [all...] |
twe.c | 322 struct twe_ccb *ccb; local in function:twe_attach 408 ccb = malloc(sizeof(*ccb) * TWE_MAX_QUEUECNT, M_DEVBUF, M_WAITOK); 409 sc->sc_ccbs = ccb; 411 for (i = 0; i < TWE_MAX_QUEUECNT; i++, tc++, ccb++) { 412 ccb->ccb_cmd = tc; 413 ccb->ccb_cmdid = i; 414 ccb->ccb_flags = 0; 418 &ccb->ccb_dmamap_xfer); 425 /* Save the first CCB for AEN retrieval. * 844 struct twe_ccb *ccb; local in function:twe_aen_get 1122 struct twe_ccb *ccb; local in function:twe_param_get 1190 struct twe_ccb *ccb; local in function:twe_param_set 1239 struct twe_ccb *ccb; local in function:twe_init_connection 1267 struct twe_ccb *ccb; local in function:twe_poll 1406 struct twe_ccb *ccb; local in function:twe_ccb_alloc 1439 struct twe_ccb *ccb; local in function:twe_ccb_alloc_wait 1745 struct twe_ccb *ccb; local in function:tweioctl [all...] |
mfii.c | 558 mfii_dcmd_scrub(struct mfii_ccb *ccb) 560 memset(ccb->ccb_sense, 0, sizeof(*ccb->ccb_sense)); 564 mfii_dcmd_frame(struct mfii_ccb *ccb) 566 CTASSERT(sizeof(struct mfi_dcmd_frame) <= sizeof(*ccb->ccb_sense)); 567 return ((struct mfi_dcmd_frame *)ccb->ccb_sense); 571 mfii_dcmd_sync(struct mfii_softc *sc, struct mfii_ccb *ccb, int flags) 574 ccb->ccb_sense_offset, sizeof(*ccb->ccb_sense), flags); 853 aprint_error(": could not init ccb list\n") 1116 struct mfii_ccb *ccb; local in function:mfii_shutdown 1270 struct mfii_ccb *ccb; local in function:mfii_aen_register 1361 struct mfii_ccb *ccb = sc->sc_aen_ccb; local in function:mfii_aen 1900 struct mfii_ccb *ccb; local in function:mfii_mgmt 2109 struct mfii_ccb *ccb; local in function:mfii_initialise_firmware 2215 struct mfii_ccb *ccb; local in function:mfii_postq 2273 struct mfii_ccb *ccb; local in function:mfii_scsipi_request 2710 struct mfii_ccb *ccb = p; local in function:mfii_scsi_cmd_tmo 2736 struct mfii_ccb *ccb = list; local in function:mfii_abort_task 2786 struct mfii_ccb *ccb = accb->ccb_cookie; local in function:mfii_scsi_cmd_abort_done 2802 struct mfii_ccb *ccb; local in function:mfii_get_ccb 2843 struct mfii_ccb *ccb; local in function:mfii_init_ccb [all...] |
ips.c | 408 /* CCB queue */ 692 /* Bootstrap CCB queue */ 724 /* Initialize CCB queue */ 727 printf(": can't alloc ccb queue\n"); 844 ips_scsi_cmd(struct ips_ccb *ccb) 846 struct scsipi_xfer *xs = ccb->c_xfer; 866 ips_ccb_put(sc, ccb); 908 cmd = ccb->c_cmdbva; 914 if (ips_load_xs(sc, ccb, xs)) { 918 ips_ccb_put(sc, ccb); 994 struct ips_ccb *ccb; local in function:ips_scsipi_request 1587 struct ips_ccb *ccb; local in function:ips_intr 1636 struct ips_ccb *ccb = arg; local in function:ips_timeout 1661 struct ips_ccb *ccb; local in function:ips_getadapterinfo 1682 struct ips_ccb *ccb; local in function:ips_getdriveinfo 1703 struct ips_ccb *ccb; local in function:ips_getconf 1724 struct ips_ccb *ccb; local in function:ips_getpg5 1747 struct ips_ccb *ccb; local in function:ips_getrblstat 1768 struct ips_ccb *ccb; local in function:ips_setstate 1791 struct ips_ccb *ccb; local in function:ips_rebuild 1913 struct ips_ccb *ccb; local in function:ips_ccb_alloc 1951 struct ips_ccb *ccb; local in function:ips_ccb_get [all...] |
mpii.c | 463 struct mpii_ccb *ccb; local in function:mpii_attach 664 while ((ccb = mpii_get_ccb(sc)) != NULL) 665 bus_dmamap_destroy(sc->sc_dmat, ccb->ccb_dmamap); 679 struct mpii_ccb *ccb; local in function:mpii_detach 710 while ((ccb = mpii_get_ccb(sc)) != NULL) 711 bus_dmamap_destroy(sc->sc_dmat, ccb->ccb_dmamap); 754 struct mpii_ccb *ccb; local in function:mpii_intr 784 ccb = &sc->sc_ccbs[smid - 1]; 785 ccb->ccb_state = MPII_CCB_READY; 786 ccb->ccb_rcb = rcb 1499 struct mpii_ccb *ccb; local in function:mpii_portfacts 1550 struct mpii_ccb *ccb; local in function:mpii_eventack 1596 struct mpii_ccb *ccb; local in function:mpii_portenable 1680 struct mpii_ccb *ccb; local in function:mpii_eventnotify 2133 struct mpii_ccb *ccb; local in function:mpii_sas_remove_device 2258 struct mpii_ccb *ccb; local in function:mpii_req_cfg_header 2353 struct mpii_ccb *ccb; local in function:mpii_req_cfg_page 2608 struct mpii_ccb *ccb; local in function:mpii_alloc_ccbs 2701 struct mpii_ccb *ccb; local in function:mpii_get_ccb 2947 struct mpii_ccb *ccb; local in function:mpii_scsipi_request 3075 struct mpii_ccb *ccb = xccb; local in function:mpii_scsi_cmd_tmo 3099 struct mpii_ccb *ccb; local in function:mpii_scsi_cmd_tmo_handler [all...] |
cac_pci.c | 231 cac_pci_l0_submit(struct cac_softc *sc, struct cac_ccb *ccb) 235 (char *)ccb - (char *)sc->sc_ccbs, 237 cac_outl(sc, CAC_42REG_CMD_FIFO, ccb->ccb_paddr); 243 struct cac_ccb *ccb; local in function:cac_pci_l0_completed 256 ccb = (struct cac_ccb *)((char *)sc->sc_ccbs + off); 261 if ((off & 3) != 0 && ccb->ccb_req.error == 0) 262 ccb->ccb_req.error = CAC_RET_CMD_REJECTED; 264 return (ccb);
|
/src/sys/arch/arc/dti/ |
btl.c | 345 struct bt_ccb *ccb; local in function:btattach 371 * fill up with ccb's 374 ccb = (struct bt_ccb *)bouncearea; 376 bt_init_ccb(sc, ccb); 377 TAILQ_INSERT_HEAD(&sc->sc_free_ccb, ccb, chain); 420 struct bt_ccb *ccb; local in function:bt_finish_ccbs 443 ccb = bt_ccb_phys_kv(sc, phystol(wmbi->ccb_addr)); 444 if (!ccb) { 445 printf("%s: bad mbi ccb pointer; skipping\n", 452 u_char *cp = (u_char *) &ccb->scsi_cmd 626 struct bt_ccb *ccb; local in function:bt_get_ccb 692 struct bt_ccb *ccb = sc->sc_ccbhash[hashnum]; local in function:bt_ccb_phys_kv 747 struct bt_ccb *ccb; local in function:bt_start_ccbs 1215 struct bt_ccb *ccb; local in function:bt_scsi_cmd 1373 struct bt_ccb *ccb = arg; local in function:bt_timeout [all...] |
/src/sys/dev/eisa/ |
cac_eisa.c | 243 cac_eisa_l0_submit(struct cac_softc *sc, struct cac_ccb *ccb) 251 size = le16toh(ccb->ccb_hdr.size) << 2; 252 ccb->ccb_hdr.size = 0; 255 (char *)ccb - (char *)sc->sc_ccbs, 259 cac_outl(sc, CAC_EISAREG_LIST_ADDR, ccb->ccb_paddr); 267 struct cac_ccb *ccb; local in function:cac_eisa_l0_completed 284 ccb = (struct cac_ccb *)((char *)sc->sc_ccbs + off); 289 ccb->ccb_req.error = status; 291 if ((off & 3) != 0 && ccb->ccb_req.error == 0) 292 ccb->ccb_req.error = CAC_RET_CMD_REJECTED [all...] |
/src/sys/netinet/ |
dccp_tcplike.c | 121 tcplike_rto_timeout(void *ccb) 123 struct tcplike_send_ccb *cb = (struct tcplike_send_ccb *) ccb; 270 void tcplike_send_term(void *ccb) 272 struct tcplike_send_ccb *cb = (struct tcplike_send_ccb *) ccb; 273 if (ccb == 0) 284 * args: ccb - ccb of sender 287 tcplike_send_free(void *ccb) 289 struct tcplike_send_ccb *cb = (struct tcplike_send_ccb *) ccb; 293 if (ccb == 0 850 struct tcplike_recv_ccb *ccb; local in function:tcplike_recv_init [all...] |
dccp_tfrc.c | 141 * args: ccbp - pointer to sender ccb block 161 * args: ccbp - pointer to sender ccb block 231 tfrc_time_send(void *ccb) 233 struct tfrc_send_ccb *cb = (struct tfrc_send_ccb *) ccb; 364 tfrc_time_no_feedback(void *ccb) 369 struct tfrc_send_ccb *cb = (struct tfrc_send_ccb *) ccb; 481 * Removes ccb from memory 482 * args: ccb - ccb of sender 485 tfrc_send_term(void *ccb) 511 struct tfrc_send_ccb *ccb; local in function:tfrc_send_init 1608 struct tfrc_recv_ccb *ccb; local in function:tfrc_recv_init [all...] |
/src/usr.sbin/mmcformat/ |
uscsi_subr.c | 415 union ccb ccb; local in function:uscsi_command 420 memset(&ccb, 0, sizeof(ccb)); 434 &ccb.csio, 447 ccb.ccb_h.flags |= CAM_DEV_QFRZDIS; 449 memcpy(ccb.csio.cdb_io.cdb_bytes, cmd, cmdlen); 452 if (cam_send_ccb(cam_dev, &ccb) < 0) { 456 if ((ccb.ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP) 461 cam_sense = (ccb.ccb_h.status & (CAM_STATUS_MASK | CAM_AUTOSNS_VALID)) [all...] |