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

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

Completed in 110 milliseconds