Home
last modified time | relevance | path

Searched refs:ccb_len (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/cam/scsi/
H A Dscsi_target.c654 size_t ccb_len; in targusermerge() local
669 ccb_len = targccblen(k_ccbh->func_code) - sizeof(struct ccb_hdr); in targusermerge()
670 error = copyin(u_ccbh + 1, k_ccbh + 1, ccb_len); in targusermerge()
903 size_t ccb_len; in targreturnccb() local
920 ccb_len = targccblen(ccb->ccb_h.func_code) - sizeof(struct ccb_hdr); in targreturnccb()
929 error = copyout(&ccb->ccb_h + 1, u_ccbh + 1, ccb_len); in targreturnccb()
945 int ccb_len; in targgetccb() local
947 ccb_len = targccblen(type); in targgetccb()
948 ccb = malloc(ccb_len, M_TARG, M_NOWAIT | M_ZERO); in targgetccb()
/freebsd/sys/dev/isp/
H A Disp_freebsd.c1465 uint32_t srr_off, ccb_off, ccb_len, ccb_end; in isp_handle_srr_start() local
1479 ccb_len = ccb->csio.dxfer_len; in isp_handle_srr_start()
1480 ccb_end = (ccb_off == ~0)? ~0 : ccb_off + ccb_len; in isp_handle_srr_start()
1489 if (ccb_len == 0) { in isp_handle_srr_start()
1493 if (srr_off < ccb_off || ccb_off > srr_off + ccb_len) { in isp_handle_srr_start()