#include <linux/config.h>
#include <linux/slab.h>
#include <linux/smp_lock.h>
#include <linux/kernel_stat.h>
#include <linux/swap.h>
#include <linux/swapctl.h>
#include <linux/blkdev.h>
#include <linux/vmalloc.h>
#include <linux/pagemap.h>
#include <linux/shm.h>
#include <linux/compiler.h>
#include <asm/pgtable.h>
#include <dyndef.h>
#include <pfldef.h>
#include <system_data_cells.h>
Go to the source code of this file.
Defines | |
#define | SWAPFILE_CLUSTER 256 |
#define | SWAPFILE_CLUSTER 1 |
Functions | |
int | can_share_swap_page (struct page *page) |
asmlinkage long | sys_swapoff (const char *specialfile) |
int | get_swaparea_info (char *buf) |
asmlinkage long | sys_swapon (const char *specialfile, int swap_flags) |
void | si_swapinfo (struct sysinfo *val) |
void | swap_setup (void) |
Variables | |
spinlock_t | swaplock = SPIN_LOCK_UNLOCKED |
int | total_swap_pages |
struct swap_list_t | swap_list = {-1, -1} |
struct _pfl | swap_info_pfl [MAX_SWAPFILES] |
struct address_space | swapper_space |
int | page_cluster |
pager_daemon_t | pager_daemon |
#define SWAPFILE_CLUSTER 1 |
Definition at line 48 of file vmsswapfile.c.
#define SWAPFILE_CLUSTER 256 |
Definition at line 48 of file vmsswapfile.c.
int can_share_swap_page | ( | struct page * | page | ) |
int get_swaparea_info | ( | char * | buf | ) |
Definition at line 119 of file vmsswapfile.c.
void si_swapinfo | ( | struct sysinfo * | val | ) |
Definition at line 134 of file vmsswapfile.c.
void swap_setup | ( | void | ) |
Definition at line 140 of file vmsswapfile.c.
asmlinkage long sys_swapoff | ( | const char * | specialfile | ) |
Definition at line 115 of file vmsswapfile.c.
asmlinkage long sys_swapon | ( | const char * | specialfile, | |
int | swap_flags | |||
) |
Definition at line 128 of file vmsswapfile.c.
int page_cluster |
Definition at line 144 of file vmsswapfile.c.
pager_daemon_t pager_daemon |
Definition at line 146 of file vmsswapfile.c.
struct _pfl swap_info_pfl[MAX_SWAPFILES] |
Definition at line 44 of file vmsswapfile.c.
struct swap_list_t swap_list = {-1, -1} |
Definition at line 42 of file vmsswapfile.c.
spinlock_t swaplock = SPIN_LOCK_UNLOCKED |
Definition at line 32 of file vmsswapfile.c.
struct address_space swapper_space |
int total_swap_pages |
Definition at line 34 of file vmsswapfile.c.