Searched refs:zs_pool (Results 1 – 3 of 3) sorted by relevance
42 struct zs_pool;44 struct zs_pool *zs_create_pool(const char *name);45 void zs_destroy_pool(struct zs_pool *pool);47 unsigned long zs_malloc(struct zs_pool *pool, size_t size, gfp_t flags);48 void zs_free(struct zs_pool *pool, unsigned long obj);50 size_t zs_huge_class_size(struct zs_pool *pool);52 void *zs_map_object(struct zs_pool *pool, unsigned long handle,54 void zs_unmap_object(struct zs_pool *pool, unsigned long handle);56 unsigned long zs_get_total_pages(struct zs_pool *pool);57 unsigned long zs_compact(struct zs_pool *pool);[all …]
252 struct zs_pool { struct306 static int zs_register_migration(struct zs_pool *pool);307 static void zs_unregister_migration(struct zs_pool *pool);311 static void kick_deferred_free(struct zs_pool *pool);312 static void init_deferred_free(struct zs_pool *pool);313 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage);317 static int zs_register_migration(struct zs_pool *pool) { return 0; } in zs_register_migration()318 static void zs_unregister_migration(struct zs_pool *pool) {} in zs_unregister_migration()322 static void kick_deferred_free(struct zs_pool *pool) {} in kick_deferred_free()323 static void init_deferred_free(struct zs_pool *pool) {} in init_deferred_free()[all …]
94 struct zs_pool *mem_pool;