Home
last modified time | relevance | path

Searched refs:newpool (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/core/seq/
H A Dseq_fifo.c227 struct snd_seq_pool *newpool, *oldpool; in snd_seq_fifo_resize() local
234 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()
/openbmc/linux/drivers/md/
H A Draid1.c3255 mempool_t newpool, oldpool; in raid1_reshape() local
3264 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()