27 the_partition = _Partition_Get(
id, &lock_context );
29 if ( the_partition == NULL ) {
30 #if defined(RTEMS_MULTIPROCESSING) 31 return _Partition_MP_Return_buffer(
id, buffer );
37 _Partition_Acquire_critical( the_partition, &lock_context );
40 _Partition_Release( the_partition, &lock_context );
46 _Partition_Release( the_partition, &lock_context );
static __inline__ void _Partition_Free_buffer(Partition_Control *the_partition, Chain_Node *the_buffer)
Frees the_buffer to the_partition.
rtems_status_code rtems_partition_return_buffer(rtems_id id, void *buffer)
Returns a buffer to the specified partition.
This status code indicates successful completion.
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
uintptr_t number_of_used_blocks
This status code indicates that a specified address was invalid.
static __inline__ bool _Partition_Is_buffer_valid(Chain_Node *the_buffer, Partition_Control *the_partition)
Checks whether the_buffer is a valid buffer from the_partition.
This status code indicates that an object identifier was invalid.
Objects_Id rtems_id
Values of this type identify an RTEMS object.
Classic Partition Manager Implementation.
Local ISR lock context for acquire and release pairs.