Lines Matching refs:tmem_pool

46     struct tmem_pool *pool;
145 static void *tmem_malloc(size_t size, struct tmem_pool *pool) in tmem_malloc()
164 static void tmem_free(void *p, struct tmem_pool *pool) in tmem_free()
178 static struct page_info *tmem_alloc_page(struct tmem_pool *pool) in tmem_alloc_page()
193 static void tmem_free_page(struct tmem_pool *pool, struct page_info *pfp) in tmem_free_page()
262 struct tmem_pool *pool; in pgp_alloc()
291 static void pgp_free_data(struct tmem_page_descriptor *pgp, struct tmem_pool *pool) in pgp_free_data()
310 static void __pgp_free(struct tmem_page_descriptor *pgp, struct tmem_pool *pool) in __pgp_free()
319 struct tmem_pool *pool = NULL; in pgp_free()
455 struct tmem_pool *pool; in rtn_free()
510 static struct tmem_object_root * obj_find(struct tmem_pool *pool, in obj_find()
546 struct tmem_pool *pool; in obj_free()
606 static struct tmem_object_root * obj_alloc(struct tmem_pool *pool, in obj_alloc()
638 static void pool_destroy_objs(struct tmem_pool *pool, domid_t cli_id) in pool_destroy_objs()
666 static struct tmem_pool * pool_alloc(void) in pool_alloc()
668 struct tmem_pool *pool; in pool_alloc()
671 if ( (pool = xzalloc(struct tmem_pool)) == NULL ) in pool_alloc()
680 static void pool_free(struct tmem_pool *pool) in pool_free()
689 static int shared_pool_join(struct tmem_pool *pool, struct client *new_client) in shared_pool_join()
710 static void shared_pool_reassign(struct tmem_pool *pool) in shared_pool_reassign()
746 static int shared_pool_quit(struct tmem_pool *pool, domid_t cli_id) in shared_pool_quit()
781 static void pool_flush(struct tmem_pool *pool, domid_t cli_id) in pool_flush()
874 struct tmem_pool *pool; in client_flush()
906 struct tmem_pool *pool = obj->pool; in tmem_try_to_evict_pgp()
929 struct tmem_pool *pool; in tmem_evict()
1059 struct tmem_pool *pool; in do_tmem_dup_put()
1137 static int do_tmem_put(struct tmem_pool *pool, in do_tmem_put()
1293 static int do_tmem_get(struct tmem_pool *pool, in do_tmem_get()
1369 static int do_tmem_flush_page(struct tmem_pool *pool, in do_tmem_flush_page()
1403 static int do_tmem_flush_object(struct tmem_pool *pool, in do_tmem_flush_object()
1427 struct tmem_pool *pool; in do_tmem_destroy_pool()
1451 struct tmem_pool *pool, *shpool; in do_tmem_new_pool()
1708 struct tmem_pool *pool = (client == NULL || pool_id >= MAX_POOLS_PER_DOMAIN) in tmemc_save_get_next_page()
1810 struct tmem_pool *pool = (client == NULL || pool_id >= MAX_POOLS_PER_DOMAIN) in tmemc_restore_put_page()
1828 struct tmem_pool *pool = (client == NULL || pool_id >= MAX_POOLS_PER_DOMAIN) in tmemc_restore_flush_page()
1881 struct tmem_pool *pool = NULL; in do_tmem_op()