Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/cam/scsi/
Dscsi_target.c659 size_t ccb_len; in targusermerge() local
674 ccb_len = targccblen(k_ccbh->func_code) - sizeof(struct ccb_hdr); in targusermerge()
675 error = copyin(u_ccbh + 1, k_ccbh + 1, ccb_len); in targusermerge()
908 size_t ccb_len; in targreturnccb() local
921 ccb_len = targccblen(ccb->ccb_h.func_code) - sizeof(struct ccb_hdr); in targreturnccb()
924 error = copyout(&ccb->ccb_h + 1, u_ccbh + 1, ccb_len); in targreturnccb()
939 int ccb_len; in targgetccb() local
941 ccb_len = targccblen(type); in targgetccb()
942 ccb = malloc(ccb_len, M_TARG, M_NOWAIT); in targgetccb()
/freebsd-12-stable/sys/dev/isp/
Disp_freebsd.c1950 uint32_t srr_off, ccb_off, ccb_len, ccb_end; in isp_handle_srr_start() local
1964 ccb_len = ccb->csio.dxfer_len; in isp_handle_srr_start()
1965 ccb_end = (ccb_off == ~0)? ~0 : ccb_off + ccb_len; in isp_handle_srr_start()
1974 if (ccb_len == 0) { in isp_handle_srr_start()
1978 if (srr_off < ccb_off || ccb_off > srr_off + ccb_len) { in isp_handle_srr_start()