RTEMS
fs.h
Go to the documentation of this file.
1 
9 /*
10  * COPYRIGHT (c) 1989-2011.
11  * On-Line Applications Research Corporation (OAR).
12  *
13  * Modifications to support reference counting in the file system are
14  * Copyright (c) 2012 embedded brains GmbH.
15  *
16  * The license and distribution terms for this file may be
17  * found in the file LICENSE in this distribution or at
18  * http://www.rtems.org/license/LICENSE.
19  */
20 
21 #ifndef _RTEMS_FS_H
22 #define _RTEMS_FS_H
23 
24 #include <rtems/chain.h>
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 /*
31  * File descriptor Table Information
32  */
33 
34 /* Forward declarations */
35 
36 /* FIXME: shouldn't this better not be here? */
37 typedef struct rtems_libio_tt rtems_libio_t;
38 
42 
47 
54  rtems_chain_node mt_entry_node;
55  void *node_access;
56  void *node_access_2;
57  const rtems_filesystem_file_handlers_r *handlers;
60 
83  int reference_count;
84 
91 
98 
99 /*
100  * Return the mount table entry for a path location.
101  */
102 #define rtems_filesystem_location_mount(_pl) ((_pl)->mt_entry)
103 
104 #ifdef __cplusplus
105 }
106 #endif
107 
108 #endif
109 /* end of include file */
struct rtems_filesystem_global_location_t rtems_filesystem_global_location_t
Global file system location.
struct rtems_filesystem_location_info_tt rtems_filesystem_location_info_t
File system location.
File system node operations table.
Definition: libio.h:1005
Chain API.
Mount table entry.
Definition: libio.h:1604
File system operations table.
Definition: libio.h:472
An open file data structure.
Definition: libio.h:1320
Global file system location.
Definition: fs.h:81
File system location.
Definition: fs.h:53
struct rtems_filesystem_global_location_t * deferred_released_next
Definition: fs.h:90