1
/* $Id: memlock.h,v 1.18 2004-09-21 17:26:23 manoj Exp $ */
6
/* data structure for locking memory areas */
15
void *seg_addr; /* master's starting address of the segment */
21
extern void** memlock_table_array;
22
extern int *armci_use_memlock_table;
24
#if defined(LAPI ) || defined(FUJITSU) || defined(PTHREADS) || \
25
defined(QUADRICS) || defined(HITACHI) || \
26
defined(CYGWIN) || defined(__crayx1) || defined(NEC) || \
27
(defined(LINUX64) && defined(__GNUC__) && defined(__alpha__))
28
# define ARMCI_LOCKMEM armci_lockmem_
29
# define ARMCI_UNLOCKMEM armci_unlockmem_
31
# define ARMCI_LOCKMEM armci_lockmem
32
# define ARMCI_UNLOCKMEM armci_unlockmem
35
extern void ARMCI_LOCKMEM(void *pstart, void *pend, int proc);
36
extern void ARMCI_UNLOCKMEM(int proc);
37
#define MEMLOCK_SHMEM_FLAG