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()
3257 mempool_t newpool, oldpool; in raid1_reshape() local3266 memset(&newpool, 0, sizeof(newpool)); in raid1_reshape()3299 ret = mempool_init(&newpool, NR_RAID_BIOS, r1bio_pool_alloc, in raid1_reshape()3310 mempool_exit(&newpool); in raid1_reshape()3318 conf->r1bio_pool = newpool; in raid1_reshape()