Lines Matching refs:cstart
803 off_t cstart, cend;
812 cstart = cbp->bio_offset;
827 } else if (nend <= cstart) {
849 } else if (nstart <= cstart && nend >= cend) {
874 gj_free(cbp->bio_data, cend - cstart);
889 } else if (nstart > cstart && nend >= cend) {
905 cbp->bio_length = nstart - cstart;
908 cbp->bio_length, cend - cstart);
916 } else if (nstart > cstart && nend < cend) {
935 tmpdata = cbp->bio_data + nend - cstart;
937 cbp->bio_joffset + nend - cstart, tmpdata, flags);
940 cbp->bio_length = nstart - cstart;
943 cbp->bio_length, cend - cstart);
948 } else if (nstart <= cstart && nend < cend) {
969 cbp->bio_joffset += nend - cstart;
975 bcopy(tmpdata + nend - cstart,
978 gj_free(tmpdata, cend - cstart);
1478 off_t cstart, cend;
1484 cstart = MAX(ostart, bp->bio_offset);
1488 else if (cstart >= oend) {
1498 GJ_DEBUG(3, "READ(%p): (%jd, %jd) (bp=%p)", head, cstart, cend,
1500 bcopy(bp->bio_data + cstart - bp->bio_offset,
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;
1569 cstart = MAX(ostart, bp->bio_offset);
1572 i, (intmax_t)cstart, (intmax_t)cend);
1581 pbp->bio_data + cstart - pbp->bio_offset;
1583 bp->bio_joffset + cstart - bp->bio_offset;
1584 nbp->bio_length = cend - cstart;
1592 if (ostart < cstart)
1593 g_journal_read(sc, pbp, ostart, cstart);