00001 00011 #ifndef OPD_ANON_H 00012 #define OPD_ANON_H 00013 00014 #include "op_types.h" 00015 #include "op_list.h" 00016 00017 #include "opd_cookie.h" 00018 00019 #include <sys/types.h> 00020 00021 struct transient; 00022 00026 #define VMA_SHIFT 13 00027 00028 /* Maximum size of the image name considered */ 00029 #define MAX_IMAGE_NAME_SIZE 20 00030 00031 struct anon_mapping { 00033 vma_t start; 00035 vma_t end; 00037 pid_t tgid; 00039 cookie_t app_cookie; 00041 struct list_head list; 00043 struct list_head lru_list; 00044 char name[MAX_IMAGE_NAME_SIZE+1]; 00045 }; 00046 00050 struct anon_mapping * find_anon_mapping(struct transient *); 00051 00052 void anon_init(void); 00053 00054 #endif /* OPD_ANON_H */