Lines Matching refs:bp
139 static int cluster_iodone(buf_t bp, void *callback_arg);
475 cluster_iodone(buf_t bp, void *callback_arg)
495 cbp_head = (buf_t)(bp->b_trans_head);
498 (int)cbp_head, bp->b_lblkno, bp->b_bcount, bp->b_flags, 0);
640 cluster_zero(upl_t upl, vm_offset_t upl_offset, int size, buf_t bp)
644 upl_offset, size, (int)bp, 0, 0);
646 if (bp == NULL || bp->b_datap == 0) {
675 bzero((caddr_t)((vm_offset_t)bp->b_datap + upl_offset), size);
702 * note that we're actually waiting for the bp to have
704 * can we safely take back ownership of the bp
1005 * find the last bp in the list which will be the one that
1275 panic("BUSY bp found in cluster_io");
1731 cluster_bp(buf_t bp)
1733 return cluster_bp_ext(bp, NULL, NULL);
1738 cluster_bp_ext(buf_t bp, int (*callback)(buf_t, void *), void *callback_arg)
1744 (int)bp, (int)bp->b_lblkno, bp->b_bcount, bp->b_flags, 0);
1746 if (bp->b_flags & B_READ)
1750 if (bp->b_flags & B_PASSIVE)
1753 f_offset = ubc_blktooff(bp->b_vp, bp->b_lblkno);
1755 return (cluster_io(bp->b_vp, bp->b_upl, 0, f_offset, bp->b_bcount, flags, bp, (struct clios *)NULL, callback, callback_arg));