Lines Matching full:cluster
22 * We use this to track usage of a cluster. A cluster is a block of swap disk
25 * get a free cluster.
27 * The flags field determines if a cluster is free. This is
28 * protected by cluster lock.
34 * elements corresponding to the swap cluster.
43 /* All on-list cluster must have a non-zero flag. */
45 CLUSTER_FLAG_NONE = 0, /* For temporary off-list cluster */
121 * swap_cluster_lock - Lock and return the swap cluster of given offset.
122 * @si: swap device the cluster belongs to.
144 * swap_cluster_get_and_lock - Locks the cluster that holds a folio's entries.
147 * This locks and returns the swap cluster that contains a folio's swap
148 * entries. The swap entries of a folio are always in one single cluster.
150 * cluster won't be freed.
153 * Return: Pointer to the swap cluster.
162 * swap_cluster_get_and_lock_irq - Locks the cluster that holds a folio's entries.
168 * Return: Pointer to the swap cluster.
252 /* Below helpers require the caller to lock and pass in the swap cluster. */