RTEMS: rtems_filesystem_global_location_t Struct Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Fields
rtems_filesystem_global_location_t Struct Reference
IO Library

Global file system location. More...

`#include <fs.h>`

## Data Fields
rtems_filesystem_location_info_t | location
int | reference_count
struct rtems_filesystem_global_location_t * | deferred_released_next
int | deferred_released_count

## Detailed Description

Global file system location.

The global file system locations are used for

- the mount point location in the mount table entry,
- the file system root location in the mount table entry,
- the root directory location in the user environment, and
- the current directory location in the user environment.

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().

## Field 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.

## ◆ 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.

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

- cpukit/include/rtems/fs.h