Lines Matching refs:mp
16 static void mount(struct fs_mount_t *mp) in mount() argument
18 TC_PRINT("Mount %s\n", mp->mnt_point); in mount()
20 zassert_equal(fs_mount(mp), 0, "Failed to mount partition"); in mount()
23 static void unmount(struct fs_mount_t *mp) in unmount() argument
25 TC_PRINT("Unmounting %s\n", mp->mnt_point); in unmount()
27 zassert_equal(fs_unmount(mp), 0, in unmount()
31 static void cleanup(struct fs_mount_t *mp) in cleanup() argument
33 TC_PRINT("Clean %s\n", mp->mnt_point); in cleanup()
35 zassert_equal(testfs_lfs_wipe_partition(mp), TC_PASS, in cleanup()
45 struct fs_mount_t *mp = &testfs_small_mnt; in ZTEST() local
47 cleanup(mp); in ZTEST()
48 mp->flags = 0; in ZTEST()
49 mount(mp); in ZTEST()
53 unmount(mp); in ZTEST()