Lines Matching refs:cplength
1229 struct dasd_ccw_req *dasd_smalloc_request(int magic, int cplength, int datasize, in dasd_smalloc_request() argument
1237 if (cplength > 0) in dasd_smalloc_request()
1238 size += cplength * sizeof(struct ccw1); in dasd_smalloc_request()
1255 if (cplength > 0) { in dasd_smalloc_request()
1257 data += cplength * sizeof(struct ccw1); in dasd_smalloc_request()
1258 memset(cqr->cpaddr, 0, cplength * sizeof(struct ccw1)); in dasd_smalloc_request()
1271 struct dasd_ccw_req *dasd_fmalloc_request(int magic, int cplength, in dasd_fmalloc_request() argument
1282 if (cplength > 0) in dasd_fmalloc_request()
1283 size += cplength * sizeof(struct ccw1); in dasd_fmalloc_request()
1295 if (cplength > 0) { in dasd_fmalloc_request()
1297 data += cplength * sizeof(struct ccw1); in dasd_fmalloc_request()
1298 memset(cqr->cpaddr, 0, cplength * sizeof(struct ccw1)); in dasd_fmalloc_request()