Lines Matching refs:sbuf
52 struct fs_statvfs sbuf; in ZTEST() local
60 ret = fs_statvfs(mp->mnt_point, &sbuf); in ZTEST()
64 sbuf.f_bsize, sbuf.f_frsize, sbuf.f_blocks, sbuf.f_bfree); in ZTEST()
66 zassert_equal(sbuf.f_bsize, 1024, in ZTEST()
67 "Wrong block size %lu (expected %lu)", sbuf.f_bsize, 1024); in ZTEST()
68 zassert_equal(sbuf.f_frsize, 1024, in ZTEST()
69 "Wrong frag size %lu (expected %lu)", sbuf.f_frsize, 1024); in ZTEST()
70 zassert_equal(sbuf.f_blocks, partition_size / 1024, in ZTEST()
72 sbuf.f_blocks, partition_size / 1024); in ZTEST()
100 struct fs_statvfs sbuf; in mkfs_custom_config() local
111 ret = fs_statvfs(mp->mnt_point, &sbuf); in mkfs_custom_config()
115 sbuf.f_bsize, sbuf.f_frsize, sbuf.f_blocks, sbuf.f_bfree); in mkfs_custom_config()
117 zassert_equal(sbuf.f_bsize, cfg->block_size, in mkfs_custom_config()
118 "Wrong block size %lu (expected %lu)", sbuf.f_bsize, cfg->block_size); in mkfs_custom_config()
119 zassert_equal(sbuf.f_frsize, cfg->block_size, in mkfs_custom_config()
120 "Wrong frag size %lu (expected %lu)", sbuf.f_frsize, cfg->block_size); in mkfs_custom_config()
121 zassert_equal(sbuf.f_blocks, partition_size / cfg->block_size, in mkfs_custom_config()
123 sbuf.f_blocks, partition_size / cfg->block_size); in mkfs_custom_config()