Searched refs:fs_truncate (Results 1 – 11 of 11) sorted by relevance
/Zephyr-latest/tests/subsys/fs/fat_fs_api/src/ |
D | test_fat_file.c | 143 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/ |
D | test_fat_file.c | 144 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/ |
D | fuse_fs_access.c | 177 int err = fs_truncate(&files[fh], size); in ffa_ftruncate_top() 192 err = fs_truncate(&file, size); in ffa_truncate_top()
|
D | shell.c | 234 err = fs_truncate(&file, length); in cmd_trunc() 761 err = fs_truncate(&file, 0); in cmd_erase_write_test()
|
D | fs.c | 304 int fs_truncate(struct fs_file_t *zfp, off_t length) in fs_truncate() function
|
/Zephyr-latest/tests/subsys/fs/fs_api/src/ |
D | test_fs_dir_file.c | 744 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/ |
D | fs.h | 447 int fs_truncate(struct fs_file_t *zfp, off_t length);
|
/Zephyr-latest/tests/subsys/fs/ext2/src/ |
D | testfs_ext_specific.c | 93 ret = fs_truncate(&file, new_size); in truncate_file()
|
/Zephyr-latest/lib/posix/options/ |
D | fs.c | 179 rc = fs_truncate(&ptr->file, length); in fs_ioctl_vmeth()
|
/Zephyr-latest/tests/subsys/fs/common/ |
D | test_fs_basic.c | 216 zassert_equal(fs_truncate(&file, pos), in truncate_hello()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/ |
D | fs_mgmt.c | 500 rc = fs_truncate(&fs_mgmt_ctxt.file, 0); in fs_mgmt_file_upload()
|