Home
last modified time | relevance | path

Searched refs:FS_O_RDWR (Results 1 – 25 of 26) sorted by relevance

12

/Zephyr-Core-3.7.0/tests/subsys/fs/common/
Dtest_fs_open_flags.c150 ZOPEN(&ts, FS_O_RDWR, -ENOENT); in test_fs_open_flags()
155 ZOPEN(&ts, FS_O_APPEND | FS_O_RDWR, -ENOENT); in test_fs_open_flags()
156 ZOPEN(&ts, FS_O_TRUNC | FS_O_RDWR, -ENOENT); in test_fs_open_flags()
158 ZOPEN(&ts, FS_O_TRUNC | FS_O_RDWR | FS_O_APPEND, -ENOENT); in test_fs_open_flags()
205 ZOPEN(&ts, FS_O_CREATE | FS_O_RDWR, 0); in test_fs_open_flags()
260 ZOPEN(&ts, FS_O_RDWR, 0); in test_fs_open_flags()
317 ZOPEN(&ts, FS_O_APPEND | FS_O_RDWR, 0); in test_fs_open_flags()
362 ZOPEN(&ts, FS_O_RDWR | FS_O_TRUNC, 0); in test_fs_open_flags()
443 ZOPEN(&ts, FS_O_TRUNC | FS_O_RDWR, 0); in test_fs_open_flags()
Dtest_fs_basic.c34 FS_O_CREATE | FS_O_RDWR), in create_write_hello()
99 FS_O_CREATE | FS_O_RDWR), in verify_hello()
131 FS_O_CREATE | FS_O_RDWR), in seek_within_hello()
199 FS_O_CREATE | FS_O_RDWR), in truncate_hello()
290 FS_O_CREATE | FS_O_RDWR), in sync_goodbye()
354 FS_O_CREATE | FS_O_RDWR), in verify_goodbye()
Dtest_fs_mount_flags.c69 ret = fs_open(&fs, "/sml/some", FS_O_RDWR); in test_fs_mount_flags()
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()
Dtest_fs_dirops.c53 FS_O_CREATE | FS_O_RDWR), in check_mkdir()
/Zephyr-Core-3.7.0/tests/subsys/fs/fat_fs_api/src/
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_rd_only_mount.c55 ret = fs_open(&fs, FATFS_MNTP"/testfile.txt", FS_O_RDWR); 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-3.7.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.7.0/tests/subsys/fs/ext2/src/
Dtestfs_ext_specific.c49 ret = fs_open(&file, file_path, FS_O_RDWR | FS_O_CREATE); in write_to_file()
90 ret = fs_open(&file, file_path, FS_O_RDWR); in truncate_file()
/Zephyr-Core-3.7.0/tests/subsys/fs/fs_api/src/
Dtest_fs_mount_flags.c59 ret = fs_open(&fs, TEST_FS_MNTP"/some", FS_O_RDWR); in test_mount_flags()
Dtest_fs_dir_file.c619 ret = fs_open(&filep, TEST_FILE, FS_O_RDWR); in _test_file_sync()
/Zephyr-Core-3.7.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()
Dtest_lfs_basic.c157 rc = fs_open(file, pstr, FS_O_CREATE | FS_O_RDWR); in num_files()
/Zephyr-Core-3.7.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.7.0/subsys/settings/src/
Dsettings_file.c220 return fs_open(zfp, file_name, FS_O_CREATE | FS_O_RDWR); in settings_file_create_or_replace()
256 if (fs_open(&rf, cf->cf_name, FS_O_CREATE | FS_O_RDWR) != 0) { in settings_file_save_and_compress()
398 rc = fs_open(&file, cf->cf_name, FS_O_CREATE | FS_O_RDWR); in settings_file_save_priv()
/Zephyr-Core-3.7.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()
Dtest_fat_file.c29 res = fs_open(&filep, path, FS_O_CREATE | FS_O_RDWR); in test_file_open()
/Zephyr-Core-3.7.0/include/zephyr/fs/
Dfs.h155 #define FS_O_RDWR (FS_O_READ | FS_O_WRITE) macro
/Zephyr-Core-3.7.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.7.0/lib/posix/options/
Dfs.c76 mode |= FS_O_RDWR; in posix_mode_to_zephyr()
/Zephyr-Core-3.7.0/subsys/fs/ext2/
Dext2_ops.c101 file->f_flags = flags & (FS_O_RDWR | FS_O_APPEND); in ext2_open()

12