/* SPDX-License-Identifier: GPL-2.0 */ /* * zpool memory storage api * * Copyright (C) 2014 Dan Streetman * * This is a common frontend for the zswap compressed memory storage * implementations.
*/
/** * struct zpool_driver - driver implementation for zpool * @type: name of the driver. * @list: entry in the list of zpool drivers. * @create: create a new pool. * @destroy: destroy a pool. * @malloc: allocate mem from a pool. * @free: free mem from a pool. * @sleep_mapped: whether zpool driver can sleep during map. * @map: map a handle. * @unmap: unmap a handle. * @total_size: get total size of a pool. * * This is created by a zpool implementation and registered * with zpool.
*/ struct zpool_driver { char *type; struct module *owner;
atomic_t refcount; struct list_head list;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.