OpenMPI  0.1.1
mpool_fake.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
3  * University Research and Technology
4  * Corporation. All rights reserved.
5  * Copyright (c) 2004-2006 The University of Tennessee and The University
6  * of Tennessee Research Foundation. All rights
7  * reserved.
8  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
9  * University of Stuttgart. All rights reserved.
10  * Copyright (c) 2004-2005 The Regents of the University of California.
11  * All rights reserved.
12  * Copyright (c) 2008 Myricom. All rights reserved.
13  *
14  * $COPYRIGHT$
15  *
16  * Additional copyrights may follow
17  *
18  * $HEADER$
19  */
20 /**
21  * @file
22  */
23 
24 #ifndef MCA_MPOOL_FAKE_H
25 #define MCA_MPOOL_FAKE_H
26 
27 #include "ompi_config.h"
28 #include "ompi/mca/mpool/mpool.h"
29 
30 BEGIN_C_DECLS
31 
35 
36 OMPI_DECLSPEC extern mca_mpool_fake_component_t mca_mpool_fake_component;
37 
39  int (*regcache_clean)(void *ptr, size_t size);
41 
42 typedef struct mca_mpool_fake_module_t {
46 
47 /*
48  * Initializes the mpool module.
49  */
50 void mca_mpool_fake_module_init(mca_mpool_fake_module_t *mpool);
51 
52 /**
53  * unregister all registration covering the block of memory
54  */
56  size_t size);
57 
58 /**
59  * finalize mpool
60  */
62 
63 /**
64  * Fault Tolerance Event Notification Function
65  * @param state Checkpoint Stae
66  * @return OMPI_SUCCESS or failure status
67  */
68 int mca_mpool_fake_ft_event(int state);
69 
70 END_C_DECLS
71 #endif
int mca_mpool_fake_release_memory(mca_mpool_base_module_t *mpool, void *base, size_t size)
unregister all registration covering the block of memory
Definition: mpool_fake_module.c:48
mpool component descriptor.
Definition: mpool.h:154
Definition: mpool_fake.h:32
int mca_mpool_fake_ft_event(int state)
Fault Tolerance Event Notification Function.
Definition: mpool_fake_module.c:63
Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana University Research and Techno...
void mca_mpool_fake_finalize(struct mca_mpool_base_module_t *mpool)
finalize mpool
Definition: mpool_fake_module.c:58
Definition: mpool_fake.h:42
Definition: mpool_fake.h:38
mpool module descriptor.
Definition: mpool.h:174