Searched refs:new_ccb (Results 1 – 5 of 5) sorted by relevance
| /freebsd-10-stable/sys/cam/ctl/ |
| D | scsi_ctl.c | 486 union ccb *new_ccb; in ctlferegister() local 490 new_ccb = (union ccb *)malloc(sizeof(*new_ccb), M_CTLFE, in ctlferegister() 492 if (new_ccb == NULL) { in ctlferegister() 498 free(new_ccb, M_CTLFE); in ctlferegister() 506 free(new_ccb, M_CTLFE); in ctlferegister() 512 new_ccb->ccb_h.io_ptr = new_io; in ctlferegister() 513 LIST_INSERT_HEAD(&softc->atio_list, &new_ccb->ccb_h, periph_links.le); in ctlferegister() 515 xpt_setup_ccb(&new_ccb->ccb_h, periph->path, /*priority*/ 1); in ctlferegister() 516 new_ccb->ccb_h.func_code = XPT_ACCEPT_TARGET_IO; in ctlferegister() 517 new_ccb->ccb_h.cbfcnp = ctlfedone; in ctlferegister() [all …]
|
| /freebsd-10-stable/sys/cam/ |
| D | cam_queue.h | 163 cam_ccbq_insert_ccb(struct cam_ccbq *ccbq, union ccb *new_ccb); 195 cam_ccbq_insert_ccb(struct cam_ccbq *ccbq, union ccb *new_ccb) in cam_ccbq_insert_ccb() argument 213 camq_insert(queue, &new_ccb->ccb_h.pinfo); in cam_ccbq_insert_ccb()
|
| D | cam_xpt.h | 68 void xpt_action(union ccb *new_ccb); 69 void xpt_action_default(union ccb *new_ccb);
|
| D | cam_xpt.c | 4525 union ccb *new_ccb; in xpt_alloc_ccb() local 4527 new_ccb = malloc(sizeof(*new_ccb), M_CAMCCB, M_ZERO|M_WAITOK); in xpt_alloc_ccb() 4528 return (new_ccb); in xpt_alloc_ccb() 4534 union ccb *new_ccb; in xpt_alloc_ccb_nowait() local 4536 new_ccb = malloc(sizeof(*new_ccb), M_CAMCCB, M_ZERO|M_NOWAIT); in xpt_alloc_ccb_nowait() 4537 return (new_ccb); in xpt_alloc_ccb_nowait() 4558 union ccb *new_ccb; in xpt_get_ccb_nowait() local 4560 new_ccb = malloc(sizeof(*new_ccb), M_CAMCCB, M_ZERO|M_NOWAIT); in xpt_get_ccb_nowait() 4561 if (new_ccb == NULL) in xpt_get_ccb_nowait() 4565 return (new_ccb); in xpt_get_ccb_nowait() [all …]
|
| /freebsd-10-stable/sys/dev/asr/ |
| D | asr.c | 711 union asr_ccb *new_ccb; in asr_alloc_ccb() local 713 if ((new_ccb = (union asr_ccb *)malloc(sizeof(*new_ccb), in asr_alloc_ccb() 715 new_ccb->ccb_h.pinfo.priority = 1; in asr_alloc_ccb() 716 new_ccb->ccb_h.pinfo.index = CAM_UNQUEUED_INDEX; in asr_alloc_ccb() 717 new_ccb->ccb_h.spriv_ptr0 = sc; in asr_alloc_ccb() 719 return (new_ccb); in asr_alloc_ccb()
|