RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Files | Data Structures | Macros | Typedefs | Functions | Variables
POSIX Shared Memory Private Support

Files

file  shm.c
 POSIX Shared Memory Information with Zero Objects.
 

Data Structures

struct  POSIX_Shm_Object
 Encapsulation for the storage and manipulation of shm objects. More...
 
struct  POSIX_Shm_Object_operations
 Operations on POSIX Shared Memory Objects. More...
 
struct  POSIX_Shm_Control
 Control for a POSIX Shared Memory Object. More...
 

Macros

#define POSIX_SHM_INFORMATION_DEFINE(max)
 Macro to define the objects information for the POSIX Shared Memory objects.
 

Typedefs

typedef struct POSIX_Shm_Object_operations POSIX_Shm_Object_operations
 

Functions

int _POSIX_Shm_Object_create_from_workspace (POSIX_Shm_Object *shm_obj, size_t size)
 object_create operation for shm objects stored in RTEMS Workspace.
 
int _POSIX_Shm_Object_delete_from_workspace (POSIX_Shm_Object *shm_obj)
 object_delete operation for shm objects stored in RTEMS Workspace.
 
int _POSIX_Shm_Object_resize_from_workspace (POSIX_Shm_Object *shm_obj, size_t size)
 object_resize operation for shm objects stored in RTEMS Workspace.
 
int _POSIX_Shm_Object_read_from_workspace (POSIX_Shm_Object *shm_obj, void *buf, size_t count)
 object_read operation for shm objects stored in RTEMS Workspace.
 
void * _POSIX_Shm_Object_mmap_from_workspace (POSIX_Shm_Object *shm_obj, size_t len, int prot, off_t off)
 object_mmap operation for shm objects stored in RTEMS Workspace.
 
int _POSIX_Shm_Object_create_from_heap (POSIX_Shm_Object *shm_obj, size_t size)
 object_create operation for shm objects stored in C program heap.
 
int _POSIX_Shm_Object_delete_from_heap (POSIX_Shm_Object *shm_obj)
 object_delete operation for shm objects stored in C program heap.
 
int _POSIX_Shm_Object_resize_from_heap (POSIX_Shm_Object *shm_obj, size_t size)
 object_resize operation for shm objects stored in C program heap.
 
int _POSIX_Shm_Object_read_from_heap (POSIX_Shm_Object *shm_obj, void *buf, size_t count)
 object_read operation for shm objects stored in C program heap.
 
void * _POSIX_Shm_Object_mmap_from_heap (POSIX_Shm_Object *shm_obj, size_t len, int prot, off_t off)
 object_mmap operation for shm objects stored in C program heap.
 

Variables

const POSIX_Shm_Object_operations _POSIX_Shm_Object_operations
 
Objects_Information _POSIX_Shm_Information
 The POSIX Shared Memory objects information.
 

Detailed Description

Internal implementation support for POSIX shared memory.

Macro Definition Documentation

◆ POSIX_SHM_INFORMATION_DEFINE

#define POSIX_SHM_INFORMATION_DEFINE (   max)
Value:
_POSIX_Shm, \
OBJECTS_POSIX_API, \
OBJECTS_POSIX_SHMS, \
max, \
_POSIX_PATH_MAX, \
NULL \
)
#define OBJECTS_INFORMATION_DEFINE(name, api, cls, type, max, nl, ex)
Statically initializes an objects information.
Definition: objectdata.h:449
Control for a POSIX Shared Memory Object.
Definition: shm.h:130

Macro to define the objects information for the POSIX Shared Memory objects.

This macro should only be used by <rtems/confdefs.h>.

Parameters
maxThe configured object maximum (the OBJECTS_UNLIMITED_OBJECTS flag may be set).