Lines Matching refs:handle
178 unsigned long handle; member
223 static int zswap_writeback_entry(struct zpool *pool, unsigned long handle);
355 zpool_free(entry->pool->zpool, entry->handle); in zswap_free_entry()
927 static int zswap_writeback_entry(struct zpool *pool, unsigned long handle) in zswap_writeback_entry() argument
952 zhdr = zpool_map_handle(pool, handle, ZPOOL_MM_RO); in zswap_writeback_entry()
963 zpool_unmap_handle(pool, handle); in zswap_writeback_entry()
974 zpool_unmap_handle(pool, handle); in zswap_writeback_entry()
1049 zpool_unmap_handle(pool, handle); in zswap_writeback_entry()
1091 unsigned long handle, value; in zswap_frontswap_store() local
1194 ret = zpool_malloc(entry->pool->zpool, hlen + dlen, gfp, &handle); in zswap_frontswap_store()
1203 buf = zpool_map_handle(entry->pool->zpool, handle, ZPOOL_MM_WO); in zswap_frontswap_store()
1206 zpool_unmap_handle(entry->pool->zpool, handle); in zswap_frontswap_store()
1211 entry->handle = handle; in zswap_frontswap_store()
1287 src = zpool_map_handle(entry->pool->zpool, entry->handle, ZPOOL_MM_RO); in zswap_frontswap_load()
1296 zpool_unmap_handle(entry->pool->zpool, entry->handle); in zswap_frontswap_load()
1309 zpool_unmap_handle(entry->pool->zpool, entry->handle); in zswap_frontswap_load()