Searched refs:FS_O_WRITE (Results 1 – 17 of 17) sorted by relevance
/Zephyr-latest/tests/subsys/fs/common/ |
D | test_fs_open_flags.c | 148 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/ |
D | fs.h | 153 #define FS_O_WRITE 0x02 macro 155 #define FS_O_RDWR (FS_O_READ | FS_O_WRITE)
|
/Zephyr-latest/subsys/fs/ |
D | shell.c | 229 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()
|
D | fuse_fs_access.c | 274 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()
|
D | fs.c | 156 (flags & FS_O_CREATE || flags & FS_O_WRITE)) { in fs_open() 165 if ((flags & FS_O_WRITE) == 0) { in fs_open()
|
D | fat_fs.c | 105 fat_mode |= (flags & FS_O_WRITE) ? FA_WRITE : 0; in translate_flags()
|
D | littlefs_fs.c | 282 flags |= (zflags & FS_O_WRITE) ? LFS_O_WRONLY : 0; in lfs_flags_from_zephyr()
|
/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/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/drivers/disk/ |
D | loopback_disk.c | 155 ret = fs_open(&ctx->file, ctx->file_path, FS_O_READ | FS_O_WRITE); in loopback_disk_access_register()
|
/Zephyr-latest/subsys/fs/ext2/ |
D | ext2_ops.c | 38 (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/ |
D | lvgl_fs.c | 67 zmode |= (mode & LV_FS_MODE_WR) ? FS_O_WRITE : 0; in lvgl_fs_open()
|
/Zephyr-latest/tests/drivers/disk/disk_access/src/ |
D | main.c | 88 rc = fs_open(&f, BACKING_PATH "/loopback.img", FS_O_WRITE | FS_O_CREATE); in setup_loopback_backing()
|
/Zephyr-latest/lib/posix/options/ |
D | fs.c | 70 mode |= FS_O_WRITE; in posix_mode_to_zephyr()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/ |
D | fs_mgmt.c | 424 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/ |
D | test_llext.c | 524 zassert_ok(fs_open(&fd, path, FS_O_CREATE | FS_O_TRUNC | FS_O_WRITE), in ZTEST()
|
/Zephyr-latest/doc/releases/ |
D | release-notes-2.7.rst | 1678 * :github:`36237` - fs_open returns 0 on existing file with FS_O_CREATE | FS_O_WRITE
|