Searched refs:zswap_pool (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/mm/ |
H A D | zswap.c | 98 static struct zpool *zswap_pool; variable in typeref:struct:zpool 296 zpool_free(zswap_pool, entry->handle); zswap_free_entry() 299 zswap_pool_total_size = zpool_get_total_size(zswap_pool); zswap_free_entry() 580 src = (u8 *)zpool_map_handle(zswap_pool, entry->handle, zswap_writeback_entry() 586 zpool_unmap_handle(zswap_pool, entry->handle); zswap_writeback_entry() 659 if (zpool_shrink(zswap_pool, 1, NULL)) { zswap_frontswap_store() 686 ret = zpool_malloc(zswap_pool, len, __GFP_NORETRY | __GFP_NOWARN, zswap_frontswap_store() 696 zhdr = zpool_map_handle(zswap_pool, handle, ZPOOL_MM_RW); zswap_frontswap_store() 700 zpool_unmap_handle(zswap_pool, handle); zswap_frontswap_store() 723 zswap_pool_total_size = zpool_get_total_size(zswap_pool); zswap_frontswap_store() 759 src = (u8 *)zpool_map_handle(zswap_pool, entry->handle, zswap_frontswap_load() 765 zpool_unmap_handle(zswap_pool, entry->handle); zswap_frontswap_load() 909 zswap_pool = zpool_create_pool(zswap_zpool_type, "zswap", gfp, init_zswap() 911 if (!zswap_pool && strcmp(zswap_zpool_type, ZSWAP_ZPOOL_DEFAULT)) { init_zswap() 914 zswap_pool = zpool_create_pool(zswap_zpool_type, "zswap", gfp, init_zswap() 917 if (!zswap_pool) { init_zswap() 946 zpool_destroy_pool(zswap_pool); init_zswap()
|
Completed in 36 milliseconds