Lines Matching refs:nend
807 g_journal_insert(struct bio **head, off_t nstart, off_t nend, off_t joffset, in g_journal_insert() argument
815 GJ_DEBUG(3, "INSERT(%p): (%jd, %jd, %jd)", *head, nstart, nend, in g_journal_insert()
835 } else if (nend <= cstart) { in g_journal_insert()
846 nbp = g_journal_new_bio(nstart, nend, joffset, data, in g_journal_insert()
857 } else if (nstart <= cstart && nend >= cend) { in g_journal_insert()
897 } else if (nstart > cstart && nend >= cend) { in g_journal_insert()
924 } else if (nstart > cstart && nend < cend) { in g_journal_insert()
935 g_journal_stats_bytes_skipped += nend - nstart; in g_journal_insert()
936 nbp = g_journal_new_bio(nstart, nend, joffset, data, in g_journal_insert()
943 tmpdata = cbp->bio_data + nend - cstart; in g_journal_insert()
944 nbp = g_journal_new_bio(nend, cend, in g_journal_insert()
945 cbp->bio_joffset + nend - cstart, tmpdata, flags); in g_journal_insert()
956 } else if (nstart <= cstart && nend < cend) { in g_journal_insert()
967 g_journal_stats_bytes_skipped += nend - nstart; in g_journal_insert()
968 nbp = g_journal_new_bio(nstart, nend, joffset, data, in g_journal_insert()
975 cbp->bio_offset = nend; in g_journal_insert()
976 cbp->bio_length = cend - nend; in g_journal_insert()
977 cbp->bio_joffset += nend - cstart; in g_journal_insert()
983 bcopy(tmpdata + nend - cstart, in g_journal_insert()
992 if (nstart == nend) in g_journal_insert()
996 nbp = g_journal_new_bio(nstart, nend, joffset, data, flags); in g_journal_insert()