/Zephyr-latest/tests/subsys/fs/common/ |
D | test_fs_open_flags.c | 128 ZOPEN(ts, FS_O_CREATE, 0); \ 167 ZOPEN(&ts, FS_O_CREATE | 0, 0); in test_fs_open_flags() 179 ZOPEN(&ts, FS_O_CREATE | FS_O_READ, 0); in test_fs_open_flags() 192 ZOPEN(&ts, FS_O_CREATE | FS_O_WRITE, 0); in test_fs_open_flags() 205 ZOPEN(&ts, FS_O_CREATE | FS_O_RDWR, 0); in test_fs_open_flags() 328 ZOPEN(&ts, FS_O_CREATE | FS_O_TRUNC, -EACCES); in test_fs_open_flags() 334 ZOPEN(&ts, FS_O_CREATE | FS_O_WRITE | FS_O_TRUNC, 0); in test_fs_open_flags() 401 ZOPEN(&ts, FS_O_CREATE | FS_O_WRITE, 0); in test_fs_open_flags() 417 ZOPEN(&ts, FS_O_CREATE | FS_O_WRITE, 0); in test_fs_open_flags() 434 ZOPEN(&ts, FS_O_CREATE | FS_O_WRITE, 0); in test_fs_open_flags() [all …]
|
D | test_fs_mount_flags.c | 42 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()
|
D | test_fs_basic.c | 34 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()
|
D | test_fs_mkfs.c | 63 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()
|
D | test_fs_util.c | 240 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-latest/tests/subsys/fs/fs_api/src/ |
D | test_fs_mount_flags.c | 31 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-latest/tests/subsys/fs/ext2/src/ |
D | testfs_dirops.c | 28 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()
|
/Zephyr-latest/tests/subsys/fs/fat_fs_api/src/ |
D | test_fat_rd_only_mount.c | 23 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()
|
D | test_fat_file_reentrant.c | 47 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()
|
D | test_fat_dir.c | 38 res = fs_open(&filep, TEST_DIR_FILE, FS_O_CREATE | FS_O_RDWR); in test_mkdir()
|
D | test_fat_rename.c | 31 res = fs_open(&fp, path, FS_O_CREATE | FS_O_RDWR); in create_file()
|
/Zephyr-latest/tests/lib/c_lib/stdio/src/ |
D | main.c | 41 zassert_equal(fs_open(&file, TEST_FILE, FS_O_CREATE), 0, in ZTEST()
|
/Zephyr-latest/tests/subsys/settings/file/src/ |
D | settings_test_file.c | 154 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-latest/tests/subsys/fs/multi-fs/src/ |
D | test_common_file.c | 25 res = fs_open(filep, file_path, FS_O_CREATE | FS_O_RDWR); in test_file_open()
|
D | test_common_dir.c | 47 res = fs_open(&filep, file_path, FS_O_CREATE | FS_O_RDWR); in test_mkdir()
|
/Zephyr-latest/tests/subsys/fs/littlefs/src/ |
D | test_lfs_perf.c | 81 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-latest/subsys/settings/src/ |
D | settings_file.c | 220 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-latest/lib/posix/options/ |
D | fs.c | 60 int mode = (mf & O_CREAT) ? FS_O_CREATE : 0; in posix_mode_to_zephyr() 108 rc = fs_open(&ptr->file, name, FS_O_CREATE | (mode & O_ACCMODE)); in zvfs_open()
|
/Zephyr-latest/samples/subsys/fs/fs_sample/src/ |
D | main.c | 91 if (fs_open(&file, path, FS_O_CREATE) != 0) { in create_some_entries()
|
/Zephyr-latest/tests/lib/gui/lvgl/src/ |
D | main.c | 146 ret = fs_open(&img, IMG_FILE_PATH, FS_O_CREATE | FS_O_WRITE); in setup_fs()
|
/Zephyr-latest/tests/subsys/fs/fat_fs_dual_drive/src/ |
D | test_fat_dir.c | 43 res = fs_open(&filep, file, FS_O_CREATE | FS_O_RDWR); in test_mkdir()
|
/Zephyr-latest/include/zephyr/fs/ |
D | fs.h | 160 #define FS_O_CREATE 0x10 macro
|
/Zephyr-latest/subsys/logging/backends/ |
D | log_backend_fs.c | 346 rc = fs_open(file, fname, FS_O_CREATE | FS_O_WRITE | FS_O_APPEND); in allocate_new_file() 410 rc = fs_open(file, fname, FS_O_CREATE | FS_O_WRITE); in allocate_new_file()
|
/Zephyr-latest/samples/subsys/fs/littlefs/src/ |
D | main.c | 75 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-latest/subsys/fs/ext2/ |
D | ext2_ops.c | 40 (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()
|