Searched refs:ccb_len (Results 1 – 2 of 2) sorted by relevance
652 size_t ccb_len; in targusermerge() local667 ccb_len = targccblen(k_ccbh->func_code) - sizeof(struct ccb_hdr); in targusermerge()668 error = copyin(u_ccbh + 1, k_ccbh + 1, ccb_len); in targusermerge()901 size_t ccb_len; in targreturnccb() local914 ccb_len = targccblen(ccb->ccb_h.func_code) - sizeof(struct ccb_hdr); in targreturnccb()917 error = copyout(&ccb->ccb_h + 1, u_ccbh + 1, ccb_len); in targreturnccb()932 int ccb_len; in targgetccb() local934 ccb_len = targccblen(type); in targgetccb()935 ccb = malloc(ccb_len, M_TARG, M_NOWAIT); in targgetccb()
2737 uint32_t srr_off, ccb_off, ccb_len, ccb_end; in isp_handle_srr_start() local2751 ccb_len = ccb->csio.dxfer_len; in isp_handle_srr_start()2752 ccb_end = (ccb_off == ~0)? ~0 : ccb_off + ccb_len; in isp_handle_srr_start()2761 if (ccb_len == 0) { in isp_handle_srr_start()2765 if (srr_off < ccb_off || ccb_off > srr_off + ccb_len) { in isp_handle_srr_start()