Searched refs:newpool (Results 1 – 2 of 2) sorted by relevance
227 struct snd_seq_pool *newpool, *oldpool; in snd_seq_fifo_resize() local234 newpool = snd_seq_pool_new(poolsize); in snd_seq_fifo_resize()235 if (newpool == NULL) in snd_seq_fifo_resize()237 if (snd_seq_pool_init(newpool) < 0) { in snd_seq_fifo_resize()238 snd_seq_pool_delete(&newpool); in snd_seq_fifo_resize()247 f->pool = newpool; in snd_seq_fifo_resize()
3255 mempool_t newpool, oldpool; in raid1_reshape() local3264 memset(&newpool, 0, sizeof(newpool)); in raid1_reshape()3297 ret = mempool_init(&newpool, NR_RAID_BIOS, r1bio_pool_alloc, in raid1_reshape()3308 mempool_exit(&newpool); in raid1_reshape()3316 conf->r1bio_pool = newpool; in raid1_reshape()