Home
last modified time | relevance | path

Searched refs:cplength (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/drivers/s390/block/
Ddasd_erp.c27 dasd_alloc_erp_request(char *magic, int cplength, int datasize, in dasd_alloc_erp_request() argument
37 (cplength*sizeof(struct ccw1)) > PAGE_SIZE); in dasd_alloc_erp_request()
40 if (cplength > 0) in dasd_alloc_erp_request()
41 size += cplength * sizeof(struct ccw1); in dasd_alloc_erp_request()
55 if (cplength > 0) { in dasd_alloc_erp_request()
57 data += cplength*sizeof(struct ccw1); in dasd_alloc_erp_request()
58 memset(cqr->cpaddr, 0, cplength*sizeof(struct ccw1)); in dasd_alloc_erp_request()
Ddasd_fba.c343 int cplength; in dasd_fba_build_cp_discard() local
356 cplength = 1 + 2 * nr_ccws; in dasd_fba_build_cp_discard()
360 cqr = dasd_smalloc_request(DASD_FBA_MAGIC, cplength, datasize, memdev, in dasd_fba_build_cp_discard()
451 int count, cidaw, cplength, datasize; in dasd_fba_build_cp_regular() local
482 cplength = 2 + count; in dasd_fba_build_cp_regular()
491 cplength += count - 1; in dasd_fba_build_cp_regular()
495 cqr = dasd_smalloc_request(DASD_FBA_MAGIC, cplength, datasize, memdev, in dasd_fba_build_cp_regular()
Ddasd_eckd.c1802 int cplength, datasize; in dasd_eckd_analysis_ccw() local
1805 cplength = 8; in dasd_eckd_analysis_ccw()
1807 cqr = dasd_smalloc_request(DASD_ECKD_MAGIC, cplength, datasize, device, in dasd_eckd_analysis_ccw()
2154 int cplength, datasize; in dasd_eckd_build_check() local
2173 cplength = 1; in dasd_eckd_build_check()
2176 cplength = 2; in dasd_eckd_build_check()
2180 cplength += count; in dasd_eckd_build_check()
2182 cqr = dasd_smalloc_request(DASD_ECKD_MAGIC, cplength, datasize, in dasd_eckd_build_check()
2243 int cplength, datasize; in dasd_eckd_build_format() local
2285 cplength = 2 + (rpt*nr_tracks); in dasd_eckd_build_format()
[all …]
Ddasd_3990_erp.c2377 int cplength, datasize; in dasd_3990_erp_add_erp() local
2382 cplength = 0; in dasd_3990_erp_add_erp()
2386 cplength = 2; in dasd_3990_erp_add_erp()
2392 cplength, datasize, device); in dasd_3990_erp_add_erp()
Ddasd.c1232 struct dasd_ccw_req *dasd_smalloc_request(int magic, int cplength, int datasize, in dasd_smalloc_request() argument
1240 if (cplength > 0) in dasd_smalloc_request()
1241 size += cplength * sizeof(struct ccw1); in dasd_smalloc_request()
1258 if (cplength > 0) { in dasd_smalloc_request()
1260 data += cplength * sizeof(struct ccw1); in dasd_smalloc_request()
1261 memset(cqr->cpaddr, 0, cplength * sizeof(struct ccw1)); in dasd_smalloc_request()
/linux-4.19.296/drivers/s390/char/
Dtape_core.c722 tape_alloc_request(int cplength, int datasize) in tape_alloc_request() argument
726 BUG_ON(datasize > PAGE_SIZE || (cplength*sizeof(struct ccw1)) > PAGE_SIZE); in tape_alloc_request()
728 DBF_LH(6, "tape_alloc_request(%d, %d)\n", cplength, datasize); in tape_alloc_request()
736 if (cplength > 0) { in tape_alloc_request()
737 request->cpaddr = kcalloc(cplength, sizeof(struct ccw1), in tape_alloc_request()
Dtape.h235 extern struct tape_request *tape_alloc_request(int cplength, int datasize);