RTEMS 7.0-rc1
Loading...
Searching...
No Matches
fat_fat_operations.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */
2
14/*
15 * Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
16 * Author: Eugeny S. Mints <Eugeny.Mints@oktet.ru>
17 *
18 * The license and distribution terms for this file may be
19 * found in the file LICENSE in this distribution or at
20 * http://www.rtems.org/license/LICENSE.
21 */
22
23#ifndef __DOSFS_FAT_FAT_OPERATIONS_H__
24#define __DOSFS_FAT_FAT_OPERATIONS_H__
25
26#include <rtems.h>
27#include <rtems/libio_.h>
28
29#include <rtems/bdbuf.h>
30
37#ifdef __cplusplus
38extern "C" {
39#endif
40
41#include "fat.h"
42
43int
44fat_get_fat_cluster(fat_fs_info_t *fs_info,
45 uint32_t cln,
46 uint32_t *ret_val);
47
48int
49fat_set_fat_cluster(fat_fs_info_t *fs_info,
50 uint32_t cln,
51 uint32_t in_val);
52
53int
54fat_scan_fat_for_free_clusters(
55 fat_fs_info_t *fs_info,
56 uint32_t *chain,
57 uint32_t count,
58 uint32_t *cls_added,
59 uint32_t *last_cl,
60 bool zero_fill
61);
62
63int
64fat_free_fat_clusters_chain(
65 fat_fs_info_t *fs_info,
66 uint32_t chain
67);
68
69#ifdef __cplusplus
70}
71#endif
73#endif /* __DOSFS_FAT_FAT_OPERATIONS_H__ */
Block Device Buffer Management.
Constants/Data Structures/Prototypes on a Volume with FAT Filesystem.
LibIO Internal Interface.
This header file defines the RTEMS Classic API.
Definition: fat.h:354