Lines Matching refs:S32
43 S32 OsVfsLock(void)
45 S32 ret = pthread_mutex_lock(&g_vfsMutex);
58 S32 OsVfsOpen(const char *path, S32 flags, va_list ap)
62 S32 fd = -1;
127 static struct TagFile *OsVfsAttachFile(S32 fd, U32 status)
158 static struct TagFile *OsVfsAttachFileReady(S32 fd)
163 static struct TagFile *OsVfsAttachFileWithStatus(S32 fd, S32 status)
174 S32 OsVfsClose(S32 fd)
176 S32 ret = FS_NOK;
201 ssize_t OsVfsRead(S32 fd, char *buff, size_t bytes)
232 ssize_t OsVfsWrite(S32 fd, const void *buff, size_t bytes)
259 off_t OsVfsLseek(S32 fd, off_t off, S32 whence)
277 S32 OsVfsStat(const char *path, struct stat *stat)
281 S32 ret = FS_NOK;
310 S32 OsVfsFstat(S32 fd, struct stat *buf)
312 S32 ret;
322 S32 OsVfsStatfs(const char *path, struct statfs *buf)
326 S32 ret = FS_NOK;
355 S32 OsVfsUnlink(const char *path)
359 S32 ret = FS_NOK;
385 S32 OsVfsRename(const char *oldName, const char *newName)
391 S32 ret = FS_NOK;
441 S32 OsVfsIoctl(S32 fd, S32 func, unsigned long arg)
443 S32 ret = FS_NOK;
459 S32 OsVfsSync(S32 fd)
461 S32 ret = FS_NOK;
565 S32 OsVfsClosedir(DIR *d)
568 S32 ret = FS_NOK;
602 S32 OsVfsMkdir(const char *path, S32 mode)
606 S32 ret = FS_NOK;
637 S32 OsVfsFcntl(S32 fd, S32 cmd, va_list ap)
639 S32 ret = FS_NOK;
653 ret = (S32)(filep->fFlags);
655 flags = (U32)va_arg(ap, S32);
668 ssize_t OsVfsPread(S32 fd, void *buff, size_t bytes, off_t off)
710 ssize_t OsVfsPwrite(S32 fd, const void *buff, size_t bytes, off_t off)
752 S32 OsVfsFtruncate(S32 fd, off_t length)
754 S32 ret = FS_NOK;
785 ssize_t OsVfsReadv(S32 fd, const struct iovec *iovBuf, S32 iovcnt)
787 S32 i;
842 ssize_t OsVfsWritev(S32 fd, const struct iovec *iovBuf, S32 iovcnt)
844 S32 i;