Lines Matching refs:bio_offset
706 bp->bio_offset = cp->provider->mediasize - cp->provider->sectorsize; in g_journal_metadata_update()
780 bp->bio_offset = start; in g_journal_new_bio()
796 g_journal_insert((head), (bp)->bio_offset, \
797 (bp)->bio_offset + (bp)->bio_length, (bp)->bio_joffset, \
820 cstart = cbp->bio_offset; in g_journal_insert()
821 cend = cbp->bio_offset + cbp->bio_length; in g_journal_insert()
878 cbp->bio_offset = nstart; in g_journal_insert()
975 cbp->bio_offset = nend; in g_journal_insert()
1008 (intmax_t)cbp->bio_offset, in g_journal_insert()
1043 if (pbp->bio_offset + pbp->bio_length != cbp->bio_offset) { in g_journal_optimize()
1045 KASSERT(pbp->bio_offset + pbp->bio_length < cbp->bio_offset, in g_journal_optimize()
1047 (intmax_t)pbp->bio_offset, in g_journal_optimize()
1049 (intmax_t)cbp->bio_offset)); in g_journal_optimize()
1106 cbp->bio_offset = bp->bio_joffset; in g_journal_read_first()
1276 fbp->bio_offset = -1; in g_journal_flush()
1301 ent->je_offset = bp->bio_offset; in g_journal_flush()
1310 bp->bio_offset = ent->je_offset; in g_journal_flush()
1391 bp->bio_offset = bp->bio_joffset; in g_journal_flush_send()
1490 if (bp->bio_offset == -1) in g_journal_read_find()
1492 cstart = MAX(ostart, bp->bio_offset); in g_journal_read_find()
1493 cend = MIN(oend, bp->bio_offset + bp->bio_length); 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()
1577 cstart = MAX(ostart, bp->bio_offset); in g_journal_read()
1578 cend = MIN(oend, bp->bio_offset + bp->bio_length); in g_journal_read()
1589 pbp->bio_data + cstart - pbp->bio_offset; in g_journal_read()
1590 nbp->bio_offset = in g_journal_read()
1591 bp->bio_joffset + cstart - bp->bio_offset; in g_journal_read()
1612 nbp->bio_data = pbp->bio_data + ostart - pbp->bio_offset; in g_journal_read()
1613 nbp->bio_offset = ostart; in g_journal_read()
1739 bp->bio_offset = offset; in g_journal_sync_read()
2141 g_journal_read(sc, bp, bp->bio_offset, in g_journal_worker()
2142 bp->bio_offset + bp->bio_length); in g_journal_worker()