kernel/include/linux/frontswap.h
.. .. @@ -7,6 +7,13 @@ 7 7 #include <linux/bitops.h> 8 8 #include <linux/jump_label.h> 9 9 10 +/*11 + * Return code to denote that requested number of12 + * frontswap pages are unused(moved to page cache).13 + * Used in shmem_unuse and try_to_unuse.14 + */15 +#define FRONTSWAP_PAGES_UNUSED 216 +10 17 struct frontswap_ops { 11 18 void (*init)(unsigned); /* this swap type was just swapon'ed */ 12 19 int (*store)(unsigned, pgoff_t, struct page *); /* store a page */