Searched refs:newpool (Results 1 – 2 of 2) sorted by relevance
237 struct snd_seq_pool *newpool, *oldpool; in snd_seq_fifo_resize() local244 newpool = snd_seq_pool_new(poolsize); in snd_seq_fifo_resize()245 if (newpool == NULL) in snd_seq_fifo_resize()247 if (snd_seq_pool_init(newpool) < 0) { in snd_seq_fifo_resize()248 snd_seq_pool_delete(&newpool); in snd_seq_fifo_resize()257 f->pool = newpool; in snd_seq_fifo_resize()
2806 mempool_t *newpool, *oldpool; in raid1_reshape() local2845 newpool = mempool_create(NR_RAID1_BIOS, r1bio_pool_alloc, in raid1_reshape()2847 if (!newpool) { in raid1_reshape()2855 mempool_destroy(newpool); in raid1_reshape()2863 conf->r1bio_pool = newpool; in raid1_reshape()