Lines Matching refs:cplength
696 * Allocate memory for a channel program with 'cplength' channel
702 struct dasd_ccw_req *dasd_kmalloc_request(int magic, int cplength,
710 (cplength*sizeof(struct ccw1)) > PAGE_SIZE);
716 if (cplength > 0) {
717 cqr->cpaddr = kcalloc(cplength, sizeof(struct ccw1),
739 struct dasd_ccw_req *dasd_smalloc_request(int magic, int cplength,
750 (cplength*sizeof(struct ccw1)) > PAGE_SIZE);
753 if (cplength > 0)
754 size += cplength * sizeof(struct ccw1);
766 if (cplength > 0) {
768 data += cplength*sizeof(struct ccw1);
769 memset(cqr->cpaddr, 0, cplength*sizeof(struct ccw1));