Searched refs:cplength (Results 1 – 7 of 7) sorted by relevance
/drivers/s390/block/ |
D | dasd_erp.c | 27 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()
|
D | dasd_fba.c | 334 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()
|
D | dasd_eckd.c | 2214 int cplength, datasize; in dasd_eckd_analysis_ccw() local 2217 cplength = 8; in dasd_eckd_analysis_ccw() 2219 cqr = dasd_smalloc_request(DASD_ECKD_MAGIC, cplength, datasize, device, in dasd_eckd_analysis_ccw() 2568 int cplength, datasize; in dasd_eckd_build_check() local 2587 cplength = 1; in dasd_eckd_build_check() 2590 cplength = 2; in dasd_eckd_build_check() 2594 cplength += count; in dasd_eckd_build_check() 2596 cqr = dasd_fmalloc_request(DASD_ECKD_MAGIC, cplength, datasize, startdev); in dasd_eckd_build_check() 2654 int cplength, datasize; in dasd_eckd_build_format() local 2696 cplength = 2 + (rpt*nr_tracks); in dasd_eckd_build_format() [all …]
|
D | dasd.c | 1193 struct dasd_ccw_req *dasd_smalloc_request(int magic, int cplength, int datasize, in dasd_smalloc_request() argument 1201 if (cplength > 0) in dasd_smalloc_request() 1202 size += cplength * sizeof(struct ccw1); in dasd_smalloc_request() 1219 if (cplength > 0) { in dasd_smalloc_request() 1221 data += cplength * sizeof(struct ccw1); in dasd_smalloc_request() 1222 memset(cqr->cpaddr, 0, cplength * sizeof(struct ccw1)); in dasd_smalloc_request() 1235 struct dasd_ccw_req *dasd_fmalloc_request(int magic, int cplength, in dasd_fmalloc_request() argument 1246 if (cplength > 0) in dasd_fmalloc_request() 1247 size += cplength * sizeof(struct ccw1); in dasd_fmalloc_request() 1259 if (cplength > 0) { in dasd_fmalloc_request() [all …]
|
D | dasd_3990_erp.c | 2377 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()
|
/drivers/s390/char/ |
D | tape_core.c | 674 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()
|
D | tape.h | 235 extern struct tape_request *tape_alloc_request(int cplength, int datasize);
|