RTEMS 6.3
Loading...
Searching...
No Matches

Files

file  cpukit/posix/src/key.c
 POSIX Keys Information with Zero Objects.

Data Structures

struct  POSIX_Keys_Key_value_pair
 Represents POSIX key and value pair. More...
struct  POSIX_Keys_Control
 The data structure used to manage a POSIX key. More...

Macros

#define POSIX_KEYS_INFORMATION_DEFINE(max)
 Macro to define the objects information for the POSIX Key objects.
#define POSIX_KEYS_RBTREE_NODE_TO_KEY_VALUE_PAIR(node)

Functions

POSIX_Keys_Key_value_pair * _POSIX_Keys_Key_value_allocate (void)

Variables

POSIX_Keys_Key_value_pair _POSIX_Keys_Key_value_pairs []
 The initial set of POSIX key and value pairs.
const uint32_t _POSIX_Keys_Key_value_pair_maximum
 The POSIX key and value pairs maximum.
Objects_Information _POSIX_Keys_Information
 The POSIX Key objects information.
Freechain_Control _POSIX_Keys_Keypool
 This freechain is used as a memory pool for POSIX_Keys_Key_value_pair.

Detailed Description

Macro Definition Documentation

◆ POSIX_KEYS_INFORMATION_DEFINE

#define POSIX_KEYS_INFORMATION_DEFINE ( max)
Value:
_POSIX_Keys, \
OBJECTS_POSIX_API, \
OBJECTS_POSIX_KEYS, \
max, \
NULL \
)
#define OBJECTS_NO_STRING_NAME
Constant for the object information string name length to indicate that this object class has no stri...
Definition objectdata.h:123
#define OBJECTS_INFORMATION_DEFINE(name, api, cls, type, max, nl, ex)
Statically initializes an objects information.
Definition objectdata.h:449
The data structure used to manage a POSIX key.
Definition key.h:113

Macro to define the objects information for the POSIX Key objects.

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

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

◆ POSIX_KEYS_RBTREE_NODE_TO_KEY_VALUE_PAIR

#define POSIX_KEYS_RBTREE_NODE_TO_KEY_VALUE_PAIR ( node)
Value:
#define RTEMS_CONTAINER_OF(_m, _type, _member_name)
Gets the container of a member.
Definition basedefs.h:306
Represents POSIX key and value pair.
Definition key.h:65

Variable Documentation

◆ _POSIX_Keys_Key_value_pair_maximum

const uint32_t _POSIX_Keys_Key_value_pair_maximum
extern

The POSIX key and value pairs maximum.

This value is provided via <rtems/confdefs.h> in case POSIX key and value pairs are configured. The OBJECTS_UNLIMITED_OBJECTS flag may be set.

◆ _POSIX_Keys_Key_value_pairs

POSIX_Keys_Key_value_pair _POSIX_Keys_Key_value_pairs[]
extern

The initial set of POSIX key and value pairs.

This array is provided via <rtems/confdefs.h> in case POSIX key and value pairs are configured. The POSIX key and value pair count in this array must be equal to _Objects_Maximum_per_allocation( _POSIX_Keys_Key_value_pair_maximum ).