Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
mman.h File Reference
#include <linux/mm.h>
#include <linux/percpu_counter.h>
#include <linux/atomic.h>
#include <uapi/linux/mman.h>

Go to the source code of this file.

Macros

#define arch_calc_vm_prot_bits(prot)   0
 
#define arch_vm_get_page_prot(vm_flags)   __pgprot(0)
 
#define arch_validate_prot   arch_validate_prot
 
#define _calc_vm_trans(x, bit1, bit2)
 

Variables

int sysctl_overcommit_memory
 
int sysctl_overcommit_ratio
 
struct percpu_counter vm_committed_as
 

Macro Definition Documentation

#define _calc_vm_trans (   x,
  bit1,
  bit2 
)
Value:
((bit1) <= (bit2) ? ((x) & (bit1)) * ((bit2) / (bit1)) \
: ((x) & (bit1)) / ((bit1) / (bit2)))

Definition at line 56 of file mman.h.

#define arch_calc_vm_prot_bits (   prot)    0

Definition at line 29 of file mman.h.

#define arch_validate_prot   arch_validate_prot

Definition at line 47 of file mman.h.

#define arch_vm_get_page_prot (   vm_flags)    __pgprot(0)

Definition at line 33 of file mman.h.

Variable Documentation

int sysctl_overcommit_memory

Definition at line 61 of file nommu.c.

int sysctl_overcommit_ratio

Definition at line 62 of file nommu.c.

struct percpu_counter vm_committed_as

Definition at line 60 of file nommu.c.