Searched refs:poolsize (Results 1 – 13 of 13) sorted by relevance
78 iommu->poolsize = num_entries/iommu->nr_pools; in iommu_tbl_pool_init()80 iommu->poolsize = (num_entries * 3 / 4)/iommu->nr_pools; in iommu_tbl_pool_init()85 start += iommu->poolsize; /* start for next pool */ in iommu_tbl_pool_init()183 boundary_size = iommu->poolsize * iommu->nr_pools; in iommu_tbl_range_alloc()238 unsigned int pool_nr = entry / tbl->poolsize; in get_pool()
1108 num_tsb_entries = iommu->poolsize * iommu->nr_pools; in ldc_iommu_release()
42 int poolsize; member47 + (x)->poolsize * sizeof(struct ebt_mac_wormhash_tuple) : 0)
28 struct snd_seq_fifo *snd_seq_fifo_new(int poolsize);54 int snd_seq_fifo_resize(struct snd_seq_fifo *f, int poolsize);
18 struct snd_seq_fifo *snd_seq_fifo_new(int poolsize) in snd_seq_fifo_new() argument26 f->pool = snd_seq_pool_new(poolsize); in snd_seq_fifo_new()224 int snd_seq_fifo_resize(struct snd_seq_fifo *f, int poolsize) in snd_seq_fifo_resize() argument233 newpool = snd_seq_pool_new(poolsize); in snd_seq_fifo_resize()
77 struct snd_seq_pool *snd_seq_pool_new(int poolsize);
454 struct snd_seq_pool *snd_seq_pool_new(int poolsize) in snd_seq_pool_new() argument470 pool->size = poolsize; in snd_seq_pool_new()
224 static struct snd_seq_client *seq_create_client1(int client_index, int poolsize) in seq_create_client1() argument233 client->pool = snd_seq_pool_new(poolsize); in seq_create_client1()
63 if (wh->table[i] > wh->poolsize) in ebt_mac_wormhash_check_integrity()66 if (wh->table[256] > wh->poolsize) in ebt_mac_wormhash_check_integrity()178 return w && w->poolsize >= (INT_MAX / sizeof(struct ebt_mac_wormhash_tuple)); in poolsize_invalid()
25 unsigned long poolsize; member
374 unsigned int pool_nr = entry / tbl->poolsize; in get_pool()711 tbl->poolsize = (tbl->it_size * 3 / 4) / tbl->nr_pools; in iommu_init_table()716 p->start = tbl->poolsize * i; in iommu_init_table()718 p->end = p->start + tbl->poolsize; in iommu_init_table()723 p->start = tbl->poolsize * i; in iommu_init_table()
104 unsigned long poolsize; member
558 int poolsize = pool->size; in get_event_struct() local561 for (i = 0; i < poolsize; i++) { in get_event_struct()562 offset = (offset + 1) % poolsize; in get_event_struct()