1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ 2 /* 3 * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 4 * University Research and Technology 5 * Corporation. All rights reserved. 6 * Copyright (c) 2004-2005 The University of Tennessee and The University 7 * of Tennessee Research Foundation. All rights 8 * reserved. 9 * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 10 * University of Stuttgart. All rights reserved. 11 * Copyright (c) 2004-2005 The Regents of the University of California. 12 * All rights reserved. 13 * Copyright (c) 2015 Los Alamos National Security, LLC. All rights 14 * reserved. 15 * $COPYRIGHT$ 16 * 17 * Additional copyrights may follow 18 * 19 * $HEADER$ 20 */ 21 /** 22 * @file 23 */ 24 #ifndef MCA_RCACHE_BASE_MEM_CB_H 25 #define MCA_RCACHE_BASE_MEM_CB_H 26 27 #include "opal_config.h" 28 29 BEGIN_C_DECLS 30 31 /* 32 * memory hook callback, called when memory is free'd out from under us 33 */ 34 void mca_rcache_base_mem_cb (void* base, size_t size, void* cbdata, bool from_alloc); 35 36 END_C_DECLS 37 38 #endif /* MCA_RCACHE_BASE_MEM_CB_H */ 39