Lines Matching refs:zfp
237 static inline void fs_file_t_init(struct fs_file_t *zfp) in fs_file_t_init() argument
239 zfp->filep = NULL; in fs_file_t_init()
240 zfp->mp = NULL; in fs_file_t_init()
241 zfp->flags = 0; in fs_file_t_init()
294 int fs_open(struct fs_file_t *zfp, const char *file_name, fs_mode_t flags);
307 int fs_close(struct fs_file_t *zfp);
368 ssize_t fs_read(struct fs_file_t *zfp, void *ptr, size_t size);
389 ssize_t fs_write(struct fs_file_t *zfp, const void *ptr, size_t size);
409 int fs_seek(struct fs_file_t *zfp, off_t offset, int whence);
425 off_t fs_tell(struct fs_file_t *zfp);
447 int fs_truncate(struct fs_file_t *zfp, off_t length);
465 int fs_sync(struct fs_file_t *zfp);