Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/s390/block/
Ddasd_erp.c27 dasd_alloc_erp_request(unsigned int 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.c334 int cplength; in dasd_fba_build_cp_discard() local
347 cplength = 1 + 2 * nr_ccws; in dasd_fba_build_cp_discard()
351 cqr = dasd_smalloc_request(DASD_FBA_MAGIC, cplength, datasize, memdev, in dasd_fba_build_cp_discard()
442 int count, cidaw, cplength, datasize; in dasd_fba_build_cp_regular() local
473 cplength = 2 + count; in dasd_fba_build_cp_regular()
482 cplength += count - 1; in dasd_fba_build_cp_regular()
486 cqr = dasd_smalloc_request(DASD_FBA_MAGIC, cplength, datasize, memdev, in dasd_fba_build_cp_regular()
Ddasd_eckd.c2240 int cplength, datasize; in dasd_eckd_analysis_ccw() local
2243 cplength = 8; in dasd_eckd_analysis_ccw()
2245 cqr = dasd_smalloc_request(DASD_ECKD_MAGIC, cplength, datasize, device, in dasd_eckd_analysis_ccw()
2594 int cplength, datasize; in dasd_eckd_build_check() local
2613 cplength = 1; in dasd_eckd_build_check()
2616 cplength = 2; in dasd_eckd_build_check()
2620 cplength += count; in dasd_eckd_build_check()
2622 cqr = dasd_fmalloc_request(DASD_ECKD_MAGIC, cplength, datasize, startdev); in dasd_eckd_build_check()
2680 int cplength, datasize; in dasd_eckd_build_format() local
2722 cplength = 2 + (rpt*nr_tracks); in dasd_eckd_build_format()
[all …]
Ddasd.c1167 struct dasd_ccw_req *dasd_smalloc_request(int magic, int cplength, int datasize, in dasd_smalloc_request() argument
1175 if (cplength > 0) in dasd_smalloc_request()
1176 size += cplength * sizeof(struct ccw1); in dasd_smalloc_request()
1193 if (cplength > 0) { in dasd_smalloc_request()
1195 data += cplength * sizeof(struct ccw1); in dasd_smalloc_request()
1196 memset(cqr->cpaddr, 0, cplength * sizeof(struct ccw1)); in dasd_smalloc_request()
1209 struct dasd_ccw_req *dasd_fmalloc_request(int magic, int cplength, in dasd_fmalloc_request() argument
1220 if (cplength > 0) in dasd_fmalloc_request()
1221 size += cplength * sizeof(struct ccw1); in dasd_fmalloc_request()
1233 if (cplength > 0) { in dasd_fmalloc_request()
[all …]
Ddasd_3990_erp.c2382 int cplength, datasize; in dasd_3990_erp_add_erp() local
2387 cplength = 0; in dasd_3990_erp_add_erp()
2391 cplength = 2; in dasd_3990_erp_add_erp()
2397 cplength, datasize, device); in dasd_3990_erp_add_erp()
/linux-6.1.9/drivers/s390/char/
Dtape_core.c674 tape_alloc_request(int cplength, int datasize) in tape_alloc_request() argument
678 BUG_ON(datasize > PAGE_SIZE || (cplength*sizeof(struct ccw1)) > PAGE_SIZE); in tape_alloc_request()
680 DBF_LH(6, "tape_alloc_request(%d, %d)\n", cplength, datasize); in tape_alloc_request()
688 if (cplength > 0) { in tape_alloc_request()
689 request->cpaddr = kcalloc(cplength, sizeof(struct ccw1), in tape_alloc_request()
Dtape.h235 extern struct tape_request *tape_alloc_request(int cplength, int datasize);