Searched refs:effective_count (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/s390/block/ |
H A D | dasd_eer.c | 606 int tailcount,effective_count; in dasd_eer_read() local 624 effective_count = min(eerb->residual, (int) count); in dasd_eer_read() 625 eerb->residual -= effective_count; in dasd_eer_read() 648 effective_count = min(tailcount,(int)count); in dasd_eer_read() 649 eerb->residual = tailcount - effective_count; in dasd_eer_read() 652 tc = dasd_eer_read_buffer(eerb, readbuffer, effective_count); in dasd_eer_read() 653 WARN_ON(tc != effective_count); in dasd_eer_read() 657 if (copy_to_user(buf, readbuffer, effective_count)) { in dasd_eer_read() 663 return effective_count; in dasd_eer_read()
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_h323_asn1.c | 651 unsigned int count, effective_count = 0, i, len = 0; in decode_seqof() local 693 effective_count = count > f->ub ? f->ub : count; in decode_seqof() 694 *(unsigned int *)base = effective_count; in decode_seqof() 720 effective_count ? in decode_seqof() 731 effective_count ? in decode_seqof()
|