This file is indexed.

/usr/include/memmgr.h is in libion-dev 3.2.0~dfsg1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/*
	memmgr.h:	public header file for memmgr library.

	Copyright (c) 2001, California Institute of Technology.
	ALL RIGHTS RESERVED.  U.S. Government Sponsorship
	acknowledged.
									*/
/*	Author: Scott Burleigh, Jet Propulsion Laboratory		*/
/*									*/
#ifndef _MEMMGR_H_
#define _MEMMGR_H_

#include "psm.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef void	*(* MemAllocator)(char *fileName, int lineNbr, size_t size);
typedef void	(* MemDeallocator)(char *fileName, int lineNbr, void * block);
typedef void    *(* MemAtoPConverter)(unsigned long address);
typedef unsigned long (* MemPtoAConverter)(void * pointer);

/*	NOTE: memmgr_add is NOT thread-safe.  In a multithreaded
	execution image (e.g., VxWorks), all memory managers must be
	loaded *before* any subordinate threads or tasks are spawned.

	The memory manager with ID = 0 is always available; its name
	is "std".  Its "take" function is memalign() with the
	allocated space initialized to binary zeros; its "release"
	function is free().  Its AtoP and PtoA functions are no-ops.	*/

int		memmgr_add(	char 		*name,
				MemAllocator	take,
				MemDeallocator	release,
				MemAtoPConverter AtoP,
				MemPtoAConverter PtoA);
		/*	Appends new memory manager of indicated name
			to memmgr's internal array of memory managers
			and returns the ID number assigned to this
			memory manager.					*/

int		memmgr_find(	char *name);
		/*	Returns the ID number assigned to the named
			memory manager.					*/

char		*memmgr_name(	int mgrId);
		/*	Returns the name of this memory manager.	*/

MemAllocator	memmgr_take(	int mgrId);
		/*	Returns the "take" function of this memory
			manager.					*/

MemDeallocator	memmgr_release(	int mgrId);
		/*	Returns the "release" function of this memory
			manager.					*/

MemAtoPConverter memmgr_AtoP(   int mgrId);
		/*	Returns the "AtoP" function of this memory
			manager.					*/

MemPtoAConverter memmgr_PtoA(   int mgrId);
		/*	Returns the "PtoA" function of this memory
			manager.					*/

int		memmgr_open(int memKey, long memSize, char **memPtr, int *smId,
			char *partitionName, PsmPartition *partition,
			int *memMgr, MemAllocator afn, MemDeallocator ffn,
			MemAtoPConverter apfn, MemPtoAConverter pafn);
		/*	Opens one avenue of access to a PSM-managed
			region of shared memory, initializing as
			necessary.					*/

void		memmgr_destroy(int smId, PsmPartition *partition);
		/*	Terminates all access to a PSM-managed region
			of shared memory.				*/

#ifdef __cplusplus
}
#endif

#endif  /* _MEMMGR_H_ */