Searched refs:fsinfo (Results 1 – 4 of 4) sorted by relevance
/littlefs-3.7.0-3.6.0/tests/ |
D | test_superblocks.toml | 59 // test we can mount and read fsinfo 62 struct lfs_fsinfo fsinfo; 63 lfs_fs_stat(&lfs, &fsinfo) => 0; 64 assert(fsinfo.disk_version == LFS_DISK_VERSION); 65 assert(fsinfo.name_max == LFS_NAME_MAX); 66 assert(fsinfo.file_max == LFS_FILE_MAX); 67 assert(fsinfo.attr_max == LFS_ATTR_MAX); 90 struct lfs_fsinfo fsinfo; 91 lfs_fs_stat(&lfs, &fsinfo) => 0; 92 assert(fsinfo.disk_version == LFS_DISK_VERSION); [all …]
|
D | test_compat.toml | 84 struct lfs_fsinfo fsinfo; 85 lfs_fs_stat(&lfs, &fsinfo) => 0; 86 assert(fsinfo.disk_version == LFSP_DISK_VERSION); 120 struct lfs_fsinfo fsinfo; 121 lfs_fs_stat(&lfs, &fsinfo) => 0; 122 assert(fsinfo.disk_version == LFSP_DISK_VERSION); 192 struct lfs_fsinfo fsinfo; 193 lfs_fs_stat(&lfs, &fsinfo) => 0; 194 assert(fsinfo.disk_version == LFSP_DISK_VERSION); 285 struct lfs_fsinfo fsinfo; [all …]
|
/littlefs-3.7.0-3.6.0/ |
D | lfs.c | 4502 static int lfs_fs_rawstat(lfs_t *lfs, struct lfs_fsinfo *fsinfo) { argument 4506 fsinfo->disk_version = lfs_fs_disk_version(lfs); 4527 fsinfo->disk_version = superblock.version; 4531 fsinfo->block_size = lfs->cfg->block_size; 4532 fsinfo->block_count = lfs->block_count; 4535 fsinfo->name_max = lfs->name_max; 4536 fsinfo->file_max = lfs->file_max; 4537 fsinfo->attr_max = lfs->attr_max; 6215 int lfs_fs_stat(lfs_t *lfs, struct lfs_fsinfo *fsinfo) { argument 6220 LFS_TRACE("lfs_fs_stat(%p, %p)", (void*)lfs, (void*)fsinfo); [all …]
|
D | lfs.h | 696 int lfs_fs_stat(lfs_t *lfs, struct lfs_fsinfo *fsinfo);
|