Go to the documentation of this file.
14 static inline void vm_acct_memory(
long pages)
19 static inline void vm_unacct_memory(
long pages)
21 vm_acct_memory(-pages);
28 #ifndef arch_calc_vm_prot_bits
29 #define arch_calc_vm_prot_bits(prot) 0
32 #ifndef arch_vm_get_page_prot
33 #define arch_vm_get_page_prot(vm_flags) __pgprot(0)
36 #ifndef arch_validate_prot
47 #define arch_validate_prot arch_validate_prot
56 #define _calc_vm_trans(x, bit1, bit2) \
57 ((bit1) <= (bit2) ? ((x) & (bit1)) * ((bit2) / (bit1)) \
58 : ((x) & (bit1)) / ((bit1) / (bit2)))
63 static inline unsigned long
64 calc_vm_prot_bits(
unsigned long prot)
75 static inline unsigned long
76 calc_vm_flag_bits(
unsigned long flags)