Home
last modified time | relevance | path

Searched refs:FS_O_CREATE (Results 1 – 25 of 38) sorted by relevance

12

/Zephyr-Core-3.6.0/tests/subsys/fs/fs_api/src/
Dtest_fs_mount_flags.c31 ret = fs_open(&fs, TEST_FS_MNTP"/some", FS_O_CREATE); in test_mount_flags()
49 ret = fs_open(&fs, TEST_FS_MNTP"/nosome", FS_O_CREATE); in test_mount_flags()
57 ret = fs_open(&fs, TEST_FS_MNTP"/other", FS_O_CREATE); in test_mount_flags()
/Zephyr-Core-3.6.0/tests/subsys/fs/common/
Dtest_fs_mount_flags.c42 ret = fs_open(&fs, "/sml/some", FS_O_CREATE); in test_fs_mount_flags()
59 ret = fs_open(&fs, "/sml/nosome", FS_O_CREATE); in test_fs_mount_flags()
67 ret = fs_open(&fs, "/sml/other", FS_O_CREATE); in test_fs_mount_flags()
Dtest_fs_open_flags.c128 ZOPEN(ts, FS_O_CREATE, 0); \
163 ZOPEN(&ts, FS_O_CREATE | 0, 0); in test_fs_open_flags()
175 ZOPEN(&ts, FS_O_CREATE | FS_O_READ, 0); in test_fs_open_flags()
188 ZOPEN(&ts, FS_O_CREATE | FS_O_WRITE, 0); in test_fs_open_flags()
201 ZOPEN(&ts, FS_O_CREATE | FS_O_RDWR, 0); in test_fs_open_flags()
330 ZOPEN(&ts, FS_O_CREATE | FS_O_WRITE, 0); in test_fs_open_flags()
346 ZOPEN(&ts, FS_O_CREATE | FS_O_WRITE, 0); in test_fs_open_flags()
Dtest_fs_basic.c34 FS_O_CREATE | FS_O_RDWR), in create_write_hello()
102 FS_O_CREATE | FS_O_RDWR), in verify_hello()
134 FS_O_CREATE | FS_O_RDWR), in seek_within_hello()
202 FS_O_CREATE | FS_O_RDWR), in truncate_hello()
293 FS_O_CREATE | FS_O_RDWR), in sync_goodbye()
357 FS_O_CREATE | FS_O_RDWR), in verify_goodbye()
Dtest_fs_mkfs.c63 ret = fs_open(&fs, some_file_path, FS_O_CREATE); in test_fs_mkfs_ops()
86 ret = fs_open(&fs, some_file_path, FS_O_CREATE); in test_fs_mkfs_ops()
Dtest_fs_util.c240 FS_O_CREATE | FS_O_RDWR); in testfs_build()
301 rc = fs_open(&file, pp->path, FS_O_CREATE | FS_O_RDWR); in check_layout_entry()
/Zephyr-Core-3.6.0/tests/subsys/fs/ext2/src/
Dtestfs_dirops.c28 zassert_equal(fs_open(&file, "/sml/file1", FS_O_CREATE), 0, "Create file1 failed"); in ZTEST()
30 zassert_equal(fs_open(&file, "/sml/dir1/file2", FS_O_CREATE), 0, "Create file2 failed"); in ZTEST()
32 zassert_equal(fs_open(&file, "/sml/dir2/file3", FS_O_CREATE), 0, "Create file3 failed"); in ZTEST()
Dtestfs_ext_specific.c59 ret = fs_open(&file, file_path, FS_O_RDWR | FS_O_CREATE); in writing_test()
/Zephyr-Core-3.6.0/tests/subsys/fs/fat_fs_api/src/
Dtest_fat_rd_only_mount.c23 zassert_equal(fs_open(&fs, FATFS_MNTP"/testfile.txt", FS_O_CREATE), in test_prepare()
47 ret = fs_open(&fs, FATFS_MNTP"/nosome", FS_O_CREATE); in test_ops_on_rd()
Dtest_fat_file_reentrant.c47 res = fs_open(&filep, TEST_FILE, FS_O_CREATE | FS_O_RDWR); in test_reentrant_access()
73 res = fs_open(&filep, TEST_FILE, FS_O_CREATE | FS_O_RDWR); in test_reentrant_parallel_file_access()
148 res = fs_open(&filep2, TEST_FILE2, FS_O_CREATE | FS_O_RDWR); in tfile2_access()
Dtest_fat_dir.c38 res = fs_open(&filep, TEST_DIR_FILE, FS_O_CREATE | FS_O_RDWR); in test_mkdir()
Dtest_fat_rename.c31 res = fs_open(&fp, path, FS_O_CREATE | FS_O_RDWR); in create_file()
/Zephyr-Core-3.6.0/tests/subsys/settings/file/src/
Dsettings_test_file.c154 rc = fs_open(&file, path, FS_O_CREATE | FS_O_RDWR); in fsutil_read_file()
177 rc = fs_open(&file, path, FS_O_CREATE | FS_O_RDWR); in fsutil_write_file()
/Zephyr-Core-3.6.0/tests/subsys/fs/littlefs/src/
Dtest_lfs_perf.c81 rc = fs_open(&file, path.path, FS_O_CREATE | FS_O_RDWR); in write_read()
120 rc = fs_open(&file, path.path, FS_O_CREATE | FS_O_RDWR); in write_read()
/Zephyr-Core-3.6.0/tests/subsys/fs/multi-fs/src/
Dtest_common_file.c25 res = fs_open(filep, file_path, FS_O_CREATE | FS_O_RDWR); in test_file_open()
Dtest_common_dir.c47 res = fs_open(&filep, file_path, FS_O_CREATE | FS_O_RDWR); in test_mkdir()
/Zephyr-Core-3.6.0/tests/lib/gui/lvgl/src/
Dmain.c98 ret = fs_open(&img, IMG_FILE_PATH, FS_O_CREATE | FS_O_WRITE); in setup_fs()
/Zephyr-Core-3.6.0/subsys/settings/src/
Dsettings_file.c225 return fs_open(zfp, file_name, FS_O_CREATE | FS_O_RDWR); in settings_file_create_or_replace()
261 if (fs_open(&rf, cf->cf_name, FS_O_CREATE | FS_O_RDWR) != 0) { in settings_file_save_and_compress()
403 rc = fs_open(&file, cf->cf_name, FS_O_CREATE | FS_O_RDWR); in settings_file_save_priv()
/Zephyr-Core-3.6.0/include/zephyr/fs/
Dfs.h158 #define FS_O_CREATE 0x10 macro
/Zephyr-Core-3.6.0/samples/subsys/fs/fs_sample/src/
Dmain.c80 if (fs_open(&file, path, FS_O_CREATE) != 0) { in create_some_entries()
/Zephyr-Core-3.6.0/tests/subsys/fs/fat_fs_dual_drive/src/
Dtest_fat_dir.c43 res = fs_open(&filep, file, FS_O_CREATE | FS_O_RDWR); in test_mkdir()
/Zephyr-Core-3.6.0/samples/subsys/fs/littlefs/src/
Dmain.c75 rc = fs_open(&file, fname, FS_O_CREATE | FS_O_RDWR); in littlefs_increase_infile_value()
184 rc = fs_open(&file, fname, FS_O_CREATE | FS_O_RDWR); in littlefs_binary_file_adj()
/Zephyr-Core-3.6.0/subsys/logging/backends/
Dlog_backend_fs.c346 rc = fs_open(file, fname, FS_O_CREATE | FS_O_WRITE | FS_O_APPEND); in allocate_new_file()
409 rc = fs_open(file, fname, FS_O_CREATE | FS_O_WRITE); in allocate_new_file()
/Zephyr-Core-3.6.0/subsys/fs/ext2/
Dext2_ops.c40 (flags & FS_O_CREATE) != 0); in ext2_open()
49 if (flags & FS_O_CREATE) { in ext2_open()
66 if (flags & FS_O_CREATE && found_inode == NULL) { in ext2_open()
/Zephyr-Core-3.6.0/modules/lvgl/
Dlvgl_fs.c59 int zmode = FS_O_CREATE; in lvgl_fs_open()

12