Lines Matching refs:bip
5252 bdata2bio(struct buf *bp, struct bio *bip) in bdata2bio() argument
5257 bip->bio_ma = bp->b_pages; in bdata2bio()
5258 bip->bio_ma_n = bp->b_npages; in bdata2bio()
5259 bip->bio_data = unmapped_buf; in bdata2bio()
5260 bip->bio_ma_offset = (vm_offset_t)bp->b_offset & PAGE_MASK; in bdata2bio()
5261 bip->bio_flags |= BIO_UNMAPPED; in bdata2bio()
5262 KASSERT(round_page(bip->bio_ma_offset + bip->bio_length) / in bdata2bio()
5264 ("Buffer %p too short: %d %lld %d", bp, bip->bio_ma_offset, in bdata2bio()
5265 (long long)bip->bio_length, bip->bio_ma_n)); in bdata2bio()
5267 bip->bio_data = bp->b_data; in bdata2bio()
5268 bip->bio_ma = NULL; in bdata2bio()