Searched refs:new_ccb (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/cam/ |
H A D | cam_queue.h | 157 cam_ccbq_insert_ccb(struct cam_ccbq *ccbq, union ccb *new_ccb) in cam_ccbq_insert_ccb() argument 162 KASSERT((new_ccb->ccb_h.func_code & XPT_FC_QUEUED) != 0 && in cam_ccbq_insert_ccb() 163 (new_ccb->ccb_h.func_code & XPT_FC_USER_CCB) == 0, in cam_ccbq_insert_ccb() 164 ("%s: Cannot queue ccb %p func_code %#x", __func__, new_ccb, in cam_ccbq_insert_ccb() 165 new_ccb->ccb_h.func_code)); in cam_ccbq_insert_ccb() 180 camq_insert(queue, &new_ccb->ccb_h.pinfo); in cam_ccbq_insert_ccb()
|
H A D | cam_xpt.h | 73 void xpt_action(union ccb *new_ccb); 74 void xpt_action_default(union ccb *new_ccb);
|
H A D | cam_xpt.c | 4530 union ccb *new_ccb; in xpt_alloc_ccb() local 4532 new_ccb = malloc(sizeof(*new_ccb), M_CAMCCB, M_ZERO|M_WAITOK); in xpt_alloc_ccb() 4533 return (new_ccb); in xpt_alloc_ccb() 4539 union ccb *new_ccb; in xpt_alloc_ccb_nowait() local 4541 new_ccb = malloc(sizeof(*new_ccb), M_CAMCCB, M_ZERO|M_NOWAIT); in xpt_alloc_ccb_nowait() 4542 return (new_ccb); in xpt_alloc_ccb_nowait() 4571 union ccb *new_ccb; in xpt_get_ccb_nowait() local 4576 new_ccb = uma_zalloc(periph->ccb_zone, M_ZERO|M_NOWAIT); in xpt_get_ccb_nowait() 4579 new_ccb = malloc(sizeof(*new_ccb), M_CAMCCB, M_ZERO|M_NOWAIT); in xpt_get_ccb_nowait() 4581 if (new_ccb == NULL) in xpt_get_ccb_nowait() [all …]
|
/freebsd/sys/cam/ctl/ |
H A D | scsi_ctl.c | 496 union ccb *new_ccb; in ctlferegister() local 500 new_ccb = (union ccb *)malloc(sizeof(*new_ccb), M_CTLFE, in ctlferegister() 502 if (new_ccb == NULL) { in ctlferegister() 508 free(new_ccb, M_CTLFE); in ctlferegister() 516 free(new_ccb, M_CTLFE); in ctlferegister() 522 new_ccb->ccb_h.io_ptr = new_io; in ctlferegister() 523 LIST_INSERT_HEAD(&softc->atio_list, &new_ccb->ccb_h, periph_links.le); in ctlferegister() 525 xpt_setup_ccb(&new_ccb->ccb_h, periph->path, CAM_PRIORITY_NONE); in ctlferegister() 526 new_ccb in ctlferegister() 553 union ccb *new_ccb; ctlferegister() local [all...] |
/freebsd/sys/cam/mmc/ |
H A D | mmc_da.c | 1073 union ccb *new_ccb; in sdda_start_init_task() local 1078 new_ccb = xpt_alloc_ccb(); in sdda_start_init_task() 1079 xpt_setup_ccb(&new_ccb->ccb_h, periph->path, in sdda_start_init_task() 1084 sdda_start_init(context, new_ccb); in sdda_start_init_task() 1087 xpt_free_ccb(new_ccb); in sdda_start_init_task()
|