Lines Matching refs:cend
803 off_t cstart, cend;
813 cend = cbp->bio_offset + cbp->bio_length;
815 if (nstart >= cend) {
849 } else if (nstart <= cstart && nend >= cend) {
872 cbp->bio_length = cend - nstart;
874 gj_free(cbp->bio_data, cend - cstart);
884 data += cend - nstart;
886 joffset += cend - nstart;
887 nstart = cend;
889 } else if (nstart > cstart && nend >= cend) {
900 g_journal_stats_bytes_skipped += cend - nstart;
901 nbp = g_journal_new_bio(nstart, cend, joffset, data,
908 cbp->bio_length, cend - cstart);
911 data += cend - nstart;
912 joffset += cend - nstart;
913 nstart = cend;
916 } else if (nstart > cstart && nend < cend) {
936 nbp = g_journal_new_bio(nend, cend,
943 cbp->bio_length, cend - cstart);
948 } else if (nstart <= cstart && nend < cend) {
968 cbp->bio_length = cend - nend;
978 gj_free(tmpdata, cend - cstart);
1478 off_t cstart, cend;
1485 cend = MIN(oend, bp->bio_offset + bp->bio_length);
1486 if (cend <= ostart)
1498 GJ_DEBUG(3, "READ(%p): (%jd, %jd) (bp=%p)", head, cstart, cend,
1501 pbp->bio_data + cstart - pbp->bio_offset, cend - cstart);
1502 pbp->bio_completed += cend - cstart;
1530 off_t cstart, cend;
1535 cstart = cend = -1;
1570 cend = MIN(oend, bp->bio_offset + bp->bio_length);
1572 i, (intmax_t)cstart, (intmax_t)cend);
1584 nbp->bio_length = cend - cstart;
1594 if (oend > cend)
1595 g_journal_read(sc, pbp, cend, oend);