Lines Matching refs:cstart

811 	off_t cstart, cend;  in g_journal_insert()  local
820 cstart = cbp->bio_offset; in g_journal_insert()
835 } else if (nend <= cstart) { in g_journal_insert()
857 } else if (nstart <= cstart && nend >= cend) { in g_journal_insert()
882 gj_free(cbp->bio_data, cend - cstart); in g_journal_insert()
897 } else if (nstart > cstart && nend >= cend) { in g_journal_insert()
913 cbp->bio_length = nstart - cstart; in g_journal_insert()
916 cbp->bio_length, cend - cstart); in g_journal_insert()
924 } else if (nstart > cstart && nend < cend) { in g_journal_insert()
943 tmpdata = cbp->bio_data + nend - cstart; in g_journal_insert()
945 cbp->bio_joffset + nend - cstart, tmpdata, flags); in g_journal_insert()
948 cbp->bio_length = nstart - cstart; in g_journal_insert()
951 cbp->bio_length, cend - cstart); in g_journal_insert()
956 } else if (nstart <= cstart && nend < cend) { in g_journal_insert()
977 cbp->bio_joffset += nend - cstart; in g_journal_insert()
983 bcopy(tmpdata + nend - cstart, in g_journal_insert()
986 gj_free(tmpdata, cend - cstart); in g_journal_insert()
1486 off_t cstart, cend; in g_journal_read_find() local
1492 cstart = MAX(ostart, bp->bio_offset); in g_journal_read_find()
1496 else if (cstart >= oend) { in g_journal_read_find()
1506 GJ_DEBUG(3, "READ(%p): (%jd, %jd) (bp=%p)", head, cstart, cend, in g_journal_read_find()
1508 bcopy(bp->bio_data + cstart - bp->bio_offset, in g_journal_read_find()
1509 pbp->bio_data + cstart - pbp->bio_offset, cend - cstart); in g_journal_read_find()
1510 pbp->bio_completed += cend - cstart; in g_journal_read_find()
1538 off_t cstart, cend; in g_journal_read() local
1543 cstart = cend = -1; in g_journal_read()
1577 cstart = MAX(ostart, bp->bio_offset); in g_journal_read()
1580 i, (intmax_t)cstart, (intmax_t)cend); in g_journal_read()
1589 pbp->bio_data + cstart - pbp->bio_offset; in g_journal_read()
1591 bp->bio_joffset + cstart - bp->bio_offset; in g_journal_read()
1592 nbp->bio_length = cend - cstart; in g_journal_read()
1600 if (ostart < cstart) in g_journal_read()
1601 g_journal_read(sc, pbp, ostart, cstart); in g_journal_read()