Home
last modified time | relevance | path

Searched refs:FS_O_WRITE (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/tests/subsys/fs/common/
Dtest_fs_open_flags.c148 ZOPEN(&ts, FS_O_WRITE, -ENOENT); in test_fs_open_flags()
154 ZOPEN(&ts, FS_O_APPEND | FS_O_WRITE, -ENOENT); in test_fs_open_flags()
192 ZOPEN(&ts, FS_O_CREATE | FS_O_WRITE, 0); in test_fs_open_flags()
245 ZOPEN(&ts, FS_O_WRITE, 0); in test_fs_open_flags()
302 ZOPEN(&ts, FS_O_APPEND | FS_O_WRITE, 0); in test_fs_open_flags()
334 ZOPEN(&ts, FS_O_CREATE | FS_O_WRITE | FS_O_TRUNC, 0); in test_fs_open_flags()
348 ZOPEN(&ts, FS_O_TRUNC | FS_O_WRITE, 0); in test_fs_open_flags()
369 ZOPEN(&ts, FS_O_WRITE | FS_O_TRUNC, 0); in test_fs_open_flags()
381 ZOPEN(&ts, FS_O_APPEND | 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()
[all …]
/Zephyr-latest/include/zephyr/fs/
Dfs.h153 #define FS_O_WRITE 0x02 macro
155 #define FS_O_RDWR (FS_O_READ | FS_O_WRITE)
/Zephyr-latest/subsys/fs/
Dshell.c229 err = fs_open(&file, path, FS_O_WRITE); in cmd_trunc()
473 err = fs_open(&file, path, FS_O_CREATE | FS_O_WRITE); in cmd_write()
685 err = fs_open(&file, path, FS_O_CREATE | FS_O_WRITE); in cmd_erase_write_test()
703 err = fs_open(&file, path, FS_O_CREATE | FS_O_WRITE); in cmd_erase_write_test()
Dfuse_fs_access.c274 err = fs_open(&files[handle], path, FS_O_CREATE | FS_O_WRITE); in fuse_fs_access_create()
367 err = fs_open(&file, path, FS_O_CREATE | FS_O_WRITE); in fuse_fs_access_truncate()
Dfs.c156 (flags & FS_O_CREATE || flags & FS_O_WRITE)) { in fs_open()
165 if ((flags & FS_O_WRITE) == 0) { in fs_open()
Dfat_fs.c105 fat_mode |= (flags & FS_O_WRITE) ? FA_WRITE : 0; in translate_flags()
Dlittlefs_fs.c282 flags |= (zflags & FS_O_WRITE) ? LFS_O_WRONLY : 0; in lfs_flags_from_zephyr()
/Zephyr-latest/tests/lib/gui/lvgl/src/
Dmain.c146 ret = fs_open(&img, IMG_FILE_PATH, FS_O_CREATE | FS_O_WRITE); in setup_fs()
/Zephyr-latest/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()
410 rc = fs_open(file, fname, FS_O_CREATE | FS_O_WRITE); in allocate_new_file()
/Zephyr-latest/drivers/disk/
Dloopback_disk.c155 ret = fs_open(&ctx->file, ctx->file_path, FS_O_READ | FS_O_WRITE); in loopback_disk_access_register()
/Zephyr-latest/subsys/fs/ext2/
Dext2_ops.c38 (flags & FS_O_WRITE) != 0, in ext2_open()
156 if ((f->f_flags & FS_O_WRITE) == 0) { in ext2_write()
215 if ((f->f_flags & FS_O_WRITE) == 0) { in ext2_truncate()
/Zephyr-latest/modules/lvgl/
Dlvgl_fs.c67 zmode |= (mode & LV_FS_MODE_WR) ? FS_O_WRITE : 0; in lvgl_fs_open()
/Zephyr-latest/tests/drivers/disk/disk_access/src/
Dmain.c88 rc = fs_open(&f, BACKING_PATH "/loopback.img", FS_O_WRITE | FS_O_CREATE); in setup_loopback_backing()
/Zephyr-latest/lib/posix/options/
Dfs.c70 mode |= FS_O_WRITE; in posix_mode_to_zephyr()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/
Dfs_mgmt.c424 rc = fs_open(&fs_mgmt_ctxt.file, file_name, FS_O_CREATE | FS_O_WRITE); in fs_mgmt_file_upload()
517 FS_O_WRITE); in fs_mgmt_file_upload()
/Zephyr-latest/tests/subsys/llext/src/
Dtest_llext.c524 zassert_ok(fs_open(&fd, path, FS_O_CREATE | FS_O_TRUNC | FS_O_WRITE), in ZTEST()
/Zephyr-latest/doc/releases/
Drelease-notes-2.7.rst1678 * :github:`36237` - fs_open returns 0 on existing file with FS_O_CREATE | FS_O_WRITE