Searched refs:fs (Results 1 – 2 of 2) sorted by relevance
161 static status_t mflash_fs_sector_erase(mflash_fs_t *fs, uint32_t sector_offset) in mflash_fs_sector_erase() argument166 phys_addr = mflash_drv_log2phys((uint8_t *)fs + sector_offset, MFLASH_SECTOR_SIZE); in mflash_fs_sector_erase()176 static status_t mflash_fs_page_program(mflash_fs_t *fs, uint32_t page_offset, uint32_t *data) in mflash_fs_page_program() argument181 phys_addr = mflash_drv_log2phys((uint8_t *)fs + page_offset, MFLASH_PAGE_SIZE); in mflash_fs_page_program()191 static inline void *mflash_fs_get_ptr(mflash_fs_t *fs, uint32_t offset) in mflash_fs_get_ptr() argument193 return (void *)((uint8_t *)fs + offset); in mflash_fs_get_ptr()225 static status_t mflash_fs_check(mflash_fs_t *fs) in mflash_fs_check() argument230 if (fs == NULL) in mflash_fs_check()236 status = mflash_readable_check(fs, sizeof(mflash_fs_header_t)); in mflash_fs_check()243 if (fs->header.magic_no != MFLASH_DIR_MAGIC_NO) in mflash_fs_check()[all …]
75 int __attribute__((weak)) _fstat(int fs, struct stat *st);76 int __attribute__((weak)) _fstat(int fs, struct stat *st) in _fstat() argument