Lines Matching refs:pool_int
266 struct bulk_pool_internal *pool_int = (struct bulk_pool_internal *) pool;
298 pool_int->refcnt++;
307 pool_int->refcnt++;
360 struct bulk_pool_internal *pool_int = (struct bulk_pool_internal *) pool;
362 if (!pool_int->vregion) {
370 struct vregion *vregion = pool_int->vregion;
396 cap_destroy(pool_int->cnode_cap);
423 struct bulk_pool_internal *pool_int = (struct bulk_pool_internal *) pool;
476 pool_int->vregion = vregion;
490 err = cnode_create(&pool_int->cnode_cap, &buf_cap.cnode,
530 err = cnode_create(&pool_int->cnode_cap, &buf_cap.cnode,
624 struct bulk_pool_internal *pool_int;
628 pool_int = malloc(sizeof(struct bulk_pool_internal));
630 if (pool_int == NULL) {
634 memset(pool_int, 0, sizeof(struct bulk_pool_internal));
636 pool_int->pool.id = id;
638 pool_int->pool.buffer_size = buffer_size;
639 pool_int->pool.num_buffers = buffer_count;
640 pool_int->pool.trust = BULK_TRUST_UNINITIALIZED;
642 err = bulk_pool_init_bufs(&pool_int->pool);
647 bulk_pool_domain_list_insert(&pool_int->pool);
648 *pool = &pool_int->pool;