Home
last modified time | relevance | path

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

12

/Zephyr-Core-2.7.6/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-2.7.6/tests/subsys/fs/littlefs/src/
Dtestfs_mount_flags.c50 ret = fs_open(&fs, "/sml/some", FS_O_CREATE); in test_fs_mount_flags()
67 ret = fs_open(&fs, "/sml/nosome", FS_O_CREATE); in test_fs_mount_flags()
75 ret = fs_open(&fs, "/sml/other", FS_O_CREATE); in test_fs_mount_flags()
Dtest_lfs_basic.c87 FS_O_CREATE | FS_O_RDWR), in create_write_hello()
155 FS_O_CREATE | FS_O_RDWR), in verify_hello()
187 FS_O_CREATE | FS_O_RDWR), in seek_within_hello()
255 FS_O_CREATE | FS_O_RDWR), in truncate_hello()
346 FS_O_CREATE | FS_O_RDWR), in sync_goodbye()
410 FS_O_CREATE | FS_O_RDWR), in verify_goodbye()
509 rc = fs_open(file, pstr, FS_O_CREATE | FS_O_RDWR); in num_files()
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()
Dtestfs_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()
Dtest_lfs_dirops.c71 FS_O_CREATE | FS_O_RDWR), in check_mkdir()
/Zephyr-Core-2.7.6/tests/subsys/fs/common/
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()
/Zephyr-Core-2.7.6/tests/subsys/fs/fat_fs_api/src/
Dtest_fat_rd_only_mount.c27 zassert_equal(fs_open(&fs, "/NAND:/testfile.txt", FS_O_CREATE), in test_prepare()
51 ret = fs_open(&fs, "/NAND:/nosome", FS_O_CREATE); in test_ops_on_rd()
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()
Dtest_fat_file.c24 res = fs_open(&filep, TEST_FILE, FS_O_CREATE | FS_O_RDWR); in test_file_open()
/Zephyr-Core-2.7.6/subsys/settings/src/
Dsettings_file.c128 rc = fs_open(&file, cf->cf_name, FS_O_CREATE | FS_O_RDWR); in settings_file_load_priv()
212 return fs_open(zfp, file_name, FS_O_CREATE | FS_O_RDWR); in settings_file_create_or_replace()
248 if (fs_open(&rf, cf->cf_name, FS_O_CREATE | FS_O_RDWR) != 0) { in settings_file_save_and_compress()
390 rc = fs_open(&file, cf->cf_name, FS_O_CREATE | FS_O_RDWR); in settings_file_save_priv()
/Zephyr-Core-2.7.6/tests/subsys/settings/fs/src/
Dsettings_test_fs.c156 rc = fs_open(&file, path, FS_O_CREATE | FS_O_RDWR); in fsutil_read_file()
179 rc = fs_open(&file, path, FS_O_CREATE | FS_O_RDWR); in fsutil_write_file()
/Zephyr-Core-2.7.6/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-2.7.6/tests/lib/gui/lvgl/src/
Dmain.c95 ret = fs_open(&img, IMG_FILE_PATH, FS_O_CREATE | FS_O_WRITE); in setup_fs()
/Zephyr-Core-2.7.6/include/fs/
Dfs.h146 #define FS_O_CREATE 0x10 macro
/Zephyr-Core-2.7.6/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()
Dtest_fat_file.c29 res = fs_open(&filep, path, FS_O_CREATE | FS_O_RDWR); in test_file_open()
/Zephyr-Core-2.7.6/samples/subsys/fs/littlefs/src/
Dmain.c109 rc = fs_open(&file, fname, FS_O_CREATE | FS_O_RDWR); in main()
/Zephyr-Core-2.7.6/subsys/fs/
Dfuse_fs_access.c264 err = fs_open(&files[handle], path, FS_O_CREATE | FS_O_WRITE); in fuse_fs_access_create()
357 err = fs_open(&file, path, FS_O_CREATE | FS_O_WRITE); in fuse_fs_access_truncate()
Dfat_fs.c73 fat_mode |= (flags & FS_O_CREATE) ? FA_OPEN_ALWAYS : 0; in translate_flags()
/Zephyr-Core-2.7.6/lib/gui/lvgl/
Dlvgl_fs.c55 int zmode = FS_O_CREATE; in lvgl_fs_open()
/Zephyr-Core-2.7.6/lib/posix/
Dfs.c62 int mode = (mf & O_CREAT) ? FS_O_CREATE : 0; in posix_mode_to_zephyr()
/Zephyr-Core-2.7.6/subsys/logging/
Dlog_backend_fs.c386 rc = fs_open(file, fname, FS_O_CREATE | FS_O_WRITE); in allocate_new_file()

12