Lines Matching refs:cplength
559 * Allocate memory for a channel program with 'cplength' channel
566 dasd_kmalloc_request(char *magic, int cplength, int datasize,
573 (cplength*sizeof(struct ccw1)) > PAGE_SIZE);
579 if (cplength > 0) {
580 cqr->cpaddr = kcalloc(cplength, sizeof(struct ccw1),
604 dasd_smalloc_request(char *magic, int cplength, int datasize,
614 (cplength*sizeof(struct ccw1)) > PAGE_SIZE);
617 if (cplength > 0)
618 size += cplength * sizeof(struct ccw1);
630 if (cplength > 0) {
632 data += cplength*sizeof(struct ccw1);
633 memset(cqr->cpaddr, 0, cplength*sizeof(struct ccw1));