Home
last modified time | relevance | path

Searched refs:FS_O_READ (Results 1 – 21 of 21) sorted by relevance

/Zephyr-latest/tests/subsys/fs/common/
Dtest_fs_open_flags.c149 ZOPEN(&ts, FS_O_READ, -ENOENT); in test_fs_open_flags()
153 ZOPEN(&ts, FS_O_APPEND | FS_O_READ, -ENOENT); in test_fs_open_flags()
179 ZOPEN(&ts, FS_O_CREATE | FS_O_READ, 0); in test_fs_open_flags()
230 ZOPEN(&ts, FS_O_READ, 0); in test_fs_open_flags()
286 ZOPEN(&ts, FS_O_APPEND | FS_O_READ, 0); in test_fs_open_flags()
355 ZOPEN(&ts, FS_O_READ | FS_O_TRUNC, -EACCES); in test_fs_open_flags()
439 ZOPEN(&ts, FS_O_CREATE | FS_O_READ, 0); in test_fs_open_flags()
Dtest_fs_mount_flags.c71 ret = fs_open(&fs, "/sml/some", FS_O_READ); in test_fs_mount_flags()
/Zephyr-latest/include/zephyr/fs/
Dfs.h151 #define FS_O_READ 0x01 macro
155 #define FS_O_RDWR (FS_O_READ | FS_O_WRITE)
/Zephyr-latest/tests/subsys/fs/fs_api/src/
Dtest_fs_dir_file.c499 ret = fs_open(&filep, NULL, FS_O_READ); in test_file_open()
503 ret = fs_open(&filep, "/", FS_O_READ); in test_file_open()
507 ret = fs_open(&filep, "test_file.txt", FS_O_READ); in test_file_open()
511 ret = fs_open(&filep, "/test_file.txt", FS_O_READ); in test_file_open()
515 ret = fs_open(&filep, NOOP_MNTP"/test_file.txt", FS_O_READ); in test_file_open()
518 ret = fs_open(&filep, TEST_FILE, FS_O_READ); in test_file_open()
522 ret = fs_open(&filep, TEST_FILE, FS_O_READ); in test_file_open()
526 ret = fs_open(&filep, TEST_FILE, FS_O_READ); in test_file_open()
917 ret = fs_open(&filep, TEST_FILE, FS_O_READ); in test_file_close()
Dtest_fs_mount_flags.c61 ret = fs_open(&fs, TEST_FS_MNTP"/some", FS_O_READ); in test_mount_flags()
/Zephyr-latest/subsys/llext/
Dfs_loader.c22 ret = fs_open(&fs_l->file, fs_l->name, FS_O_READ); in llext_fs_prepare()
/Zephyr-latest/tests/subsys/fs/fat_fs_api/src/
Dtest_fat_rd_only_mount.c57 ret = fs_open(&fs, FATFS_MNTP"/testfile.txt", FS_O_READ); in test_ops_on_rd()
/Zephyr-latest/tests/subsys/logging/log_backend_fs/src/
Dlog_fs_test.c103 zassert_equal(fs_open(&file, fname, FS_O_READ), 0, in ZTEST()
117 zassert_equal(fs_open(&file, fname, FS_O_READ), 0, in ZTEST()
/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/modules/lvgl/
Dlvgl_fs.c68 zmode |= (mode & LV_FS_MODE_RD) ? FS_O_READ : 0; in lvgl_fs_open()
/Zephyr-latest/subsys/fs/
Dshell.c319 err = fs_open(&file, path, FS_O_READ); in cmd_read()
398 err = fs_open(&file, path, FS_O_READ); in cmd_cat()
596 err = fs_open(&file, path, FS_O_READ); in cmd_read_test()
Dfat_fs.c104 fat_mode |= (flags & FS_O_READ) ? FA_READ : 0; in translate_flags()
Dlittlefs_fs.c281 flags |= (zflags & FS_O_READ) ? LFS_O_RDONLY : 0; in lfs_flags_from_zephyr()
/Zephyr-latest/tests/subsys/fs/ext2/src/
Dtestfs_ext_specific.c68 ret = fs_open(&file, file_path, FS_O_READ); in write_to_file()
/Zephyr-latest/subsys/fs/ext2/
Dext2_ops.c37 (flags & FS_O_READ) != 0, in ext2_open()
139 if ((f->f_flags & FS_O_READ) == 0) { in ext2_read()
/Zephyr-latest/lib/posix/options/
Dfs.c67 mode |= FS_O_READ; in posix_mode_to_zephyr()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/
Dfs_mgmt.c281 rc = fs_open(&fs_mgmt_ctxt.file, path, FS_O_READ); in fs_mgmt_file_download()
748 rc = fs_open(&file, path, FS_O_READ); in fs_mgmt_file_hash_checksum()
/Zephyr-latest/subsys/settings/src/
Dsettings_file.c132 rc = fs_open(&file, cf->cf_name, FS_O_READ); in settings_file_load_priv()
/Zephyr-latest/subsys/net/lib/http/
Dhttp_server_http1.c441 ret = fs_open(&file, fname, FS_O_READ); in handle_http1_static_fs_resource()
Dhttp_server_http2.c449 ret = fs_open(&file, fname, FS_O_READ); in handle_http2_static_fs_resource()
/Zephyr-latest/drivers/modem/
Dhl7800.c6275 ret = fs_open(&iface_ctx.fw_update_file, file_path, FS_O_READ); in mdm_hl7800_update_fw()