/Zephyr-latest/tests/subsys/fs/common/ |
D | test_fs_open_flags.c | 149 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()
|
D | test_fs_mount_flags.c | 71 ret = fs_open(&fs, "/sml/some", FS_O_READ); in test_fs_mount_flags()
|
/Zephyr-latest/include/zephyr/fs/ |
D | fs.h | 151 #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/ |
D | test_fs_dir_file.c | 499 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()
|
D | test_fs_mount_flags.c | 61 ret = fs_open(&fs, TEST_FS_MNTP"/some", FS_O_READ); in test_mount_flags()
|
/Zephyr-latest/subsys/llext/ |
D | fs_loader.c | 22 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/ |
D | test_fat_rd_only_mount.c | 57 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/ |
D | log_fs_test.c | 103 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/ |
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/modules/lvgl/ |
D | lvgl_fs.c | 68 zmode |= (mode & LV_FS_MODE_RD) ? FS_O_READ : 0; in lvgl_fs_open()
|
/Zephyr-latest/subsys/fs/ |
D | shell.c | 319 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()
|
D | fat_fs.c | 104 fat_mode |= (flags & FS_O_READ) ? FA_READ : 0; in translate_flags()
|
D | littlefs_fs.c | 281 flags |= (zflags & FS_O_READ) ? LFS_O_RDONLY : 0; in lfs_flags_from_zephyr()
|
/Zephyr-latest/tests/subsys/fs/ext2/src/ |
D | testfs_ext_specific.c | 68 ret = fs_open(&file, file_path, FS_O_READ); in write_to_file()
|
/Zephyr-latest/subsys/fs/ext2/ |
D | ext2_ops.c | 37 (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/ |
D | fs.c | 67 mode |= FS_O_READ; in posix_mode_to_zephyr()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/ |
D | fs_mgmt.c | 281 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/ |
D | settings_file.c | 132 rc = fs_open(&file, cf->cf_name, FS_O_READ); in settings_file_load_priv()
|
/Zephyr-latest/subsys/net/lib/http/ |
D | http_server_http1.c | 441 ret = fs_open(&file, fname, FS_O_READ); in handle_http1_static_fs_resource()
|
D | http_server_http2.c | 449 ret = fs_open(&file, fname, FS_O_READ); in handle_http2_static_fs_resource()
|
/Zephyr-latest/drivers/modem/ |
D | hl7800.c | 6275 ret = fs_open(&iface_ctx.fw_update_file, file_path, FS_O_READ); in mdm_hl7800_update_fw()
|