Searched refs:new_ccb (Results 1 – 4 of 4) sorted by relevance
| /freebsd-11-stable/sys/cam/ |
| HD | 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 200 KASSERT((new_ccb->ccb_h.func_code & XPT_FC_QUEUED) != 0 && in cam_ccbq_insert_ccb() 201 (new_ccb->ccb_h.func_code & XPT_FC_USER_CCB) == 0, in cam_ccbq_insert_ccb() 202 ("%s: Cannot queue ccb %p func_code %#x", __func__, new_ccb, in cam_ccbq_insert_ccb() 203 new_ccb->ccb_h.func_code)); in cam_ccbq_insert_ccb() 218 camq_insert(queue, &new_ccb->ccb_h.pinfo); in cam_ccbq_insert_ccb()
|
| HD | cam_xpt.h | 74 void xpt_action(union ccb *new_ccb); 75 void xpt_action_default(union ccb *new_ccb);
|
| HD | cam_xpt.c | 4547 union ccb *new_ccb; in xpt_alloc_ccb() local 4549 new_ccb = malloc(sizeof(*new_ccb), M_CAMCCB, M_ZERO|M_WAITOK); in xpt_alloc_ccb() 4550 return (new_ccb); in xpt_alloc_ccb() 4556 union ccb *new_ccb; in xpt_alloc_ccb_nowait() local 4558 new_ccb = malloc(sizeof(*new_ccb), M_CAMCCB, M_ZERO|M_NOWAIT); in xpt_alloc_ccb_nowait() 4559 return (new_ccb); in xpt_alloc_ccb_nowait() 4580 union ccb *new_ccb; in xpt_get_ccb_nowait() local 4582 new_ccb = malloc(sizeof(*new_ccb), M_CAMCCB, M_ZERO|M_NOWAIT); in xpt_get_ccb_nowait() 4583 if (new_ccb == NULL) in xpt_get_ccb_nowait() 4587 return (new_ccb); in xpt_get_ccb_nowait() [all …]
|
| /freebsd-11-stable/sys/cam/ctl/ |
| HD | scsi_ctl.c | 503 union ccb *new_ccb; in ctlferegister() local 507 new_ccb = (union ccb *)malloc(sizeof(*new_ccb), M_CTLFE, in ctlferegister() 509 if (new_ccb == NULL) { in ctlferegister() 515 free(new_ccb, M_CTLFE); in ctlferegister() 523 free(new_ccb, M_CTLFE); in ctlferegister() 529 new_ccb->ccb_h.io_ptr = new_io; in ctlferegister() 530 LIST_INSERT_HEAD(&softc->atio_list, &new_ccb->ccb_h, periph_links.le); in ctlferegister() 532 xpt_setup_ccb(&new_ccb->ccb_h, periph->path, CAM_PRIORITY_NONE); in ctlferegister() 533 new_ccb->ccb_h.func_code = XPT_ACCEPT_TARGET_IO; in ctlferegister() 534 new_ccb->ccb_h.cbfcnp = ctlfedone; in ctlferegister() [all …]
|