RTEMS  5.0.0
Functions | Variables
msdos_init.c File Reference

Init Routine for MSDOS. More...

#include <rtems/libio_.h>
#include <rtems/dosfs.h>
#include "msdos.h"

Functions

void msdos_lock (const rtems_filesystem_mount_table_entry_t *mt_entry)
 
void msdos_unlock (const rtems_filesystem_mount_table_entry_t *mt_entry)
 
int rtems_dosfs_initialize (rtems_filesystem_mount_table_entry_t *mt_entry, const void *data)
 

Variables

const rtems_filesystem_operations_table msdos_ops
 

Detailed Description

Init Routine for MSDOS.

Variable Documentation

◆ msdos_ops

Initial value:
= {
.lock_h = msdos_lock,
.unlock_h = msdos_unlock,
.eval_path_h = msdos_eval_path,
.mknod_h = msdos_mknod,
.rmnod_h = msdos_rmnod,
.clonenod_h = msdos_clone_node_info,
.freenod_h = msdos_free_node_info,
.fsunmount_me_h = msdos_shut_down,
.utime_h = msdos_utime,
.rename_h = msdos_rename,
.statvfs_h = msdos_statvfs
}
bool rtems_filesystem_default_are_nodes_equal(const rtems_filesystem_location_info_t *a, const rtems_filesystem_location_info_t *b)
Tests if the node access pointer of one location is equal to the node access pointer of the other loc...
Definition: default_are_nodes_equal.c:28
int rtems_filesystem_default_link(const rtems_filesystem_location_info_t *parentloc, const rtems_filesystem_location_info_t *targetloc, const char *name, size_t namelen)
Definition: default_link.c:23
int rtems_filesystem_default_unmount(rtems_filesystem_mount_table_entry_t *mt_entry)
Definition: default_unmount.c:21
int msdos_mknod(const rtems_filesystem_location_info_t *loc, const char *name, size_t namelen, mode_t mode, dev_t dev)
Routine for node creation in a MSDOS filesystem.
Definition: msdos_mknod.c:37
ssize_t rtems_filesystem_default_readlink(const rtems_filesystem_location_info_t *loc, char *buf, size_t bufsize)
Definition: default_readlink.c:24
int msdos_rmnod(const rtems_filesystem_location_info_t *parentloc, const rtems_filesystem_location_info_t *loc)
Remove node from MSDOS directory.
Definition: msdos_rmnod.c:24
int rtems_filesystem_default_fchmod(const rtems_filesystem_location_info_t *loc, mode_t mode)
Definition: default_fchmod.c:23
void msdos_free_node_info(const rtems_filesystem_location_info_t *pathloc)
Call the Fat-File close routine.
Definition: msdos_free.c:36
int rtems_filesystem_default_symlink(const rtems_filesystem_location_info_t *parentloc, const char *name, size_t namelen, const char *target)
Definition: default_symlink.c:24
void msdos_shut_down(rtems_filesystem_mount_table_entry_t *temp_mt_entry)
Shut down the MSDOS filesystem.
Definition: msdos_fsunmount.c:46
int rtems_filesystem_default_mount(rtems_filesystem_mount_table_entry_t *mt_entry)
Definition: default_mount.c:21
int msdos_rename(const rtems_filesystem_location_info_t *old_parent_loc, const rtems_filesystem_location_info_t *old_loc, const rtems_filesystem_location_info_t *new_parent_loc, const char *new_name, size_t new_namelen)
Rename a MSDOS filesystem node.
Definition: msdos_rename.c:38
int rtems_filesystem_default_chown(const rtems_filesystem_location_info_t *loc, uid_t owner, gid_t group)
Definition: default_chown.c:23