RTEMS
Public Attributes | List of all members
rtems_filesystem_global_location_t Struct Reference

Global file system location. More...

#include <fs.h>

Public Attributes

rtems_filesystem_location_info_t location
 
int reference_count
 
struct rtems_filesystem_global_location_tdeferred_released_next
 
int deferred_released_count
 

Detailed Description

Global file system location.

The global file system locations are used for

During the path evaluation global start locations are obtained to ensure that the current file system will be not unmounted in the meantime.

To support a release within critical sections of the operating system a deferred release is supported. This is similar to malloc() and free().

See also
rtems_filesystem_global_location_obtain() and rtems_filesystem_global_location_release().

Definition at line 81 of file fs.h.

Member Data Documentation

◆ deferred_released_count

int rtems_filesystem_global_location_t::deferred_released_count

A release within a critical section can happen multiple times. This field counts the deferred releases.

Definition at line 96 of file fs.h.

◆ deferred_released_next

struct rtems_filesystem_global_location_t* rtems_filesystem_global_location_t::deferred_released_next

A release within a critical section of the operating system will add this location to a list of deferred released locations. This list is processed in the next rtems_filesystem_global_location_obtain() in FIFO order.

Definition at line 90 of file fs.h.


The documentation for this struct was generated from the following file: