Searched refs:cs_pbuffer (Results 1 – 3 of 3) sorted by relevance
196 cs->cs_pbuffer = kmem_zalloc(bsize, KM_SLEEP); in alloc_bufs()247 kmem_free(cs->cs_pbuffer, bsize); in free_bufs()488 readb1->b_un.b_addr = cs->cs_pbuffer; in raid_resync_region()512 bzero(cs->cs_pbuffer, dbtob(tcopysize)); in raid_resync_region()542 xor(cs->cs_pbuffer, readb1->b_un.b_addr, in raid_resync_region()550 writeb->b_un.b_addr = cs->cs_pbuffer; in raid_resync_region()
1320 ASSERT(cs->cs_dbuffer && cs->cs_pbuffer); in raid_regen_parity()1323 parity_buffer = cs->cs_pbuffer; in raid_regen_parity()1359 cs->cs_pbuffer = NULL; in raid_regen_parity()1367 cs->cs_pbuffer = NULL; in raid_regen_parity()1661 cs->cs_pbuffer = kmem_alloc(cs->cs_bcount + DEV_BSIZE, KM_NOSLEEP); in getpbuffer()1662 if (cs->cs_pbuffer != NULL) in getpbuffer()1671 cs->cs_pbuffer = un->un_pbuffer; in getpbuffer()1721 if (cs->cs_pbuffer) { in freebuffers()1723 un->un_pbuffer = cs->cs_pbuffer; in freebuffers()1725 kmem_free(cs->cs_pbuffer, cs->cs_bcount + DEV_BSIZE); in freebuffers()[all …]
540 caddr_t cs_pbuffer; member