Lines Matching refs:memdev
326 struct dasd_device *memdev, in dasd_fba_build_cp_discard() argument
360 cqr = dasd_smalloc_request(DASD_FBA_MAGIC, cplength, datasize, memdev, in dasd_fba_build_cp_discard()
427 cqr->startdev = memdev; in dasd_fba_build_cp_discard()
428 cqr->memdev = memdev; in dasd_fba_build_cp_discard()
430 cqr->expires = memdev->default_expires * HZ; /* default 5 minutes */ in dasd_fba_build_cp_discard()
431 cqr->retries = memdev->default_retries; in dasd_fba_build_cp_discard()
439 struct dasd_device *memdev, in dasd_fba_build_cp_regular() argument
495 cqr = dasd_smalloc_request(DASD_FBA_MAGIC, cplength, datasize, memdev, in dasd_fba_build_cp_regular()
555 cqr->startdev = memdev; in dasd_fba_build_cp_regular()
556 cqr->memdev = memdev; in dasd_fba_build_cp_regular()
558 cqr->expires = memdev->default_expires * HZ; /* default 5 minutes */ in dasd_fba_build_cp_regular()
559 cqr->retries = memdev->default_retries; in dasd_fba_build_cp_regular()
565 static struct dasd_ccw_req *dasd_fba_build_cp(struct dasd_device *memdev, in dasd_fba_build_cp() argument
570 return dasd_fba_build_cp_discard(memdev, block, req); in dasd_fba_build_cp()
572 return dasd_fba_build_cp_regular(memdev, block, req); in dasd_fba_build_cp()
618 dasd_sfree_request(cqr, cqr->memdev); in dasd_fba_free_cp()