Home
last modified time | relevance | path

Searched refs:fs_truncate (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/tests/subsys/fs/fat_fs_api/src/
Dtest_fat_file.c143 res = fs_truncate(&filep, 0); in test_file_truncate()
172 res = fs_truncate(&filep, orig_pos - 5); in test_file_truncate()
192 res = fs_truncate(&filep, orig_pos + 10); in test_file_truncate()
/Zephyr-latest/tests/subsys/fs/fat_fs_dual_drive/src/
Dtest_fat_file.c144 res = fs_truncate(&filep, 0); in test_file_truncate()
184 res = fs_truncate(&filep, orig_pos - 5); in test_file_truncate()
216 res = fs_truncate(&filep, orig_pos + 10); in test_file_truncate()
/Zephyr-latest/subsys/fs/
Dfuse_fs_access.c177 int err = fs_truncate(&files[fh], size); in ffa_ftruncate_top()
192 err = fs_truncate(&file, size); in ffa_truncate_top()
Dshell.c234 err = fs_truncate(&file, length); in cmd_trunc()
761 err = fs_truncate(&file, 0); in cmd_erase_write_test()
Dfs.c304 int fs_truncate(struct fs_file_t *zfp, off_t length) in fs_truncate() function
/Zephyr-latest/tests/subsys/fs/fs_api/src/
Dtest_fs_dir_file.c744 ret = fs_truncate(&err_filep, 256); in _test_file_truncate()
760 ret = fs_truncate(&err_filep, 256); in _test_file_truncate()
775 ret = fs_truncate(&filep, 256); in _test_file_truncate()
783 ret = fs_truncate(&filep, 0); in _test_file_truncate()
818 ret = fs_truncate(&filep, orig_pos - 5); in _test_file_truncate()
838 ret = fs_truncate(&filep, orig_pos + 10); in _test_file_truncate()
/Zephyr-latest/include/zephyr/fs/
Dfs.h447 int fs_truncate(struct fs_file_t *zfp, off_t length);
/Zephyr-latest/tests/subsys/fs/ext2/src/
Dtestfs_ext_specific.c93 ret = fs_truncate(&file, new_size); in truncate_file()
/Zephyr-latest/lib/posix/options/
Dfs.c179 rc = fs_truncate(&ptr->file, length); in fs_ioctl_vmeth()
/Zephyr-latest/tests/subsys/fs/common/
Dtest_fs_basic.c216 zassert_equal(fs_truncate(&file, pos), in truncate_hello()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/
Dfs_mgmt.c500 rc = fs_truncate(&fs_mgmt_ctxt.file, 0); in fs_mgmt_file_upload()