PostgreSQL Source Code  git master
mem.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IPCProtection   (0600) /* access/modify by user only */
 
#define PG_SHMAT_FLAGS   0
 
#define MAP_ANONYMOUS   MAP_ANON
 
#define MAP_HASSEMAPHORE   0
 
#define MAP_NOSYNC   0
 
#define PG_MMAP_FLAGS   (MAP_SHARED|MAP_ANONYMOUS|MAP_HASSEMAPHORE)
 
#define MAP_FAILED   ((void *) -1)
 

Macro Definition Documentation

◆ IPCProtection

#define IPCProtection   (0600) /* access/modify by user only */

Definition at line 15 of file mem.h.

◆ MAP_ANONYMOUS

#define MAP_ANONYMOUS   MAP_ANON

Definition at line 25 of file mem.h.

◆ MAP_FAILED

#define MAP_FAILED   ((void *) -1)

Definition at line 45 of file mem.h.

Referenced by CreateAnonymousSegment(), dsm_impl_can_resize(), dsm_impl_mmap(), and pg_flush_data().

◆ MAP_HASSEMAPHORE

#define MAP_HASSEMAPHORE   0

Definition at line 30 of file mem.h.

Referenced by dsm_impl_can_resize(), and dsm_impl_mmap().

◆ MAP_NOSYNC

#define MAP_NOSYNC   0

Definition at line 38 of file mem.h.

Referenced by dsm_impl_can_resize(), and dsm_impl_mmap().

◆ PG_MMAP_FLAGS

#define PG_MMAP_FLAGS   (MAP_SHARED|MAP_ANONYMOUS|MAP_HASSEMAPHORE)

Definition at line 41 of file mem.h.

Referenced by CreateAnonymousSegment().

◆ PG_SHMAT_FLAGS

#define PG_SHMAT_FLAGS   0