Tiny Simple File System (TSFS). More...
#include <dma.h>#include <util.h>#include <assert.h>#include <malloc.h>#include <stdint.h>#include <string.h>#include <byteorder.h>#include <status_codes.h>#include <board/physmem.h>#include <fs/tsfs.h>Go to the source code of this file.
Functions | |
| static void | tsfs_buf_list_done (struct block_device *bdev, struct block_request *breq, struct slist *buf_list) |
| Block device list complete callback. | |
| static void | tsfs_read_page_done (struct block_device *bdev, struct block_request *breq) |
| Block device request complete callback. | |
| status_t | tsfs_init (struct tsfs *tsfs, struct block_device *bdev, struct workqueue_task *init_done_task) |
| Initiates a Tiny Simple File System. | |
| status_t | tsfs_read (struct tsfs *tsfs, struct tsfs_file *file, void *buffer, uint32_t length, struct workqueue_task *task) |
| Reads a chunk of data from a file to a buffer. | |
| status_t | tsfs_open (struct tsfs *tsfs, const char *filename, struct tsfs_file *filehandle) |
| Opens a file by populating a file handle. | |
| status_t | tsfs_seek (struct tsfs_file *file, int32_t offset, enum tsfs_seek_origin origin) |
| Manualy move the file cursor. | |
| void | tsfs_get_filename (struct tsfs *tsfs, uint_fast8_t file_index, uint8_t *buffer) |
| Reads the filename of an indexed file into a buffer. | |
Tiny Simple File System (TSFS).
Copyright (C) 2010 Atmel Corporation. All rights reserved.
Definition in file tsfs.c.
1.6.3