Lines Matching refs:nstart
799 g_journal_insert(struct bio **head, off_t nstart, off_t nend, off_t joffset,
807 GJ_DEBUG(3, "INSERT(%p): (%jd, %jd, %jd)", *head, nstart, nend,
815 if (nstart >= cend) {
838 nbp = g_journal_new_bio(nstart, nend, joffset, data,
849 } else if (nstart <= cstart && nend >= cend) {
870 cbp->bio_offset = nstart;
872 cbp->bio_length = cend - nstart;
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,
905 cbp->bio_length = nstart - cstart;
911 data += cend - nstart;
912 joffset += cend - nstart;
913 nstart = cend;
916 } else if (nstart > cstart && nend < cend) {
927 g_journal_stats_bytes_skipped += nend - nstart;
928 nbp = g_journal_new_bio(nstart, nend, joffset, data,
940 cbp->bio_length = nstart - cstart;
948 } else if (nstart <= cstart && nend < cend) {
959 g_journal_stats_bytes_skipped += nend - nstart;
960 nbp = g_journal_new_bio(nstart, nend, joffset, data,
984 if (nstart == nend)
988 nbp = g_journal_new_bio(nstart, nend, joffset, data, flags);