35#ifndef _RTEMS_IMFSIMPL_H
36#define _RTEMS_IMFSIMPL_H
51static inline time_t _IMFS_get_time(
void )
56 _Timecounter_Getbintime( &now );
61static inline void IMFS_update_atime(
IMFS_jnode_t *jnode )
63 jnode->stat_atime = _IMFS_get_time();
66static inline void IMFS_update_mtime(
IMFS_jnode_t *jnode )
68 jnode->stat_mtime = _IMFS_get_time();
71static inline void IMFS_update_ctime(
IMFS_jnode_t *jnode )
73 jnode->stat_ctime = _IMFS_get_time();
76static inline void IMFS_mtime_ctime_update(
IMFS_jnode_t *jnode )
80 now = _IMFS_get_time();
82 jnode->stat_mtime = now;
83 jnode->stat_ctime = now;
This header file defines the API of the In-Memory File System.
This header file provides interfaces of the Timecounter Handler which are used by the implementation ...