Lines Matching refs:b_data
1180 bp->b_data = bp->b_kvabase = unmapped_buf;
1303 KASSERT(bp->b_data != unmapped_buf,
1304 ("mapped buf: b_data was not updated %p", bp));
1305 KASSERT(bp->b_data < unmapped_buf || bp->b_data >= unmapped_buf +
1306 maxphys, ("b_data + b_offset unmapped %p", bp));
1313 KASSERT(bp->b_data == unmapped_buf,
1314 ("unmapped buf: corrupted b_data %p", bp));
1456 * bp->b_data is relative to bp->b_offset, but
1459 bp->b_data = (caddr_t)trunc_page((vm_offset_t)bp->b_data);
1460 pmap_qenter((vm_offset_t)bp->b_data, bp->b_pages, bp->b_npages);
1461 bp->b_data = (caddr_t)((vm_offset_t)bp->b_data |
1706 bp->b_data = bp->b_kvabase = unmapped_buf;
2004 bp->b_data == unmapped_buf,
2017 bp->b_data = bp->b_kvabase = unmapped_buf;
2053 bp->b_data = unmapped_buf;
2056 bp->b_data = bp->b_kvabase;
2945 pmap_qenter(trunc_page((vm_offset_t)bp->b_data),
2963 pmap_qremove(trunc_page((vm_offset_t)bp->b_data), bp->b_npages);
2969 * page-aligned then b_data pointer may not be page-aligned.
3019 pmap_qremove((vm_offset_t)trunc_page((vm_offset_t)bp->b_data) +
3192 gbflags = (bp->b_data == unmapped_buf) ? GB_UNMAPPED : 0;
3777 need_mapping = bp->b_data == unmapped_buf &&
3780 bp->b_data == unmapped_buf &&
3820 bp->b_data = bp->b_kvabase;
4203 free(bp->b_data, M_BIOBUF);
4204 bp->b_data = bp->b_kvabase;
4234 bp->b_data = malloc(newbsize, M_BIOBUF, M_WAITOK);
4248 origbuf = bp->b_data;
4250 bp->b_data = bp->b_kvabase;
4255 vm_hold_load_pages(bp, (vm_offset_t) bp->b_data + bp->b_bufsize,
4256 (vm_offset_t) bp->b_data + newbsize);
4258 bcopy(origbuf, bp->b_data, origbufsize);
4544 pmap_qenter(trunc_page((vm_offset_t)bp->b_data),
4707 pmap_qenter(trunc_page((vm_offset_t)bp->b_data),
4818 bzero(bp->b_data + base, size);
4891 index = (from - trunc_page((vm_offset_t)bp->b_data)) >> PAGE_SHIFT;
4922 from = round_page((vm_offset_t)bp->b_data + newbsize);
4923 newnpages = (from - trunc_page((vm_offset_t)bp->b_data)) >> PAGE_SHIFT;
4968 bp->b_data = bp->b_kvabase + bp->b_offset;
4970 bp->b_data = unmapped_buf;
4987 pmap_qremove(trunc_page((vm_offset_t)bp->b_data), npages);
4990 bp->b_data = unmapped_buf;
5124 bip->bio_data = bp->b_data;
5356 "b_bufobj = (%p), b_data = %p\n, b_blkno = %jd, b_lblkno = %jd, "
5359 bp->b_bufobj, bp->b_data, (intmax_t)bp->b_blkno,