Home
last modified time | relevance | path

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

/drivers/s390/block/
Ddasd_eer.c605 int tailcount,effective_count; in dasd_eer_read() local
623 effective_count = min(eerb->residual, (int) count); in dasd_eer_read()
624 eerb->residual -= effective_count; in dasd_eer_read()
647 effective_count = min(tailcount,(int)count); in dasd_eer_read()
648 eerb->residual = tailcount - effective_count; in dasd_eer_read()
651 tc = dasd_eer_read_buffer(eerb, readbuffer, effective_count); in dasd_eer_read()
652 WARN_ON(tc != effective_count); in dasd_eer_read()
656 if (copy_to_user(buf, readbuffer, effective_count)) { in dasd_eer_read()
662 return effective_count; in dasd_eer_read()