fh 370 lib/vfs/direntry.c vfs_file_handler_t *fh; fh 372 lib/vfs/direntry.c fh = g_new0 (vfs_file_handler_t, 1); fh 373 lib/vfs/direntry.c vfs_s_init_fh (fh, ino, changed); fh 375 lib/vfs/direntry.c return fh; fh 381 lib/vfs/direntry.c vfs_s_free_fh (struct vfs_s_subclass *s, vfs_file_handler_t *fh) fh 384 lib/vfs/direntry.c s->fh_free (fh); fh 386 lib/vfs/direntry.c g_free (fh); fh 559 lib/vfs/direntry.c vfs_s_read (void *fh, char *buffer, size_t count) fh 561 lib/vfs/direntry.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); fh 562 lib/vfs/direntry.c struct vfs_class *me = VFS_FILE_HANDLER_SUPER (fh)->me; fh 590 lib/vfs/direntry.c vfs_s_write (void *fh, const char *buffer, size_t count) fh 592 lib/vfs/direntry.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); fh 593 lib/vfs/direntry.c struct vfs_class *me = VFS_FILE_HANDLER_SUPER (fh)->me; fh 615 lib/vfs/direntry.c vfs_s_lseek (void *fh, off_t offset, int whence) fh 617 lib/vfs/direntry.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); fh 629 lib/vfs/direntry.c VFS_FILE_HANDLER_SUPER (fh)->me->verrno = errno; fh 656 lib/vfs/direntry.c vfs_s_close (void *fh) fh 658 lib/vfs/direntry.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); fh 659 lib/vfs/direntry.c struct vfs_s_super *super = VFS_FILE_HANDLER_SUPER (fh); fh 669 lib/vfs/direntry.c vfs_stamp_create (me, VFS_FILE_HANDLER_SUPER (fh)); fh 672 lib/vfs/direntry.c sub->linear_close (me, fh); fh 674 lib/vfs/direntry.c res = sub->fh_close (me, fh); fh 685 lib/vfs/direntry.c res = sub->file_store (me, fh, s, file->ino->localname); fh 698 lib/vfs/direntry.c vfs_s_free_fh (sub, fh); fh 754 lib/vfs/direntry.c vfs_file_handler_t *fh; fh 760 lib/vfs/direntry.c fh = vfs_s_open (vpath, O_RDONLY, 0); fh 762 lib/vfs/direntry.c if (fh != NULL) fh 767 lib/vfs/direntry.c if ((me->flags & VFSF_USETMP) != 0 && fh->ino != NULL) fh 768 lib/vfs/direntry.c local = vfs_path_from_str_flags (fh->ino->localname, VPF_NO_CANON); fh 770 lib/vfs/direntry.c vfs_s_close (fh); fh 1276 lib/vfs/direntry.c vfs_s_init_fh (vfs_file_handler_t *fh, struct vfs_s_inode *ino, gboolean changed) fh 1278 lib/vfs/direntry.c fh->ino = ino; fh 1279 lib/vfs/direntry.c fh->handle = -1; fh 1280 lib/vfs/direntry.c fh->changed = changed; fh 1281 lib/vfs/direntry.c fh->linear = LS_NOT_LINEAR; fh 1291 lib/vfs/direntry.c vfs_file_handler_t *fh; fh 1359 lib/vfs/direntry.c fh = s->fh_new != NULL ? s->fh_new (ino, was_changed) : vfs_s_new_fh (ino, was_changed); fh 1366 lib/vfs/direntry.c fh->linear = LS_LINEAR_PREOPEN; fh 1371 lib/vfs/direntry.c if (s->fh_open != NULL && s->fh_open (me, fh, flags, mode) != 0) fh 1373 lib/vfs/direntry.c vfs_s_free_fh (s, fh); fh 1378 lib/vfs/direntry.c if ((VFS_CLASS (s)->flags & VFSF_USETMP) != 0 && fh->ino->localname != NULL) fh 1380 lib/vfs/direntry.c fh->handle = open (fh->ino->localname, NO_LINEAR (flags), mode); fh 1381 lib/vfs/direntry.c if (fh->handle == -1) fh 1383 lib/vfs/direntry.c vfs_s_free_fh (s, fh); fh 1392 lib/vfs/direntry.c fh->ino->st.st_nlink++; fh 1393 lib/vfs/direntry.c return fh; fh 1415 lib/vfs/direntry.c vfs_s_fstat (void *fh, struct stat *buf) fh 1417 lib/vfs/direntry.c *buf = VFS_FILE_HANDLER (fh)->ino->st; fh 1432 lib/vfs/direntry.c vfs_file_handler_t *fh = NULL; fh 1447 lib/vfs/direntry.c fh = s->fh_new != NULL ? s->fh_new (ino, FALSE) : vfs_s_new_fh (ino, FALSE); fh 1449 lib/vfs/direntry.c if (s->linear_start (me, fh, 0) == 0) fh 1456 lib/vfs/direntry.c while ((n = s->linear_read (me, fh, buffer, sizeof (buffer))) != 0) fh 1477 lib/vfs/direntry.c s->linear_close (me, fh); fh 1481 lib/vfs/direntry.c vfs_s_free_fh (s, fh); fh 1485 lib/vfs/direntry.c s->linear_close (me, fh); fh 1492 lib/vfs/direntry.c if (fh != NULL) fh 1493 lib/vfs/direntry.c vfs_s_free_fh (s, fh); fh 243 lib/vfs/vfs.h int vfs_s_fstat (void *fh, struct stat *buf); fh 137 lib/vfs/xdirentry.h int (*fh_open) (struct vfs_class * me, vfs_file_handler_t * fh, int flags, mode_t mode); fh 138 lib/vfs/xdirentry.h int (*fh_close) (struct vfs_class * me, vfs_file_handler_t * fh); fh 139 lib/vfs/xdirentry.h void (*fh_free) (vfs_file_handler_t * fh); fh 146 lib/vfs/xdirentry.h int (*file_store) (struct vfs_class * me, vfs_file_handler_t * fh, char *path, char *localname); fh 148 lib/vfs/xdirentry.h int (*linear_start) (struct vfs_class * me, vfs_file_handler_t * fh, off_t from); fh 149 lib/vfs/xdirentry.h ssize_t (*linear_read) (struct vfs_class * me, vfs_file_handler_t * fh, void *buf, size_t len); fh 150 lib/vfs/xdirentry.h void (*linear_close) (struct vfs_class * me, vfs_file_handler_t * fh); fh 186 lib/vfs/xdirentry.h void vfs_s_init_fh (vfs_file_handler_t * fh, struct vfs_s_inode *ino, gboolean changed); fh 844 src/vfs/cpio/cpio.c cpio_read (void *fh, char *buffer, size_t count) fh 846 src/vfs/cpio/cpio.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); fh 847 src/vfs/cpio/cpio.c struct vfs_class *me = VFS_FILE_HANDLER_SUPER (fh)->me; fh 848 src/vfs/cpio/cpio.c int fd = CPIO_SUPER (VFS_FILE_HANDLER_SUPER (fh))->fd; fh 868 src/vfs/cpio/cpio.c cpio_fh_open (struct vfs_class *me, vfs_file_handler_t *fh, int flags, mode_t mode) fh 870 src/vfs/cpio/cpio.c (void) fh; fh 1118 src/vfs/extfs/extfs.c extfs_read (void *fh, char *buffer, size_t count) fh 1120 src/vfs/extfs/extfs.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); fh 1128 src/vfs/extfs/extfs.c extfs_close (void *fh) fh 1130 src/vfs/extfs/extfs.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); fh 1142 src/vfs/extfs/extfs.c (" copyin ", EXTFS_SUPER (VFS_FILE_HANDLER_SUPER (fh)), file->ino->ent, fh 1154 src/vfs/extfs/extfs.c if (--VFS_FILE_HANDLER_SUPER (fh)->fd_usage == 0) fh 1155 src/vfs/extfs/extfs.c vfs_stamp_create (vfs_extfs_ops, VFS_FILE_HANDLER_SUPER (fh)); fh 1157 src/vfs/extfs/extfs.c g_free (fh); fh 1298 src/vfs/extfs/extfs.c extfs_fstat (void *fh, struct stat *buf) fh 1300 src/vfs/extfs/extfs.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); fh 1362 src/vfs/extfs/extfs.c extfs_write (void *fh, const char *buf, size_t nbyte) fh 1364 src/vfs/extfs/extfs.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); fh 1506 src/vfs/extfs/extfs.c extfs_lseek (void *fh, off_t offset, int whence) fh 1508 src/vfs/extfs/extfs.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); fh 1530 src/vfs/extfs/extfs.c vfs_file_handler_t *fh; fh 1533 src/vfs/extfs/extfs.c fh = VFS_FILE_HANDLER (extfs_open (vpath, O_RDONLY, 0)); fh 1534 src/vfs/extfs/extfs.c if (fh == NULL) fh 1536 src/vfs/extfs/extfs.c if (fh->ino->localname == NULL) fh 1538 src/vfs/extfs/extfs.c extfs_close ((void *) fh); fh 1541 src/vfs/extfs/extfs.c p = vfs_path_from_str (fh->ino->localname); fh 1542 src/vfs/extfs/extfs.c VFS_FILE_HANDLER_SUPER (fh)->fd_usage++; fh 1543 src/vfs/extfs/extfs.c extfs_close ((void *) fh); fh 1552 src/vfs/extfs/extfs.c vfs_file_handler_t *fh; fh 1554 src/vfs/extfs/extfs.c fh = VFS_FILE_HANDLER (extfs_open (vpath, O_RDONLY, 0)); fh 1555 src/vfs/extfs/extfs.c if (fh == NULL) fh 1558 src/vfs/extfs/extfs.c if (strcmp (fh->ino->localname, vfs_path_get_last_path_str (local)) == 0) fh 1560 src/vfs/extfs/extfs.c VFS_FILE_HANDLER_SUPER (fh)->fd_usage--; fh 1562 src/vfs/extfs/extfs.c fh->changed = TRUE; fh 1563 src/vfs/extfs/extfs.c extfs_close ((void *) fh); fh 1569 src/vfs/extfs/extfs.c extfs_close ((void *) fh); fh 158 src/vfs/ftpfs/ftpfs.c #define FTP_FILE_HANDLER(fh) ((ftp_file_handler_t *) (fh)) fh 159 src/vfs/ftpfs/ftpfs.c #define FH_SOCK FTP_FILE_HANDLER(fh)->sock fh 1518 src/vfs/ftpfs/ftpfs.c ftpfs_linear_abort (struct vfs_class *me, vfs_file_handler_t *fh) fh 1520 src/vfs/ftpfs/ftpfs.c struct vfs_s_super *super = VFS_FILE_HANDLER_SUPER (fh); fh 1921 src/vfs/ftpfs/ftpfs.c ftpfs_file_store (struct vfs_class *me, vfs_file_handler_t *fh, char *name, char *localname) fh 1923 src/vfs/ftpfs/ftpfs.c struct vfs_s_super *super = VFS_FILE_HANDLER_SUPER (fh); fh 1925 src/vfs/ftpfs/ftpfs.c ftp_file_handler_t *ftp = FTP_FILE_HANDLER (fh); fh 2029 src/vfs/ftpfs/ftpfs.c ftpfs_linear_start (struct vfs_class *me, vfs_file_handler_t *fh, off_t offset) fh 2033 src/vfs/ftpfs/ftpfs.c name = vfs_s_fullpath (me, fh->ino); fh 2038 src/vfs/ftpfs/ftpfs.c ftpfs_open_data_connection (me, VFS_FILE_HANDLER_SUPER (fh), "RETR", name, TYPE_BINARY, fh 2044 src/vfs/ftpfs/ftpfs.c fh->linear = LS_LINEAR_OPEN; fh 2045 src/vfs/ftpfs/ftpfs.c FTP_FILE_HANDLER (fh)->append = FALSE; fh 2052 src/vfs/ftpfs/ftpfs.c ftpfs_linear_read (struct vfs_class *me, vfs_file_handler_t *fh, void *buf, size_t len) fh 2055 src/vfs/ftpfs/ftpfs.c struct vfs_s_super *super = VFS_FILE_HANDLER_SUPER (fh); fh 2065 src/vfs/ftpfs/ftpfs.c ftpfs_linear_abort (me, fh); fh 2082 src/vfs/ftpfs/ftpfs.c ftpfs_linear_close (struct vfs_class *me, vfs_file_handler_t *fh) fh 2085 src/vfs/ftpfs/ftpfs.c ftpfs_linear_abort (me, fh); fh 2091 src/vfs/ftpfs/ftpfs.c ftpfs_ctl (void *fh, int ctlop, void *arg) fh 2099 src/vfs/ftpfs/ftpfs.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); fh 2299 src/vfs/ftpfs/ftpfs.c ftp_file_handler_t *fh; fh 2301 src/vfs/ftpfs/ftpfs.c fh = g_new0 (ftp_file_handler_t, 1); fh 2302 src/vfs/ftpfs/ftpfs.c vfs_s_init_fh (VFS_FILE_HANDLER (fh), ino, changed); fh 2303 src/vfs/ftpfs/ftpfs.c fh->sock = -1; fh 2305 src/vfs/ftpfs/ftpfs.c return VFS_FILE_HANDLER (fh); fh 2311 src/vfs/ftpfs/ftpfs.c ftpfs_fh_open (struct vfs_class *me, vfs_file_handler_t *fh, int flags, mode_t mode) fh 2313 src/vfs/ftpfs/ftpfs.c ftp_file_handler_t *ftp = FTP_FILE_HANDLER (fh); fh 2331 src/vfs/ftpfs/ftpfs.c if (FTP_SUPER (VFS_FILE_HANDLER_SUPER (fh))->ctl_connection_busy) fh 2333 src/vfs/ftpfs/ftpfs.c if (fh->ino->localname == NULL) fh 2338 src/vfs/ftpfs/ftpfs.c handle = vfs_mkstemps (&vpath, me->name, fh->ino->ent->name); fh 2343 src/vfs/ftpfs/ftpfs.c fh->ino->localname = vfs_path_free (vpath, FALSE); fh 2348 src/vfs/ftpfs/ftpfs.c name = vfs_s_fullpath (me, fh->ino); fh 2352 src/vfs/ftpfs/ftpfs.c fh->handle = fh 2353 src/vfs/ftpfs/ftpfs.c ftpfs_open_data_connection (me, VFS_FILE_HANDLER_SUPER (fh), fh 2358 src/vfs/ftpfs/ftpfs.c if (fh->handle < 0) fh 2365 src/vfs/ftpfs/ftpfs.c setsockopt (fh->handle, SOL_SOCKET, SO_LINGER, &li, sizeof (li)); fh 2367 src/vfs/ftpfs/ftpfs.c if (fh->ino->localname != NULL) fh 2369 src/vfs/ftpfs/ftpfs.c unlink (fh->ino->localname); fh 2370 src/vfs/ftpfs/ftpfs.c MC_PTR_FREE (fh->ino->localname); fh 2375 src/vfs/ftpfs/ftpfs.c if (fh->ino->localname == NULL && vfs_s_retrieve_file (me, fh->ino) == -1) fh 2378 src/vfs/ftpfs/ftpfs.c if (fh->ino->localname == NULL) fh 2386 src/vfs/ftpfs/ftpfs.c ftpfs_fh_close (struct vfs_class *me, vfs_file_handler_t *fh) fh 2388 src/vfs/ftpfs/ftpfs.c if (fh->handle != -1 && fh->ino->localname == NULL) fh 2390 src/vfs/ftpfs/ftpfs.c ftp_super_t *ftp = FTP_SUPER (VFS_FILE_HANDLER_SUPER (fh)); fh 2392 src/vfs/ftpfs/ftpfs.c close (fh->handle); fh 2393 src/vfs/ftpfs/ftpfs.c fh->handle = -1; fh 2398 src/vfs/ftpfs/ftpfs.c fh->changed = FALSE; fh 2401 src/vfs/ftpfs/ftpfs.c vfs_s_invalidate (me, VFS_FILE_HANDLER_SUPER (fh)); fh 70 src/vfs/sftpfs/file.c sftpfs_reopen (vfs_file_handler_t *fh, GError **mcerror) fh 72 src/vfs/sftpfs/file.c sftpfs_file_handler_t *file = SFTP_FILE_HANDLER (fh); fh 81 src/vfs/sftpfs/file.c sftpfs_close_file (fh, mcerror); fh 82 src/vfs/sftpfs/file.c sftpfs_open_file (fh, flags, mode, mcerror); fh 109 src/vfs/sftpfs/file.c sftpfs_file_handler_t *fh; fh 111 src/vfs/sftpfs/file.c fh = g_new0 (sftpfs_file_handler_t, 1); fh 112 src/vfs/sftpfs/file.c vfs_s_init_fh (VFS_FILE_HANDLER (fh), ino, changed); fh 114 src/vfs/sftpfs/file.c return VFS_FILE_HANDLER (fh); fh 129 src/vfs/sftpfs/file.c sftpfs_open_file (vfs_file_handler_t *fh, int flags, mode_t mode, GError **mcerror) fh 134 src/vfs/sftpfs/file.c sftpfs_file_handler_t *file = SFTP_FILE_HANDLER (fh); fh 135 src/vfs/sftpfs/file.c sftpfs_super_t *super = SFTP_SUPER (fh->ino->super); fh 142 src/vfs/sftpfs/file.c name = vfs_s_fullpath (vfs_sftpfs_ops, fh->ino); fh 206 src/vfs/sftpfs/file.c if (sftpfs_fstat (fh, &file_info, mcerror) == 0) fh 227 src/vfs/sftpfs/file.c vfs_file_handler_t *fh = VFS_FILE_HANDLER (data); fh 229 src/vfs/sftpfs/file.c struct vfs_s_super *super = VFS_FILE_HANDLER_SUPER (fh); fh 269 src/vfs/sftpfs/file.c sftpfs_read_file (vfs_file_handler_t *fh, char *buffer, size_t count, GError **mcerror) fh 272 src/vfs/sftpfs/file.c sftpfs_file_handler_t *file = SFTP_FILE_HANDLER (fh); fh 277 src/vfs/sftpfs/file.c if (fh == NULL) fh 284 src/vfs/sftpfs/file.c super = SFTP_SUPER (VFS_FILE_HANDLER_SUPER (fh)); fh 300 src/vfs/sftpfs/file.c fh->pos = (off_t) libssh2_sftp_tell64 (file->handle); fh 319 src/vfs/sftpfs/file.c sftpfs_write_file (vfs_file_handler_t *fh, const char *buffer, size_t count, GError **mcerror) fh 322 src/vfs/sftpfs/file.c sftpfs_file_handler_t *file = SFTP_FILE_HANDLER (fh); fh 323 src/vfs/sftpfs/file.c sftpfs_super_t *super = SFTP_SUPER (VFS_FILE_HANDLER_SUPER (fh)); fh 327 src/vfs/sftpfs/file.c fh->pos = (off_t) libssh2_sftp_tell64 (file->handle); fh 358 src/vfs/sftpfs/file.c sftpfs_close_file (vfs_file_handler_t *fh, GError **mcerror) fh 364 src/vfs/sftpfs/file.c ret = libssh2_sftp_close (SFTP_FILE_HANDLER (fh)->handle); fh 383 src/vfs/sftpfs/file.c sftpfs_lseek (vfs_file_handler_t *fh, off_t offset, int whence, GError **mcerror) fh 385 src/vfs/sftpfs/file.c sftpfs_file_handler_t *file = SFTP_FILE_HANDLER (fh); fh 396 src/vfs/sftpfs/file.c if (fh->pos > offset || offset == 0) fh 398 src/vfs/sftpfs/file.c sftpfs_reopen (fh, mcerror); fh 401 src/vfs/sftpfs/file.c fh->pos = offset; fh 404 src/vfs/sftpfs/file.c fh->pos += offset; fh 407 src/vfs/sftpfs/file.c if (fh->pos > fh->ino->st.st_size - offset) fh 409 src/vfs/sftpfs/file.c sftpfs_reopen (fh, mcerror); fh 412 src/vfs/sftpfs/file.c fh->pos = fh->ino->st.st_size - offset; fh 418 src/vfs/sftpfs/file.c libssh2_sftp_seek64 (file->handle, fh->pos); fh 419 src/vfs/sftpfs/file.c fh->pos = (off_t) libssh2_sftp_tell64 (file->handle); fh 421 src/vfs/sftpfs/file.c return fh->pos; fh 104 src/vfs/sftpfs/internal.h gboolean sftpfs_open_file (vfs_file_handler_t * fh, int flags, mode_t mode, GError ** mcerror); fh 105 src/vfs/sftpfs/internal.h ssize_t sftpfs_read_file (vfs_file_handler_t * fh, char *buffer, size_t count, GError ** mcerror); fh 106 src/vfs/sftpfs/internal.h ssize_t sftpfs_write_file (vfs_file_handler_t * fh, const char *buffer, size_t count, fh 108 src/vfs/sftpfs/internal.h int sftpfs_close_file (vfs_file_handler_t * fh, GError ** mcerror); fh 110 src/vfs/sftpfs/internal.h off_t sftpfs_lseek (vfs_file_handler_t * fh, off_t offset, int whence, GError ** mcerror); fh 109 src/vfs/sftpfs/sftpfs.c vfs_file_handler_t *fh; fh 156 src/vfs/sftpfs/sftpfs.c fh = sftpfs_fh_new (path_inode, is_changed); fh 158 src/vfs/sftpfs/sftpfs.c if (!sftpfs_open_file (fh, flags, mode, &mcerror)) fh 161 src/vfs/sftpfs/sftpfs.c g_free (fh); fh 167 src/vfs/sftpfs/sftpfs.c fh->ino->st.st_nlink++; fh 168 src/vfs/sftpfs/sftpfs.c return fh; fh 441 src/vfs/sftpfs/sftpfs.c vfs_file_handler_t *fh = VFS_FILE_HANDLER (data); fh 449 src/vfs/sftpfs/sftpfs.c rc = sftpfs_read_file (fh, buffer, count, &mcerror); fh 469 src/vfs/sftpfs/sftpfs.c vfs_file_handler_t *fh = VFS_FILE_HANDLER (data); fh 471 src/vfs/sftpfs/sftpfs.c rc = sftpfs_write_file (fh, buf, nbyte, &mcerror); fh 490 src/vfs/sftpfs/sftpfs.c vfs_file_handler_t *fh = VFS_FILE_HANDLER (data); fh 496 src/vfs/sftpfs/sftpfs.c rc = sftpfs_close_file (fh, &mcerror); fh 499 src/vfs/sftpfs/sftpfs.c if (fh->handle != -1) fh 500 src/vfs/sftpfs/sftpfs.c close (fh->handle); fh 502 src/vfs/sftpfs/sftpfs.c vfs_s_free_inode (vfs_sftpfs_ops, fh->ino); fh 580 src/vfs/sftpfs/sftpfs.c vfs_file_handler_t *fh = VFS_FILE_HANDLER (data); fh 583 src/vfs/sftpfs/sftpfs.c ret_offset = sftpfs_lseek (fh, offset, whence, &mcerror); fh 120 src/vfs/shell/shell.c #define SHELL_FILE_HANDLER(fh) ((shell_file_handler_t *) fh) fh 982 src/vfs/shell/shell.c shell_file_store (struct vfs_class *me, vfs_file_handler_t *fh, char *name, char *localname) fh 984 src/vfs/shell/shell.c shell_file_handler_t *shell = SHELL_FILE_HANDLER (fh); fh 985 src/vfs/shell/shell.c struct vfs_s_super *super = VFS_FILE_HANDLER_SUPER (fh); fh 1094 src/vfs/shell/shell.c shell_linear_start (struct vfs_class *me, vfs_file_handler_t *fh, off_t offset) fh 1096 src/vfs/shell/shell.c shell_file_handler_t *shell = SHELL_FILE_HANDLER (fh); fh 1097 src/vfs/shell/shell.c struct vfs_s_super *super = VFS_FILE_HANDLER_SUPER (fh); fh 1101 src/vfs/shell/shell.c name = vfs_s_fullpath (me, fh->ino); fh 1123 src/vfs/shell/shell.c fh->linear = LS_LINEAR_OPEN; fh 1139 src/vfs/shell/shell.c shell_linear_abort (struct vfs_class *me, vfs_file_handler_t *fh) fh 1141 src/vfs/shell/shell.c shell_file_handler_t *shell = SHELL_FILE_HANDLER (fh); fh 1142 src/vfs/shell/shell.c struct vfs_s_super *super = VFS_FILE_HANDLER_SUPER (fh); fh 1170 src/vfs/shell/shell.c shell_linear_read (struct vfs_class *me, vfs_file_handler_t *fh, void *buf, size_t len) fh 1172 src/vfs/shell/shell.c shell_file_handler_t *shell = SHELL_FILE_HANDLER (fh); fh 1173 src/vfs/shell/shell.c struct vfs_s_super *super = VFS_FILE_HANDLER_SUPER (fh); fh 1189 src/vfs/shell/shell.c shell_linear_abort (me, fh); fh 1198 src/vfs/shell/shell.c shell_linear_close (struct vfs_class *me, vfs_file_handler_t *fh) fh 1200 src/vfs/shell/shell.c shell_file_handler_t *shell = SHELL_FILE_HANDLER (fh); fh 1203 src/vfs/shell/shell.c shell_linear_abort (me, fh); fh 1209 src/vfs/shell/shell.c shell_ctl (void *fh, int ctlop, void *arg) fh 1212 src/vfs/shell/shell.c (void) fh; fh 1222 src/vfs/shell/shell.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); fh 1230 src/vfs/shell/shell.c v = vfs_s_select_on_two (VFS_FILE_HANDLER_SUPER (fh)->u.shell.sockr, 0); fh 1627 src/vfs/shell/shell.c shell_file_handler_t *fh; fh 1629 src/vfs/shell/shell.c fh = g_new0 (shell_file_handler_t, 1); fh 1630 src/vfs/shell/shell.c vfs_s_init_fh (VFS_FILE_HANDLER (fh), ino, changed); fh 1632 src/vfs/shell/shell.c return VFS_FILE_HANDLER (fh); fh 1638 src/vfs/shell/shell.c shell_fh_open (struct vfs_class *me, vfs_file_handler_t *fh, int flags, mode_t mode) fh 1640 src/vfs/shell/shell.c shell_file_handler_t *shell = SHELL_FILE_HANDLER (fh); fh 1651 src/vfs/shell/shell.c if (fh->ino->localname == NULL) fh 1656 src/vfs/shell/shell.c tmp_handle = vfs_mkstemps (&vpath, me->name, fh->ino->ent->name); fh 1660 src/vfs/shell/shell.c fh->ino->localname = vfs_path_free (vpath, FALSE); fh 1666 src/vfs/shell/shell.c if (fh->ino->localname == NULL && vfs_s_retrieve_file (me, fh->ino) == -1) fh 1669 src/vfs/shell/shell.c if (fh->ino->localname == NULL) fh 1130 src/vfs/tar/tar.c tar_read_sparse (vfs_file_handler_t *fh, char *buffer, size_t count) fh 1132 src/vfs/tar/tar.c int fd = TAR_SUPER (fh->ino->super)->fd; fh 1133 src/vfs/tar/tar.c const GArray *sm = (const GArray *) fh->ino->user_data; fh 1139 src/vfs/tar/tar.c chunk_idx = tar_get_sparse_chunk_idx (sm, fh->pos); fh 1144 src/vfs/tar/tar.c remain = MIN ((off_t) count, chunk->offset + chunk->numbytes - fh->pos); fh 1152 src/vfs/tar/tar.c remain = MIN ((off_t) count, fh->ino->st.st_size - fh->pos); fh 1160 src/vfs/tar/tar.c remain = MIN ((off_t) count, chunk->offset - fh->pos); fh 1173 src/vfs/tar/tar.c tar_lseek_sparse (vfs_file_handler_t *fh, off_t offset) fh 1176 src/vfs/tar/tar.c int fd = TAR_SUPER (fh->ino->super)->fd; fh 1177 src/vfs/tar/tar.c const GArray *sm = (const GArray *) fh->ino->user_data; fh 1201 src/vfs/tar/tar.c offset = fh->ino->data_offset; fh 1228 src/vfs/tar/tar.c tar_read (void *fh, char *buffer, size_t count) fh 1230 src/vfs/tar/tar.c struct vfs_class *me = VFS_FILE_HANDLER_SUPER (fh)->me; fh 1231 src/vfs/tar/tar.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); fh 1232 src/vfs/tar/tar.c int fd = TAR_SUPER (VFS_FILE_HANDLER_SUPER (fh))->fd; fh 1264 src/vfs/tar/tar.c tar_fh_open (struct vfs_class *me, vfs_file_handler_t *fh, int flags, mode_t mode) fh 1266 src/vfs/tar/tar.c (void) fh;