Home
last modified time | relevance | path

Searched refs:FS_SEEK_SET (Results 1 – 22 of 22) sorted by relevance

/Zephyr-latest/tests/subsys/fs/multi-fs/src/
Dtest_common_file.c44 res = fs_seek(filep, 0, FS_SEEK_SET); in test_file_write()
82 res = fs_seek(filep, 0, FS_SEEK_SET); in test_file_read()
/Zephyr-latest/include/zephyr/fs/
Dfs.h179 #ifndef FS_SEEK_SET
181 #define FS_SEEK_SET 0 macro
/Zephyr-latest/drivers/disk/
Dloopback_disk.c34 int ret = fs_seek(&ctx->file, start_sector * LOOPBACK_SECTOR_SIZE, FS_SEEK_SET); in loopback_disk_access_read()
72 int ret = fs_seek(&ctx->file, start_sector * LOOPBACK_SECTOR_SIZE, FS_SEEK_SET); in loopback_disk_access_write()
/Zephyr-latest/subsys/llext/
Dfs_loader.c51 return fs_seek(&fs_l->file, pos, FS_SEEK_SET); in llext_fs_seek()
/Zephyr-latest/tests/subsys/fs/fat_fs_api/src/
Dtest_fat_file.c47 res = fs_seek(&filep, 0, FS_SEEK_SET); in test_file_write()
101 res = fs_seek(&filep, 0, FS_SEEK_SET); in test_file_read()
/Zephyr-latest/tests/subsys/fs/fat_fs_dual_drive/src/
Dtest_fat_file.c48 res = fs_seek(&filep, 0, FS_SEEK_SET); in test_file_write()
102 res = fs_seek(&filep, 0, FS_SEEK_SET); in test_file_read()
/Zephyr-latest/samples/subsys/fs/littlefs/src/
Dmain.c88 rc = fs_seek(&file, 0, FS_SEEK_SET); in littlefs_increase_infile_value()
215 rc = fs_seek(&file, 0, FS_SEEK_SET); in littlefs_binary_file_adj()
/Zephyr-latest/modules/lvgl/
Dlvgl_fs.c148 fs_whence = FS_SEEK_SET; in lvgl_fs_seek()
/Zephyr-latest/subsys/fs/
Dfuse_fs_access.c315 err = fs_seek(&files[fi->fh], off, FS_SEEK_SET); in fuse_fs_access_read()
336 err = fs_seek(&files[fi->fh], off, FS_SEEK_SET); in fuse_fs_access_write()
Dshell.c326 err = fs_seek(&file, offset, FS_SEEK_SET); in cmd_read()
482 err = fs_seek(&file, offset, FS_SEEK_SET); in cmd_write()
Dfat_fs.c244 case FS_SEEK_SET: in fatfs_seek()
Dlittlefs_fs.c397 BUILD_ASSERT((FS_SEEK_SET == LFS_SEEK_SET)
/Zephyr-latest/tests/subsys/fs/ext2/src/
Dtestfs_ext_specific.c101 ret = fs_seek(&file, 0, FS_SEEK_SET); in truncate_file()
/Zephyr-latest/tests/subsys/logging/log_backend_fs/src/
Dlog_fs_test.c120 zassert_equal(fs_seek(&file, sizeof(to_log), FS_SEEK_SET), 0, in ZTEST()
/Zephyr-latest/tests/subsys/fs/fs_api/src/
Dtest_fs.c141 case FS_SEEK_SET: in temp_seek()
Dtest_fs_dir_file.c553 ret = fs_seek(&filep, 0, FS_SEEK_SET); in _test_file_write()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/
Dfs_mgmt.c303 rc = fs_seek(&fs_mgmt_ctxt.file, off, FS_SEEK_SET); in fs_mgmt_file_download()
491 rc = fs_seek(&fs_mgmt_ctxt.file, 0, FS_SEEK_SET); in fs_mgmt_file_upload()
765 rc = fs_seek(&file, off, FS_SEEK_SET); in fs_mgmt_file_hash_checksum()
/Zephyr-latest/tests/subsys/fs/common/
Dtest_fs_basic.c148 zassert_equal(fs_seek(&file, pos, FS_SEEK_SET), in seek_within_hello()
Dtest_fs_open_flags.c104 ZEQ(fs_seek(&ts->file, 0, FS_SEEK_SET), 0); in ZREWIND()
/Zephyr-latest/subsys/settings/src/
Dsettings_file.c465 rc = fs_seek(file, entry_ctx->seek + off, FS_SEEK_SET); in read_handler()
/Zephyr-latest/subsys/fs/ext2/
Dext2_ops.c180 case FS_SEEK_SET: in ext2_lseek()
/Zephyr-latest/drivers/modem/
Dhl7800.c4502 ret = fs_seek(&iface_ctx.fw_update_file, iface_ctx.file_pos, FS_SEEK_SET); in prepare_and_send_fw_packet()