Lines Matching refs:cplength
1231 struct dasd_ccw_req *dasd_smalloc_request(int magic, int cplength, int datasize, in dasd_smalloc_request() argument
1239 if (cplength > 0) in dasd_smalloc_request()
1240 size += cplength * sizeof(struct ccw1); in dasd_smalloc_request()
1257 if (cplength > 0) { in dasd_smalloc_request()
1259 data += cplength * sizeof(struct ccw1); in dasd_smalloc_request()
1260 memset(cqr->cpaddr, 0, cplength * sizeof(struct ccw1)); in dasd_smalloc_request()
1273 struct dasd_ccw_req *dasd_fmalloc_request(int magic, int cplength, in dasd_fmalloc_request() argument
1284 if (cplength > 0) in dasd_fmalloc_request()
1285 size += cplength * sizeof(struct ccw1); in dasd_fmalloc_request()
1297 if (cplength > 0) { in dasd_fmalloc_request()
1299 data += cplength * sizeof(struct ccw1); in dasd_fmalloc_request()
1300 memset(cqr->cpaddr, 0, cplength * sizeof(struct ccw1)); in dasd_fmalloc_request()