Home
last modified time | relevance | path

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

/Linux-v5.4/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.c342 int cplength; in dasd_fba_build_cp_discard() local
355 cplength = 1 + 2 * nr_ccws; in dasd_fba_build_cp_discard()
359 cqr = dasd_smalloc_request(DASD_FBA_MAGIC, cplength, datasize, memdev, in dasd_fba_build_cp_discard()
450 int count, cidaw, cplength, datasize; in dasd_fba_build_cp_regular() local
481 cplength = 2 + count; in dasd_fba_build_cp_regular()
490 cplength += count - 1; in dasd_fba_build_cp_regular()
494 cqr = dasd_smalloc_request(DASD_FBA_MAGIC, cplength, datasize, memdev, in dasd_fba_build_cp_regular()
Ddasd_eckd.c2120 int cplength, datasize; in dasd_eckd_analysis_ccw() local
2123 cplength = 8; in dasd_eckd_analysis_ccw()
2125 cqr = dasd_smalloc_request(DASD_ECKD_MAGIC, cplength, datasize, device, in dasd_eckd_analysis_ccw()
2474 int cplength, datasize; in dasd_eckd_build_check() local
2493 cplength = 1; in dasd_eckd_build_check()
2496 cplength = 2; in dasd_eckd_build_check()
2500 cplength += count; in dasd_eckd_build_check()
2502 cqr = dasd_fmalloc_request(DASD_ECKD_MAGIC, cplength, datasize, startdev); in dasd_eckd_build_check()
2560 int cplength, datasize; in dasd_eckd_build_format() local
2602 cplength = 2 + (rpt*nr_tracks); in dasd_eckd_build_format()
[all …]
Ddasd.c1229 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()
[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()
/Linux-v5.4/drivers/s390/char/
Dtape_core.c723 tape_alloc_request(int cplength, int datasize) in tape_alloc_request() argument
727 BUG_ON(datasize > PAGE_SIZE || (cplength*sizeof(struct ccw1)) > PAGE_SIZE); in tape_alloc_request()
729 DBF_LH(6, "tape_alloc_request(%d, %d)\n", cplength, datasize); in tape_alloc_request()
737 if (cplength > 0) { in tape_alloc_request()
738 request->cpaddr = kcalloc(cplength, sizeof(struct ccw1), in tape_alloc_request()
Dtape.h235 extern struct tape_request *tape_alloc_request(int cplength, int datasize);