Lines Matching refs:cstart

800 	off_t cstart, cend;
809 cstart = cbp->bio_offset;
824 } else if (nend <= cstart) {
846 } else if (nstart <= cstart && nend >= cend) {
871 gj_free(cbp->bio_data, cend - cstart);
886 } else if (nstart > cstart && nend >= cend) {
902 cbp->bio_length = nstart - cstart;
905 cbp->bio_length, cend - cstart);
913 } else if (nstart > cstart && nend < cend) {
932 tmpdata = cbp->bio_data + nend - cstart;
934 cbp->bio_joffset + nend - cstart, tmpdata, flags);
937 cbp->bio_length = nstart - cstart;
940 cbp->bio_length, cend - cstart);
945 } else if (nstart <= cstart && nend < cend) {
966 cbp->bio_joffset += nend - cstart;
972 bcopy(tmpdata + nend - cstart,
975 gj_free(tmpdata, cend - cstart);
1477 off_t cstart, cend;
1483 cstart = MAX(ostart, bp->bio_offset);
1487 else if (cstart >= oend) {
1497 GJ_DEBUG(3, "READ(%p): (%jd, %jd) (bp=%p)", head, cstart, cend,
1499 bcopy(bp->bio_data + cstart - bp->bio_offset,
1500 pbp->bio_data + cstart - pbp->bio_offset, cend - cstart);
1501 pbp->bio_completed += cend - cstart;
1522 off_t cstart, cend;
1526 cstart = MAX(ostart, bp->bio_offset);
1530 else if (cstart >= oend)
1534 GJ_DEBUG(3, "READ(%p): (%jd, %jd) (bp=%p)", head, cstart, cend,
1536 bcopy(bp->bio_data + cstart - bp->bio_offset,
1537 pbp->bio_data + cstart - pbp->bio_offset, cend - cstart);
1538 pbp->bio_completed += cend - cstart;
1568 off_t cstart, cend;
1573 cstart = cend = -1;
1616 cstart = MAX(ostart, bp->bio_offset);
1619 i, (intmax_t)cstart, (intmax_t)cend);
1628 pbp->bio_data + cstart - pbp->bio_offset;
1630 bp->bio_joffset + cstart - bp->bio_offset;
1631 nbp->bio_length = cend - cstart;
1639 if (ostart < cstart)
1640 g_journal_read(sc, pbp, ostart, cstart);