Lines Matching refs:rwbuf2
80 raid_rplybuf_t *rwbuf2)
105 if (rwbuf2->rpl_data) {
106 kmem_free(rwbuf2->rpl_data, dbtob(un->un_iosize));
107 rwbuf2->rpl_data = NULL;
109 if (rwbuf2->rpl_buf) {
110 kmem_free((caddr_t)rwbuf2->rpl_buf, sizeof (buf_t));
111 rwbuf2->rpl_buf = NULL;
119 raid_rplybuf_t *rwbuf2)
130 bzero((caddr_t)rwbuf2, sizeof (raid_rplybuf_t));
154 rwbuf2->rpl_data = kmem_zalloc(dbtob(un->un_iosize), KM_SLEEP);
155 ASSERT(rwbuf2->rpl_data != NULL);
156 rwbuf2->rpl_buf = kmem_zalloc(sizeof (buf_t), KM_SLEEP);
157 ASSERT(rwbuf2->rpl_buf != NULL);
169 bp = (buf_t *)rwbuf2->rpl_buf;
480 * raid_rplybuf_t *rwbuf2 - pointer to the replay buffer structure
488 raid_rplybuf_t *rwbuf2
524 rwbuf2);
532 dsum2 = genchecksum(rwbuf2->rpl_data + DEV_BSIZE,
551 &eachp->rpl_pwhdr2, rwbuf2);
720 raid_rplybuf_t rwbuf2;
729 raid_rply_alloc(un, &rplybuf, &rwbuf1, &rwbuf2);
794 bzero((caddr_t)rwbuf2.rpl_data, sizeof (raid_pwhdr_t));
797 error = raid_rplyeach(un, eachp, &rwbuf1, &rwbuf2);
821 raid_rply_dealloc(un, &rplybuf, &rwbuf1, &rwbuf2);
835 raid_rply_dealloc(un, &rplybuf, &rwbuf1, &rwbuf2);