Lines Matching refs:rwbuf1
79 raid_rplybuf_t *rwbuf1,
97 if (rwbuf1->rpl_data) {
98 kmem_free(rwbuf1->rpl_data, dbtob(un->un_iosize));
99 rwbuf1->rpl_data = NULL;
101 if (rwbuf1->rpl_buf) {
102 kmem_free((caddr_t)rwbuf1->rpl_buf, sizeof (buf_t));
103 rwbuf1->rpl_buf = NULL;
118 raid_rplybuf_t *rwbuf1,
129 bzero((caddr_t)rwbuf1, sizeof (raid_rplybuf_t));
150 rwbuf1->rpl_data = kmem_zalloc(dbtob(un->un_iosize), KM_SLEEP);
151 ASSERT(rwbuf1->rpl_data != NULL);
152 rwbuf1->rpl_buf = kmem_zalloc(sizeof (buf_t), KM_SLEEP);
153 ASSERT(rwbuf1->rpl_buf != NULL);
159 bp = (buf_t *)rwbuf1->rpl_buf;
479 * raid_rplybuf_t *rwbuf1 - pointer to the replay buffer structure
487 raid_rplybuf_t *rwbuf1,
510 eachp->rpl_slot1, rwbuf1);
518 dsum1 = genchecksum(rwbuf1->rpl_data + DEV_BSIZE,
544 &eachp->rpl_pwhdr1, rwbuf1);
567 eachp->rpl_slot1, rwbuf1);
572 dsum1 = genchecksum(rwbuf1->rpl_data + DEV_BSIZE,
576 &eachp->rpl_pwhdr1, rwbuf1);
719 raid_rplybuf_t rwbuf1;
729 raid_rply_alloc(un, &rplybuf, &rwbuf1, &rwbuf2);
793 bzero((caddr_t)rwbuf1.rpl_data, sizeof (raid_pwhdr_t));
797 error = raid_rplyeach(un, eachp, &rwbuf1, &rwbuf2);
799 error = replay_line(un, eachp, &rwbuf1);
821 raid_rply_dealloc(un, &rplybuf, &rwbuf1, &rwbuf2);
835 raid_rply_dealloc(un, &rplybuf, &rwbuf1, &rwbuf2);