Home
last modified time | relevance | path

Searched refs:whence (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/lib/posix/options/
Dfd_mgmt.c19 off_t zvfs_lseek(int fd, off_t offset, int whence);
44 off_t lseek(int fd, off_t offset, int whence) in lseek() argument
46 return zvfs_lseek(fd, offset, whence); in lseek()
Dshm.c143 static off_t shm_lseek(struct shm_obj *shm, off_t offset, int whence, size_t cur) in shm_lseek() argument
147 switch (whence) { in shm_lseek()
257 int whence = va_arg(args, int); in shm_ioctl() local
260 return shm_lseek(shm, offset, whence, cur); in shm_ioctl()
Dfs.c163 int whence; in fs_ioctl_vmeth() local
166 whence = va_arg(args, int); in fs_ioctl_vmeth()
168 rc = fs_seek(&ptr->file, offset, whence); in fs_ioctl_vmeth()
/Zephyr-latest/include/zephyr/posix/
Dunistd.h34 off_t lseek(int file, off_t offset, int whence);
/Zephyr-latest/include/zephyr/fs/
Dfs_sys.h64 int (*lseek)(struct fs_file_t *filp, off_t off, int whence);
Dfs.h409 int fs_seek(struct fs_file_t *zfp, off_t offset, int whence);
/Zephyr-latest/modules/lvgl/
Dlvgl_fs.c135 static lv_fs_res_t lvgl_fs_seek(lv_fs_drv_t *drv, void *file, uint32_t pos, lv_fs_whence_t whence) in lvgl_fs_seek() argument
139 switch (whence) { in lvgl_fs_seek()
/Zephyr-latest/tests/subsys/fs/fs_api/src/
Dtest_fs.c133 static int temp_seek(struct fs_file_t *zfp, off_t offset, int whence) in temp_seek() argument
140 switch (whence) { in temp_seek()
/Zephyr-latest/subsys/fs/
Dfat_fs.c238 static int fatfs_seek(struct fs_file_t *zfp, off_t offset, int whence) in fatfs_seek() argument
243 switch (whence) { in fatfs_seek()
Dfs.c264 int fs_seek(struct fs_file_t *zfp, off_t offset, int whence) in fs_seek() argument
276 rc = zfp->mp->fs->lseek(zfp, offset, whence); in fs_seek()
Dlittlefs_fs.c401 static int littlefs_seek(struct fs_file_t *fp, off_t off, int whence) in littlefs_seek() argument
407 off_t ret = lfs_file_seek(&fs->lfs, LFS_FILEP(fp), off, whence); in littlefs_seek()
/Zephyr-latest/lib/os/
Dfdtable.c475 off_t zvfs_lseek(int fd, off_t offset, int whence) in zvfs_lseek() argument
481 return zvfs_lseek_wrap(fd, ZFD_IOCTL_LSEEK, offset, whence, fdtable[fd].offset); in zvfs_lseek()
/Zephyr-latest/subsys/fs/ext2/
Dext2_ops.c174 static int ext2_lseek(struct fs_file_t *filp, off_t off, int whence) in ext2_lseek() argument
179 switch (whence) { in ext2_lseek()