Lines Matching refs:Stream_t
31 Stream_t *Buffer;
59 static File_t *getUnbufferedFile(Stream_t *Stream) in getUnbufferedFile()
66 Fs_t *getFs(Stream_t *Stream) in getFs()
71 struct dirCache_t **getDirCacheP(Stream_t *Stream) in getDirCacheP()
76 direntry_t *getDirentry(Stream_t *Stream) in getDirentry()
154 unsigned int countBlocks(Stream_t *Dir, unsigned int block) in countBlocks()
156 Stream_t *Stream = GetFs(Dir); in countBlocks()
165 static size_t countBytes(Stream_t *Dir, unsigned int block) in countBytes()
167 Stream_t *Stream = GetFs(Dir); in countBytes()
174 void printFat(Stream_t *Stream) in printFat()
216 void printFatWithOffset(Stream_t *Stream, off_t offset) { in printFatWithOffset()
349 *res = sectorsToBytes((Stream_t*)Fs, in normal_map()
371 *res = sectorsToBytes((Stream_t*)Fs, Fs->dir_start) + where; in root_map()
376 static int read_file(Stream_t *Stream, char *buf, mt_off_t iwhere, in read_file()
384 Stream_t *Disk = This->Fs->Next; in read_file()
392 static int write_file(Stream_t *Stream, char *buf, mt_off_t iwhere, size_t len) in write_file()
398 Stream_t *Disk = This->Fs->Next; in write_file()
484 static int get_file_data(Stream_t *Stream, time_t *date, mt_size_t *size, in get_file_data()
501 static int free_file(Stream_t *Stream) in free_file()
512 static int flush_file(Stream_t *Stream) in flush_file()
530 static int pre_allocate_file(Stream_t *Stream, mt_size_t isize) in pre_allocate_file()
560 if(isRootDir((Stream_t *) This)) in getAbsCluNr()
600 static Stream_t *_internalFileOpen(Stream_t *Dir, unsigned int first, in _internalFileOpen()
603 Stream_t *Stream = GetFs(Dir); in _internalFileOpen()
627 return (Stream_t *) File; in _internalFileOpen()
640 File->direntry.Dir = (Stream_t *) File; /* root directory */ in _internalFileOpen()
663 return (Stream_t *) File; in _internalFileOpen()
666 Stream_t *OpenRoot(Stream_t *Dir) in OpenRoot()
671 Stream_t *file; in OpenRoot()
694 Stream_t *OpenFileByDirentry(direntry_t *entry) in OpenFileByDirentry()
696 Stream_t *file; in OpenFileByDirentry()
719 int isRootDir(Stream_t *Stream) in isRootDir()