super 166 lib/vfs/direntry.c VFS_SUBCLASS (me)->find_entry (me, entry->dir->super->root, linkname, follow - 1, FL_NONE); super 247 lib/vfs/direntry.c if (root->super->root != root) super 260 lib/vfs/direntry.c ino = vfs_s_find_inode (me, root->super, dirname, follow, flags | FL_DIR); super 284 lib/vfs/direntry.c ino = vfs_s_new_inode (me, root->super, vfs_s_default_stat (me, S_IFDIR | 0755)); super 319 lib/vfs/direntry.c struct vfs_s_super *super; super 321 lib/vfs/direntry.c super = g_new0 (struct vfs_s_super, 1); super 322 lib/vfs/direntry.c super->me = me; super 323 lib/vfs/direntry.c return super; super 329 lib/vfs/direntry.c vfs_s_insert_super (struct vfs_class *me, struct vfs_s_super *super) super 331 lib/vfs/direntry.c VFS_SUBCLASS (me)->supers = g_list_prepend (VFS_SUBCLASS (me)->supers, super); super 337 lib/vfs/direntry.c vfs_s_free_super (struct vfs_class *me, struct vfs_s_super *super) super 339 lib/vfs/direntry.c if (super->root != NULL) super 341 lib/vfs/direntry.c vfs_s_free_inode (me, super->root); super 342 lib/vfs/direntry.c super->root = NULL; super 347 lib/vfs/direntry.c if (super->ino_usage != 0) super 349 lib/vfs/direntry.c "Super ino_usage is %d, memory leak", super->ino_usage); super 351 lib/vfs/direntry.c if (super->want_stale) super 355 lib/vfs/direntry.c VFS_SUBCLASS (me)->supers = g_list_remove (VFS_SUBCLASS (me)->supers, super); super 357 lib/vfs/direntry.c CALL (free_archive) (me, super); super 359 lib/vfs/direntry.c vfs_path_element_free (super->path_element); super 361 lib/vfs/direntry.c g_free (super->name); super 362 lib/vfs/direntry.c g_free (super); super 396 lib/vfs/direntry.c struct vfs_s_super *super; super 401 lib/vfs/direntry.c q = vfs_s_get_path (vpath, &super, 0); super 407 lib/vfs/direntry.c ino = vfs_s_find_inode (me, super, q, (flags & FL_FOLLOW) != 0 ? LINK_FOLLOW : LINK_NO_FOLLOW, super 412 lib/vfs/direntry.c vfs_s_find_inode (me, super, q, (flags & FL_FOLLOW) != 0 ? LINK_FOLLOW : LINK_NO_FOLLOW, super 484 lib/vfs/direntry.c vfs_s_free_inode (dir->super->me, dir); super 656 lib/vfs/direntry.c struct vfs_s_super *super = VFS_FILE_HANDLER_SUPER (fh); super 657 lib/vfs/direntry.c struct vfs_class *me = super->me; super 664 lib/vfs/direntry.c super->fd_usage--; super 665 lib/vfs/direntry.c if (super->fd_usage == 0) super 685 lib/vfs/direntry.c vfs_s_invalidate (me, super); super 724 lib/vfs/direntry.c const struct vfs_s_super *super = (const struct vfs_s_super *) iter->data; super 727 lib/vfs/direntry.c name = g_strconcat (super->name, PATH_SEP_STR, me->prefix, VFS_PATH_URL_DELIMITER, super 807 lib/vfs/direntry.c ino->super->want_stale = TRUE; super 810 lib/vfs/direntry.c ino->super->want_stale = FALSE; super 811 lib/vfs/direntry.c vfs_s_invalidate (me, ino->super); super 878 lib/vfs/direntry.c vfs_s_new_inode (struct vfs_class *me, struct vfs_s_super *super, struct stat *initstat) super 888 lib/vfs/direntry.c ino->super = super; super 894 lib/vfs/direntry.c super->ino_usage++; super 934 lib/vfs/direntry.c ino->super->ino_usage--; super 1076 lib/vfs/direntry.c inode = vfs_s_new_inode (me, parent->super, st); super 1084 lib/vfs/direntry.c vfs_s_find_inode (struct vfs_class *me, const struct vfs_s_super *super, const char *path, super 1090 lib/vfs/direntry.c return super->root; super 1092 lib/vfs/direntry.c ent = VFS_SUBCLASS (me)->find_entry (me, super->root, path, follow, flags); super 1113 lib/vfs/direntry.c struct vfs_s_super *super = NULL; super 1136 lib/vfs/direntry.c super = VFS_SUPER (iter->data); super 1139 lib/vfs/direntry.c i = subclass->archive_same (path_element, super, vpath_archive, cookie); super 1145 lib/vfs/direntry.c super = NULL; super 1150 lib/vfs/direntry.c return super; super 1168 lib/vfs/direntry.c struct vfs_s_super *super; super 1177 lib/vfs/direntry.c super = vfs_get_super_by_vpath (vpath); super 1178 lib/vfs/direntry.c if (super != NULL) super 1189 lib/vfs/direntry.c super = subclass->new_archive != NULL ? subclass->new_archive (path_element->class) super 1199 lib/vfs/direntry.c result = subclass->open_archive (super, vpath_archive, path_element); super 1204 lib/vfs/direntry.c vfs_s_free_super (path_element->class, super); super 1208 lib/vfs/direntry.c if (super->name == NULL) super 1210 lib/vfs/direntry.c if (super->root == NULL) super 1213 lib/vfs/direntry.c vfs_s_insert_super (path_element->class, super); super 1214 lib/vfs/direntry.c vfs_stamp_create (path_element->class, super); super 1217 lib/vfs/direntry.c *archive = super; super 1224 lib/vfs/direntry.c vfs_s_invalidate (struct vfs_class *me, struct vfs_s_super *super) super 1226 lib/vfs/direntry.c if (!super->want_stale) super 1228 lib/vfs/direntry.c vfs_s_free_inode (me, super->root); super 1229 lib/vfs/direntry.c super->root = vfs_s_new_inode (me, super, vfs_s_default_stat (me, S_IFDIR | 0755)); super 1253 lib/vfs/direntry.c if (ino == ino->super->root) super 1289 lib/vfs/direntry.c struct vfs_s_super *super; super 1295 lib/vfs/direntry.c q = vfs_s_get_path (vpath, &super, 0); super 1301 lib/vfs/direntry.c ino = vfs_s_find_inode (me, super, q, LINK_FOLLOW, FL_NONE); super 1321 lib/vfs/direntry.c dir = vfs_s_find_inode (me, super, name, LINK_FOLLOW, FL_DIR); super 1387 lib/vfs/direntry.c vfs_rmstamp (me, (vfsid) super); super 1388 lib/vfs/direntry.c super->fd_usage++; super 659 lib/vfs/interface.c struct vfs_s_super *super; super 661 lib/vfs/interface.c super = vfs_get_super_by_vpath (vpath); super 662 lib/vfs/interface.c if (super != NULL && super->path_element != NULL) super 664 lib/vfs/interface.c g_free (super->path_element->path); super 665 lib/vfs/interface.c super->path_element->path = g_strdup (path_element->path); super 50 lib/vfs/xdirentry.h #define VFS_FILE_HANDLER_SUPER(a) VFS_FILE_HANDLER (a)->ino->super super 93 lib/vfs/xdirentry.h struct vfs_s_super *super; // Archive the file is on super 161 lib/vfs/xdirentry.h struct vfs_s_inode *vfs_s_new_inode (struct vfs_class *me, struct vfs_s_super *super, super 174 lib/vfs/xdirentry.h struct vfs_s_inode *vfs_s_find_inode (struct vfs_class *me, const struct vfs_s_super *super, super 184 lib/vfs/xdirentry.h void vfs_s_invalidate (struct vfs_class *me, struct vfs_s_super *super); super 55 src/vfs/cpio/cpio.c #define CPIO_SUPER(super) ((cpio_super_t *) (super)) super 57 src/vfs/cpio/cpio.c #define CPIO_POS(super) cpio_position super 61 src/vfs/cpio/cpio.c #define CPIO_SEEK_SET(super, where) \ super 62 src/vfs/cpio/cpio.c mc_lseek (CPIO_SUPER (super)->fd, CPIO_POS (super) = (where), SEEK_SET) super 63 src/vfs/cpio/cpio.c #define CPIO_SEEK_CUR(super, where) \ super 64 src/vfs/cpio/cpio.c mc_lseek (CPIO_SUPER (super)->fd, CPIO_POS (super) += (where), SEEK_SET) super 67 src/vfs/cpio/cpio.c #define SEEKBACK CPIO_SEEK_CUR (super, ptr - top) super 68 src/vfs/cpio/cpio.c #define RETURN(x) return (CPIO_SUPER (super)->type = (x)) super 69 src/vfs/cpio/cpio.c #define TYPEIS(x) ((CPIO_SUPER (super)->type == CPIO_UNKNOWN) || (CPIO_SUPER (super)->type == (x))) super 146 src/vfs/cpio/cpio.c static ssize_t cpio_find_head (struct vfs_class *me, struct vfs_s_super *super); super 147 src/vfs/cpio/cpio.c static ssize_t cpio_read_bin_head (struct vfs_class *me, struct vfs_s_super *super); super 148 src/vfs/cpio/cpio.c static ssize_t cpio_read_oldc_head (struct vfs_class *me, struct vfs_s_super *super); super 149 src/vfs/cpio/cpio.c static ssize_t cpio_read_crc_head (struct vfs_class *me, struct vfs_s_super *super); super 174 src/vfs/cpio/cpio.c cpio_skip_padding (struct vfs_s_super *super) super 176 src/vfs/cpio/cpio.c switch (CPIO_SUPER (super)->type) super 180 src/vfs/cpio/cpio.c return CPIO_SEEK_CUR (super, (2 - (CPIO_POS (super) % 2)) % 2); super 183 src/vfs/cpio/cpio.c return CPIO_SEEK_CUR (super, (4 - (CPIO_POS (super) % 4)) % 4); super 185 src/vfs/cpio/cpio.c return CPIO_POS (super); super 210 src/vfs/cpio/cpio.c cpio_free_archive (struct vfs_class *me, struct vfs_s_super *super) super 212 src/vfs/cpio/cpio.c cpio_super_t *arch = CPIO_SUPER (super); super 228 src/vfs/cpio/cpio.c cpio_open_cpio_file (struct vfs_class *me, struct vfs_s_super *super, const vfs_path_t *vpath) super 242 src/vfs/cpio/cpio.c super->name = g_strdup (vfs_path_as_str (vpath)); super 243 src/vfs/cpio/cpio.c arch = CPIO_SUPER (super); super 246 src/vfs/cpio/cpio.c type = get_compression_type (fd, super->name); super 255 src/vfs/cpio/cpio.c s = g_strconcat (super->name, decompress_extension (type), (char *) NULL); super 263 src/vfs/cpio/cpio.c MC_PTR_FREE (super->name); super 274 src/vfs/cpio/cpio.c root = vfs_s_new_inode (me, super, &arch->st); super 280 src/vfs/cpio/cpio.c super->root = root; super 282 src/vfs/cpio/cpio.c CPIO_SEEK_SET (super, 0); super 290 src/vfs/cpio/cpio.c cpio_read_head (struct vfs_class *me, struct vfs_s_super *super) super 292 src/vfs/cpio/cpio.c switch (cpio_find_head (me, super)) super 298 src/vfs/cpio/cpio.c return cpio_read_bin_head (me, super); super 300 src/vfs/cpio/cpio.c return cpio_read_oldc_head (me, super); super 303 src/vfs/cpio/cpio.c return cpio_read_crc_head (me, super); super 313 src/vfs/cpio/cpio.c cpio_find_head (struct vfs_class *me, struct vfs_s_super *super) super 315 src/vfs/cpio/cpio.c cpio_super_t *arch = CPIO_SUPER (super); super 323 src/vfs/cpio/cpio.c CPIO_POS (super) += top; super 338 src/vfs/cpio/cpio.c message (D_ERROR, MSG_ERROR, _ ("Premature end of cpio archive\n%s"), super->name); super 339 src/vfs/cpio/cpio.c cpio_free_archive (me, super); super 377 src/vfs/cpio/cpio.c cpio_create_entry (struct vfs_class *me, struct vfs_s_super *super, struct stat *st, char *name) super 379 src/vfs/cpio/cpio.c cpio_super_t *arch = CPIO_SUPER (super); super 381 src/vfs/cpio/cpio.c struct vfs_s_inode *root = super->root; super 424 src/vfs/cpio/cpio.c super->name); super 447 src/vfs/cpio/cpio.c root = vfs_s_find_inode (me, super, name, LINK_FOLLOW, FL_MKDIR); super 465 src/vfs/cpio/cpio.c super->name); super 488 src/vfs/cpio/cpio.c inode = vfs_s_new_inode (me, super, st); super 504 src/vfs/cpio/cpio.c inode->data_offset = CPIO_POS (super); super 513 src/vfs/cpio/cpio.c CPIO_SEEK_CUR (super, st->st_size); super 532 src/vfs/cpio/cpio.c CPIO_POS (super) += st->st_size; super 533 src/vfs/cpio/cpio.c cpio_skip_padding (super); super 543 src/vfs/cpio/cpio.c cpio_read_bin_head (struct vfs_class *me, struct vfs_s_super *super) super 551 src/vfs/cpio/cpio.c cpio_super_t *arch = CPIO_SUPER (super); super 559 src/vfs/cpio/cpio.c CPIO_POS (super) += len; super 570 src/vfs/cpio/cpio.c message (D_ERROR, MSG_ERROR, _ ("Corrupted cpio header encountered in\n%s"), super->name); super 581 src/vfs/cpio/cpio.c CPIO_POS (super) += len; super 582 src/vfs/cpio/cpio.c cpio_skip_padding (super); super 606 src/vfs/cpio/cpio.c return cpio_create_entry (me, super, &st, name); super 615 src/vfs/cpio/cpio.c cpio_read_oldc_head (struct vfs_class *me, struct vfs_s_super *super) super 617 src/vfs/cpio/cpio.c cpio_super_t *arch = CPIO_SUPER (super); super 629 src/vfs/cpio/cpio.c CPIO_POS (super) += HEAD_LENGTH; super 638 src/vfs/cpio/cpio.c message (D_ERROR, MSG_ERROR, _ ("Corrupted cpio header encountered in\n%s"), super->name); super 644 src/vfs/cpio/cpio.c message (D_ERROR, MSG_ERROR, _ ("Corrupted cpio header encountered in\n%s"), super->name); super 655 src/vfs/cpio/cpio.c CPIO_POS (super) += len; super 656 src/vfs/cpio/cpio.c cpio_skip_padding (super); super 678 src/vfs/cpio/cpio.c return cpio_create_entry (me, super, &u.st, name); super 687 src/vfs/cpio/cpio.c cpio_read_crc_head (struct vfs_class *me, struct vfs_s_super *super) super 689 src/vfs/cpio/cpio.c cpio_super_t *arch = CPIO_SUPER (super); super 702 src/vfs/cpio/cpio.c CPIO_POS (super) += HEAD_LENGTH; super 712 src/vfs/cpio/cpio.c message (D_ERROR, MSG_ERROR, _ ("Corrupted cpio header encountered in\n%s"), super->name); super 722 src/vfs/cpio/cpio.c message (D_ERROR, MSG_ERROR, _ ("Corrupted cpio header encountered in\n%s"), super->name); super 735 src/vfs/cpio/cpio.c CPIO_POS (super) += len; super 736 src/vfs/cpio/cpio.c cpio_skip_padding (super); super 758 src/vfs/cpio/cpio.c return cpio_create_entry (me, super, &u.st, name); super 765 src/vfs/cpio/cpio.c cpio_open_archive (struct vfs_s_super *super, const vfs_path_t *vpath, super 770 src/vfs/cpio/cpio.c if (cpio_open_cpio_file (vpath_element->class, super, vpath) == -1) super 777 src/vfs/cpio/cpio.c status = cpio_read_head (vpath_element->class, super); super 128 src/vfs/extfs/extfs.c struct extfs_super_t *super; super 131 src/vfs/extfs/extfs.c super = g_new0 (struct extfs_super_t, 1); super 132 src/vfs/extfs/extfs.c vsuper = VFS_SUPER (super); super 137 src/vfs/extfs/extfs.c super->fstype = fstype; super 141 src/vfs/extfs/extfs.c super->local_name = g_strdup (vfs_path_get_last_path_str (local_name_vpath)); super 142 src/vfs/extfs/extfs.c mc_stat (local_name_vpath, &super->local_stat); super 145 src/vfs/extfs/extfs.c VFS_SUBCLASS (me)->supers = g_list_prepend (VFS_SUBCLASS (me)->supers, super); super 147 src/vfs/extfs/extfs.c return super; super 238 src/vfs/extfs/extfs.c struct extfs_super_t *super; super 244 src/vfs/extfs/extfs.c dir = dir->super->root; super 247 src/vfs/extfs/extfs.c super = EXTFS_SUPER (dir->super); super 294 src/vfs/extfs/extfs.c pent = extfs_generate_entry (super, p, pdir->ino, S_IFDIR | 0777); super 296 src/vfs/extfs/extfs.c pent = extfs_generate_entry (super, p, pdir->ino, S_IFREG | 0666); super 403 src/vfs/extfs/extfs.c struct vfs_s_super *super = VFS_SUPER (archive); super 439 src/vfs/extfs/extfs.c pent = extfs_find_entry (super->root, q, FL_MKDIR); super 449 src/vfs/extfs/extfs.c entry = extfs_entry_new (super->me, p, pent->ino); super 455 src/vfs/extfs/extfs.c entry = extfs_entry_new (super->me, p, super->root); super 456 src/vfs/extfs/extfs.c entry->dir = super->root; super 457 src/vfs/extfs/extfs.c g_queue_push_tail (super->root->subdir, entry); super 462 src/vfs/extfs/extfs.c pent = extfs_find_entry (super->root, current_link_name, FL_NONE); super 477 src/vfs/extfs/extfs.c st.st_ino = super->ino_usage++; super 494 src/vfs/extfs/extfs.c inode = vfs_s_new_inode (super->me, super, &st); super 157 src/vfs/ftpfs/ftpfs.c #define FTP_SUPER(super) ((ftp_super_t *) (super)) super 237 src/vfs/ftpfs/ftpfs.c static char *ftpfs_get_current_directory (struct vfs_class *me, struct vfs_s_super *super); super 238 src/vfs/ftpfs/ftpfs.c static int ftpfs_chdir_internal (struct vfs_class *me, struct vfs_s_super *super, super 240 src/vfs/ftpfs/ftpfs.c static int ftpfs_open_socket (struct vfs_class *me, struct vfs_s_super *super); super 241 src/vfs/ftpfs/ftpfs.c static gboolean ftpfs_login_server (struct vfs_class *me, struct vfs_s_super *super, super 301 src/vfs/ftpfs/ftpfs.c ftpfs_translate_path (struct vfs_class *me, struct vfs_s_super *super, const char *remote_path) super 305 src/vfs/ftpfs/ftpfs.c if (!FTP_SUPER (super)->remote_is_amiga) super 440 src/vfs/ftpfs/ftpfs.c ftpfs_reconnect (struct vfs_class *me, struct vfs_s_super *super) super 442 src/vfs/ftpfs/ftpfs.c ftp_super_t *ftp_super = FTP_SUPER (super); super 445 src/vfs/ftpfs/ftpfs.c sock = ftpfs_open_socket (me, super); super 454 src/vfs/ftpfs/ftpfs.c if (ftpfs_login_server (me, super, super->path_element->password)) super 459 src/vfs/ftpfs/ftpfs.c sock = ftpfs_chdir_internal (me, super, cwdir); super 473 src/vfs/ftpfs/ftpfs.c ftpfs_command (struct vfs_class *me, struct vfs_s_super *super, int wait_reply, const char *fmt, super 476 src/vfs/ftpfs/ftpfs.c ftp_super_t *ftp_super = FTP_SUPER (super); super 517 src/vfs/ftpfs/ftpfs.c status = ftpfs_reconnect (me, super) ? 1 : 0; super 543 src/vfs/ftpfs/ftpfs.c status = ftpfs_reconnect (me, super) ? 1 : 0; super 578 src/vfs/ftpfs/ftpfs.c ftpfs_free_archive (struct vfs_class *me, struct vfs_s_super *super) super 580 src/vfs/ftpfs/ftpfs.c ftp_super_t *ftp_super = FTP_SUPER (super); super 584 src/vfs/ftpfs/ftpfs.c vfs_print_message (_ ("ftpfs: Disconnecting from %s"), super->path_element->host); super 585 src/vfs/ftpfs/ftpfs.c ftpfs_command (me, super, NONE, "%s", "QUIT"); super 594 src/vfs/ftpfs/ftpfs.c ftpfs_changetype (struct vfs_class *me, struct vfs_s_super *super, int binary) super 596 src/vfs/ftpfs/ftpfs.c if (binary != FTP_SUPER (super)->isbinary) super 598 src/vfs/ftpfs/ftpfs.c if (ftpfs_command (me, super, WAIT_REPLY, "TYPE %c", binary ? 'I' : 'A') != COMPLETE) super 600 src/vfs/ftpfs/ftpfs.c FTP_SUPER (super)->isbinary = binary; super 609 src/vfs/ftpfs/ftpfs.c ftpfs_login_server (struct vfs_class *me, struct vfs_s_super *super, const char *netrcpass) super 611 src/vfs/ftpfs/ftpfs.c ftp_super_t *ftp_super = FTP_SUPER (super); super 620 src/vfs/ftpfs/ftpfs.c if (super->path_element->password != NULL) // explicit password super 621 src/vfs/ftpfs/ftpfs.c op = g_strdup (super->path_element->password); super 624 src/vfs/ftpfs/ftpfs.c else if (strcmp (super->path_element->user, "anonymous") == 0 super 625 src/vfs/ftpfs/ftpfs.c || strcmp (super->path_element->user, "ftp") == 0) super 636 src/vfs/ftpfs/ftpfs.c p = g_strdup_printf (_ ("FTP: Password required for %s"), super->path_element->user); super 641 src/vfs/ftpfs/ftpfs.c super->path_element->password = g_strdup (op); super 654 src/vfs/ftpfs/ftpfs.c name = g_strconcat (super->path_element->user, "@", super 655 src/vfs/ftpfs/ftpfs.c super->path_element->host[0] == '!' ? super->path_element->host + 1 super 656 src/vfs/ftpfs/ftpfs.c : super->path_element->host, super 659 src/vfs/ftpfs/ftpfs.c name = g_strdup (super->path_element->user); super 681 src/vfs/ftpfs/ftpfs.c switch (ftpfs_command (me, super, WAIT_REPLY, "USER %s", name)) super 685 src/vfs/ftpfs/ftpfs.c code = ftpfs_command (me, super, WAIT_REPLY, "PASS %s", pass); super 691 src/vfs/ftpfs/ftpfs.c super->path_element->user); super 698 src/vfs/ftpfs/ftpfs.c code = ftpfs_command (me, super, WAIT_REPLY, "ACCT %s", op); super 714 src/vfs/ftpfs/ftpfs.c wipe_password (super->path_element->password); super 715 src/vfs/ftpfs/ftpfs.c super->path_element->password = NULL; super 721 src/vfs/ftpfs/ftpfs.c super->path_element->user); super 843 src/vfs/ftpfs/ftpfs.c ftpfs_open_socket (struct vfs_class *me, struct vfs_s_super *super) super 854 src/vfs/ftpfs/ftpfs.c if (super->path_element->host == NULL || *super->path_element->host == '\0') super 863 src/vfs/ftpfs/ftpfs.c if (FTP_SUPER (super)->proxy != NULL) super 867 src/vfs/ftpfs/ftpfs.c host = g_strdup (super->path_element->host); super 868 src/vfs/ftpfs/ftpfs.c tmp_port = super->path_element->port; super 955 src/vfs/ftpfs/ftpfs.c ftpfs_open_archive_int (struct vfs_class *me, struct vfs_s_super *super) super 957 src/vfs/ftpfs/ftpfs.c ftp_super_t *ftp_super = FTP_SUPER (super); super 968 src/vfs/ftpfs/ftpfs.c ftp_super->sock = ftpfs_open_socket (me, super); super 972 src/vfs/ftpfs/ftpfs.c if (ftpfs_login_server (me, super, NULL)) super 1006 src/vfs/ftpfs/ftpfs.c ftp_super->current_dir = ftpfs_get_current_directory (me, super); super 1016 src/vfs/ftpfs/ftpfs.c ftpfs_open_archive (struct vfs_s_super *super, const vfs_path_t *vpath, super 1021 src/vfs/ftpfs/ftpfs.c super->path_element = ftpfs_correct_url_parameters (vpath_element); super 1022 src/vfs/ftpfs/ftpfs.c if (ftpfs_check_proxy (super->path_element->host)) super 1023 src/vfs/ftpfs/ftpfs.c FTP_SUPER (super)->proxy = ftpfs_proxy_host; super 1024 src/vfs/ftpfs/ftpfs.c super->root = super 1025 src/vfs/ftpfs/ftpfs.c vfs_s_new_inode (vpath_element->class, super, ftpfs_default_stat (vpath_element->class)); super 1027 src/vfs/ftpfs/ftpfs.c return ftpfs_open_archive_int (vpath_element->class, super); super 1033 src/vfs/ftpfs/ftpfs.c ftpfs_archive_same (const vfs_path_element_t *vpath_element, struct vfs_s_super *super, super 1044 src/vfs/ftpfs/ftpfs.c result = ((strcmp (path_element->host, super->path_element->host) == 0) super 1045 src/vfs/ftpfs/ftpfs.c && (strcmp (path_element->user, super->path_element->user) == 0) super 1046 src/vfs/ftpfs/ftpfs.c && (path_element->port == super->path_element->port)) super 1058 src/vfs/ftpfs/ftpfs.c ftpfs_get_current_directory (struct vfs_class *me, struct vfs_s_super *super) super 1062 src/vfs/ftpfs/ftpfs.c if (ftpfs_command (me, super, NONE, "%s", "PWD") == COMPLETE super 1063 src/vfs/ftpfs/ftpfs.c && ftpfs_get_reply (me, FTP_SUPER (super)->sock, buf, sizeof (buf)) == COMPLETE) super 1107 src/vfs/ftpfs/ftpfs.c ftpfs_setup_passive_pasv (struct vfs_class *me, struct vfs_s_super *super, int my_socket, super 1114 src/vfs/ftpfs/ftpfs.c if (ftpfs_command (me, super, WAIT_REPLY | WANT_STRING, "%s", "PASV") != COMPLETE) super 1144 src/vfs/ftpfs/ftpfs.c ftpfs_setup_passive_epsv (struct vfs_class *me, struct vfs_s_super *super, int my_socket, super 1150 src/vfs/ftpfs/ftpfs.c if (ftpfs_command (me, super, WAIT_REPLY | WANT_STRING, "%s", "EPSV") != COMPLETE) super 1184 src/vfs/ftpfs/ftpfs.c ftpfs_setup_passive (struct vfs_class *me, struct vfs_s_super *super, int my_socket, super 1190 src/vfs/ftpfs/ftpfs.c if (!ftpfs_setup_passive_pasv (me, super, my_socket, sa, salen)) super 1192 src/vfs/ftpfs/ftpfs.c if (!ftpfs_setup_passive_epsv (me, super, my_socket, sa, salen)) super 1196 src/vfs/ftpfs/ftpfs.c else if (!ftpfs_setup_passive_epsv (me, super, my_socket, sa, salen)) super 1206 src/vfs/ftpfs/ftpfs.c ftpfs_setup_active (struct vfs_class *me, struct vfs_s_super *super, super 1263 src/vfs/ftpfs/ftpfs.c if (ftpfs_command (me, super, WAIT_REPLY, "PORT %u,%u,%u,%u,%u,%u", a[0], a[1], a[2], a[3], super 1281 src/vfs/ftpfs/ftpfs.c res = (ftpfs_command (me, super, WAIT_REPLY, "EPRT |%u|%s|%hu|", af, addr, port) == COMPLETE) super 1292 src/vfs/ftpfs/ftpfs.c ftpfs_init_data_socket (struct vfs_class *me, struct vfs_s_super *super, super 1297 src/vfs/ftpfs/ftpfs.c ftp_super_t *ftp_super = FTP_SUPER (super); super 1316 src/vfs/ftpfs/ftpfs.c if (ftpfs_reconnect (me, super)) super 1335 src/vfs/ftpfs/ftpfs.c if (ftpfs_reconnect (me, super)) super 1377 src/vfs/ftpfs/ftpfs.c ftpfs_initconn (struct vfs_class *me, struct vfs_s_super *super) super 1379 src/vfs/ftpfs/ftpfs.c ftp_super_t *ftp_super = FTP_SUPER (super); super 1394 src/vfs/ftpfs/ftpfs.c data_sock = ftpfs_init_data_socket (me, super, &data_addr, &data_addrlen); super 1398 src/vfs/ftpfs/ftpfs.c if (ftpfs_setup_passive (me, super, data_sock, &data_addr, &data_addrlen)) super 1412 src/vfs/ftpfs/ftpfs.c data_sock = ftpfs_init_data_socket (me, super, &data_addr, &data_addrlen); super 1424 src/vfs/ftpfs/ftpfs.c if (ftpfs_setup_active (me, super, data_addr, data_addrlen) != 0) super 1442 src/vfs/ftpfs/ftpfs.c ftpfs_open_data_connection (struct vfs_class *me, struct vfs_s_super *super, const char *cmd, super 1445 src/vfs/ftpfs/ftpfs.c ftp_super_t *ftp_super = FTP_SUPER (super); super 1452 src/vfs/ftpfs/ftpfs.c s = ftpfs_initconn (me, super); super 1456 src/vfs/ftpfs/ftpfs.c if (ftpfs_changetype (me, super, isbinary) == -1) super 1464 src/vfs/ftpfs/ftpfs.c j = ftpfs_command (me, super, WAIT_REPLY, "REST %d", reget); super 1473 src/vfs/ftpfs/ftpfs.c j = ftpfs_command (me, super, WAIT_REPLY, "%s", cmd); super 1478 src/vfs/ftpfs/ftpfs.c remote_path = ftpfs_translate_path (me, super, remote); super 1479 src/vfs/ftpfs/ftpfs.c j = ftpfs_command (me, super, WAIT_REPLY, "%s /%s", cmd, super 1517 src/vfs/ftpfs/ftpfs.c struct vfs_s_super *super = VFS_FILE_HANDLER_SUPER (fh); super 1518 src/vfs/ftpfs/ftpfs.c ftp_super_t *ftp_super = FTP_SUPER (super); super 1536 src/vfs/ftpfs/ftpfs.c if (ftpfs_command (me, super, NONE, "%cABOR", DM) != COMPLETE) super 1567 src/vfs/ftpfs/ftpfs.c ftpfs_reconnect (me, super); super 1583 src/vfs/ftpfs/ftpfs.c resolve_symlink_without_ls_options (struct vfs_class *me, struct vfs_s_super *super, super 1663 src/vfs/ftpfs/ftpfs.c resolve_symlink_with_ls_options (struct vfs_class *me, struct vfs_s_super *super, super 1765 src/vfs/ftpfs/ftpfs.c ftpfs_get_reply (me, FTP_SUPER (super)->sock, NULL, 0); super 1771 src/vfs/ftpfs/ftpfs.c resolve_symlink (struct vfs_class *me, struct vfs_s_super *super, struct vfs_s_inode *dir) super 1775 src/vfs/ftpfs/ftpfs.c if (FTP_SUPER (super)->strict_rfc959_list_cmd) super 1776 src/vfs/ftpfs/ftpfs.c resolve_symlink_without_ls_options (me, super, dir); super 1778 src/vfs/ftpfs/ftpfs.c resolve_symlink_with_ls_options (me, super, dir); super 1787 src/vfs/ftpfs/ftpfs.c struct vfs_s_super *super = dir->super; super 1788 src/vfs/ftpfs/ftpfs.c ftp_super_t *ftp_super = FTP_SUPER (super); super 1806 src/vfs/ftpfs/ftpfs.c if (cd_first && ftpfs_chdir_internal (me, super, remote_path) != COMPLETE) super 1816 src/vfs/ftpfs/ftpfs.c sock = ftpfs_open_data_connection (me, super, "LIST", 0, TYPE_ASCII, 0); super 1820 src/vfs/ftpfs/ftpfs.c sock = ftpfs_open_data_connection (me, super, "LIST -la", 0, TYPE_ASCII, 0); super 1827 src/vfs/ftpfs/ftpfs.c sock = ftpfs_open_data_connection (me, super, "LIST -la", path, TYPE_ASCII, 0); super 1920 src/vfs/ftpfs/ftpfs.c struct vfs_s_super *super = VFS_FILE_HANDLER_SUPER (fh); super 1921 src/vfs/ftpfs/ftpfs.c ftp_super_t *ftp_super = FTP_SUPER (super); super 1947 src/vfs/ftpfs/ftpfs.c ftpfs_open_data_connection (me, super, ftp->append ? "APPE" : "STOR", name, TYPE_BINARY, 0); super 2051 src/vfs/ftpfs/ftpfs.c struct vfs_s_super *super = VFS_FILE_HANDLER_SUPER (fh); super 2064 src/vfs/ftpfs/ftpfs.c FTP_SUPER (super)->ctl_connection_busy = FALSE; super 2067 src/vfs/ftpfs/ftpfs.c if ((ftpfs_get_reply (me, FTP_SUPER (super)->sock, NULL, 0) != COMPLETE)) super 2118 src/vfs/ftpfs/ftpfs.c struct vfs_s_super *super; super 2125 src/vfs/ftpfs/ftpfs.c rpath = vfs_s_get_path (vpath, &super, 0); super 2129 src/vfs/ftpfs/ftpfs.c p = ftpfs_translate_path (me, super, rpath); super 2130 src/vfs/ftpfs/ftpfs.c r = ftpfs_command (me, super, WAIT_REPLY, cmd, p); super 2132 src/vfs/ftpfs/ftpfs.c vfs_stamp_create (vfs_ftpfs_ops, super); super 2141 src/vfs/ftpfs/ftpfs.c vfs_s_invalidate (me, super); super 2228 src/vfs/ftpfs/ftpfs.c ftpfs_is_same_dir (struct vfs_class *me, struct vfs_s_super *super, const char *path) super 2232 src/vfs/ftpfs/ftpfs.c return (FTP_SUPER (super)->current_dir != NULL super 2233 src/vfs/ftpfs/ftpfs.c && strcmp (path, FTP_SUPER (super)->current_dir) == 0); super 2239 src/vfs/ftpfs/ftpfs.c ftpfs_chdir_internal (struct vfs_class *me, struct vfs_s_super *super, const char *remote_path) super 2241 src/vfs/ftpfs/ftpfs.c ftp_super_t *ftp_super = FTP_SUPER (super); super 2245 src/vfs/ftpfs/ftpfs.c if (!ftp_super->cwd_deferred && ftpfs_is_same_dir (me, super, remote_path)) super 2248 src/vfs/ftpfs/ftpfs.c p = ftpfs_translate_path (me, super, remote_path); super 2249 src/vfs/ftpfs/ftpfs.c r = ftpfs_command (me, super, WAIT_REPLY, "CWD /%s", p); super 2424 src/vfs/ftpfs/ftpfs.c const struct vfs_s_super *super = (const struct vfs_s_super *) iter->data; super 2427 src/vfs/ftpfs/ftpfs.c name = vfs_path_element_build_pretty_path_str (super->path_element); super 404 src/vfs/sftpfs/config_parser.c sftpfs_fill_connection_data_from_config (struct vfs_s_super *super, GError **mcerror) super 406 src/vfs/sftpfs/config_parser.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); super 411 src/vfs/sftpfs/config_parser.c config_entity = sftpfs_get_config_entity (super->path_element, mcerror); super 419 src/vfs/sftpfs/config_parser.c if (super->path_element->port == 0) super 420 src/vfs/sftpfs/config_parser.c super->path_element->port = config_entity->port; super 422 src/vfs/sftpfs/config_parser.c if (super->path_element->user == NULL) super 423 src/vfs/sftpfs/config_parser.c super->path_element->user = g_strdup (config_entity->user); super 427 src/vfs/sftpfs/config_parser.c char *tmp_str = super->path_element->host; super 429 src/vfs/sftpfs/config_parser.c super->path_element->host = super 430 src/vfs/sftpfs/config_parser.c sftpsfs_expand_hostname (super->path_element->host, config_entity->real_host); super 131 src/vfs/sftpfs/connection.c sftpfs_open_socket (struct vfs_s_super *super, GError **mcerror) super 133 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); super 143 src/vfs/sftpfs/connection.c if (super->path_element->host == NULL || *super->path_element->host == '\0') super 149 src/vfs/sftpfs/connection.c sprintf (port, "%hu", (unsigned short) super->path_element->port); super 164 src/vfs/sftpfs/connection.c e = getaddrinfo (super->path_element->host, port, &hints, &res); super 171 src/vfs/sftpfs/connection.c e = getaddrinfo (super->path_element->host, port, &hints, &res); super 223 src/vfs/sftpfs/connection.c vfs_print_message (_ ("sftp: making connection to %s"), super->path_element->host); super 263 src/vfs/sftpfs/connection.c sftpfs_read_known_hosts (struct vfs_s_super *super, GError **mcerror) super 265 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); super 302 src/vfs/sftpfs/connection.c found = strcmp (store->name, super->path_element->host) == 0; super 313 src/vfs/sftpfs/connection.c if (port == super->path_element->port) super 318 src/vfs/sftpfs/connection.c found = strncmp (store->name + 1, super->path_element->host, kh_name_size) == 0; super 409 src/vfs/sftpfs/connection.c sftpfs_update_known_hosts (struct vfs_s_super *super, const char *remote_key, size_t remote_key_len, super 412 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); super 416 src/vfs/sftpfs/connection.c rc = libssh2_knownhost_addc (sftpfs_super->known_hosts, super->path_element->host, NULL, super 430 src/vfs/sftpfs/connection.c super->path_element->host, sftpfs_super->ip_address); super 475 src/vfs/sftpfs/connection.c sftpfs_process_known_host (struct vfs_s_super *super, GError **mcerror) super 477 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); super 545 src/vfs/sftpfs/connection.c sftpfs_super->known_hosts, super->path_element->host, super->path_element->port, remote_key, super 566 src/vfs/sftpfs/connection.c super->path_element->host, sftpfs_super->ip_address, key_type, fingerprint_hash); super 579 src/vfs/sftpfs/connection.c super->path_element->host, sftpfs_super->ip_address); super 593 src/vfs/sftpfs/connection.c if (sftpfs_update_known_hosts (super, remote_key, remote_key_len, super 631 src/vfs/sftpfs/connection.c sftpfs_recognize_auth_types (struct vfs_s_super *super) super 634 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); super 638 src/vfs/sftpfs/connection.c userauthlist = libssh2_userauth_list (sftpfs_super->session, super->path_element->user, super 639 src/vfs/sftpfs/connection.c strlen (super->path_element->user)); super 669 src/vfs/sftpfs/connection.c sftpfs_open_connection_ssh_agent (struct vfs_s_super *super, GError **mcerror) super 671 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); super 702 src/vfs/sftpfs/connection.c if (libssh2_agent_userauth (sftpfs_super->agent, super->path_element->user, identity) == 0) super 721 src/vfs/sftpfs/connection.c sftpfs_open_connection_ssh_key (struct vfs_s_super *super, GError **mcerror) super 723 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); super 735 src/vfs/sftpfs/connection.c if (libssh2_userauth_publickey_fromfile (sftpfs_super->session, super->path_element->user, super 737 src/vfs/sftpfs/connection.c super->path_element->password) super 741 src/vfs/sftpfs/connection.c p = g_strdup_printf (_ ("sftp: Enter passphrase for %s "), super->path_element->user); super 750 src/vfs/sftpfs/connection.c sftpfs_super->session, super->path_element->user, sftpfs_super->pubkey, super 813 src/vfs/sftpfs/connection.c sftpfs_open_connection_ssh_password (struct vfs_s_super *super, GError **mcerror) super 815 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); super 825 src/vfs/sftpfs/connection.c if (super->path_element->password != NULL) super 827 src/vfs/sftpfs/connection.c while ((rc = libssh2_userauth_password (sftpfs_super->session, super->path_element->user, super 828 src/vfs/sftpfs/connection.c super->path_element->password)) super 834 src/vfs/sftpfs/connection.c kbi_super = super; super 835 src/vfs/sftpfs/connection.c kbi_passwd = super->path_element->password; super 838 src/vfs/sftpfs/connection.c super->path_element->user, super 850 src/vfs/sftpfs/connection.c p = g_strdup_printf (_ ("sftp: Enter password for %s "), super->path_element->user); super 858 src/vfs/sftpfs/connection.c while ((rc = libssh2_userauth_password (sftpfs_super->session, super->path_element->user, super 865 src/vfs/sftpfs/connection.c kbi_super = super; super 869 src/vfs/sftpfs/connection.c super->path_element->user, super 881 src/vfs/sftpfs/connection.c g_free (super->path_element->password); super 882 src/vfs/sftpfs/connection.c super->path_element->password = passwd; super 903 src/vfs/sftpfs/connection.c sftpfs_open_connection (struct vfs_s_super *super, GError **mcerror) super 906 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); super 914 src/vfs/sftpfs/connection.c sftpfs_super->socket_handle = sftpfs_open_socket (super, mcerror); super 923 src/vfs/sftpfs/connection.c if (!sftpfs_read_known_hosts (super, mcerror)) super 939 src/vfs/sftpfs/connection.c if (!sftpfs_process_known_host (super, mcerror)) super 942 src/vfs/sftpfs/connection.c if (!sftpfs_recognize_auth_types (super)) super 951 src/vfs/sftpfs/connection.c if (!sftpfs_open_connection_ssh_agent (super, mcerror) super 952 src/vfs/sftpfs/connection.c && !sftpfs_open_connection_ssh_key (super, mcerror) super 953 src/vfs/sftpfs/connection.c && !sftpfs_open_connection_ssh_password (super, mcerror)) super 977 src/vfs/sftpfs/connection.c sftpfs_close_connection (struct vfs_s_super *super, const char *shutdown_message, GError **mcerror) super 979 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); super 46 src/vfs/sftpfs/dir.c sftpfs_super_t *super; super 95 src/vfs/sftpfs/dir.c sftpfs_dir->super = sftpfs_super; super 125 src/vfs/sftpfs/dir.c if (!sftpfs_waitsocket (sftpfs_dir->super, rc, mcerror)) super 88 src/vfs/sftpfs/file.c sftpfs_file__handle_error (sftpfs_super_t *super, int sftp_res, GError **mcerror) super 90 src/vfs/sftpfs/file.c if (sftpfs_is_sftp_error (super->sftp_session, sftp_res, LIBSSH2_FX_PERMISSION_DENIED)) super 93 src/vfs/sftpfs/file.c if (sftpfs_is_sftp_error (super->sftp_session, sftp_res, LIBSSH2_FX_NO_SUCH_FILE)) super 96 src/vfs/sftpfs/file.c if (!sftpfs_waitsocket (super, sftp_res, mcerror)) super 135 src/vfs/sftpfs/file.c sftpfs_super_t *super = SFTP_SUPER (fh->ino->super); super 170 src/vfs/sftpfs/file.c libssh2_sftp_open_ex (super->sftp_session, fixfname->str, fixfname->len, super 175 src/vfs/sftpfs/file.c libssh_errno = libssh2_session_last_errno (super->session); super 178 src/vfs/sftpfs/file.c sftpfs_ssherror_to_gliberror (super, libssh_errno, mcerror); super 230 src/vfs/sftpfs/file.c struct vfs_s_super *super = VFS_FILE_HANDLER_SUPER (fh); super 231 src/vfs/sftpfs/file.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); super 274 src/vfs/sftpfs/file.c sftpfs_super_t *super; super 285 src/vfs/sftpfs/file.c super = SFTP_SUPER (VFS_FILE_HANDLER_SUPER (fh)); super 295 src/vfs/sftpfs/file.c err = sftpfs_file__handle_error (super, (int) rc, mcerror); super 324 src/vfs/sftpfs/file.c sftpfs_super_t *super = SFTP_SUPER (VFS_FILE_HANDLER_SUPER (fh)); super 338 src/vfs/sftpfs/file.c err = sftpfs_file__handle_error (super, (int) rc, mcerror); super 81 src/vfs/sftpfs/internal.c sftpfs_internal_waitsocket (sftpfs_super_t *super, GError **mcerror) super 92 src/vfs/sftpfs/internal.c FD_SET (super->socket_handle, &fd); super 95 src/vfs/sftpfs/internal.c dir = libssh2_session_block_directions (super->session); super 103 src/vfs/sftpfs/internal.c ret = select (super->socket_handle + 1, readfd, writefd, NULL, &timeout); super 118 src/vfs/sftpfs/internal.c sftpfs_stat_init (sftpfs_super_t **super, const vfs_path_element_t **path_element, super 125 src/vfs/sftpfs/internal.c if (!sftpfs_op_init (super, path_element, vpath, mcerror)) super 132 src/vfs/sftpfs/internal.c res = libssh2_sftp_stat_ex ((*super)->sftp_session, fixfname->str, fixfname->len, stat_type, super 137 src/vfs/sftpfs/internal.c if (sftpfs_is_sftp_error ((*super)->sftp_session, res, LIBSSH2_FX_PERMISSION_DENIED)) super 140 src/vfs/sftpfs/internal.c if (sftpfs_is_sftp_error ((*super)->sftp_session, res, LIBSSH2_FX_NO_SUCH_FILE)) super 143 src/vfs/sftpfs/internal.c if (!sftpfs_waitsocket (*super, res, mcerror)) super 156 src/vfs/sftpfs/internal.c sftpfs_waitsocket (sftpfs_super_t *super, int sftp_res, GError **mcerror) super 160 src/vfs/sftpfs/internal.c sftpfs_ssherror_to_gliberror (super, sftp_res, mcerror); super 164 src/vfs/sftpfs/internal.c sftpfs_internal_waitsocket (super, mcerror); super 188 src/vfs/sftpfs/internal.c sftpfs_ssherror_to_gliberror (sftpfs_super_t *super, int libssh_errno, GError **mcerror) super 195 src/vfs/sftpfs/internal.c libssh2_session_last_error (super->session, &err, &err_len, 1); super 196 src/vfs/sftpfs/internal.c if (libssh_errno == LIBSSH2_ERROR_SFTP_PROTOCOL && super->sftp_session != NULL) super 198 src/vfs/sftpfs/internal.c libssh2_sftp_last_error (super->sftp_session)); super 224 src/vfs/sftpfs/internal.c sftpfs_op_init (sftpfs_super_t **super, const vfs_path_element_t **path_element, super 237 src/vfs/sftpfs/internal.c *super = SFTP_SUPER (lc_super); super 238 src/vfs/sftpfs/internal.c if ((*super)->sftp_session == NULL) super 288 src/vfs/sftpfs/internal.c sftpfs_super_t *super = NULL; super 293 src/vfs/sftpfs/internal.c res = sftpfs_stat_init (&super, &path_element, vpath, mcerror, LIBSSH2_SFTP_LSTAT, &attrs); super 316 src/vfs/sftpfs/internal.c sftpfs_super_t *super = NULL; super 321 src/vfs/sftpfs/internal.c res = sftpfs_stat_init (&super, &path_element, vpath, mcerror, LIBSSH2_SFTP_STAT, &attrs); super 346 src/vfs/sftpfs/internal.c sftpfs_super_t *super = NULL; super 351 src/vfs/sftpfs/internal.c if (!sftpfs_op_init (&super, &path_element, vpath, mcerror)) super 358 src/vfs/sftpfs/internal.c res = libssh2_sftp_symlink_ex (super->sftp_session, fixfname->str, fixfname->len, buf, size, super 363 src/vfs/sftpfs/internal.c if (!sftpfs_waitsocket (super, res, mcerror)) super 384 src/vfs/sftpfs/internal.c sftpfs_super_t *super = NULL; super 393 src/vfs/sftpfs/internal.c if (!sftpfs_op_init (&super, &path_element2, vpath2, mcerror)) super 405 src/vfs/sftpfs/internal.c res = libssh2_sftp_symlink_ex (super->sftp_session, path1, path1_len, tmp_path, super 410 src/vfs/sftpfs/internal.c if (!sftpfs_waitsocket (super, res, mcerror)) super 436 src/vfs/sftpfs/internal.c sftpfs_super_t *super = NULL; super 442 src/vfs/sftpfs/internal.c res = sftpfs_stat_init (&super, &path_element, vpath, mcerror, LIBSSH2_SFTP_LSTAT, &attrs); super 454 src/vfs/sftpfs/internal.c res = libssh2_sftp_stat_ex (super->sftp_session, fixfname->str, fixfname->len, super 459 src/vfs/sftpfs/internal.c if (sftpfs_is_sftp_error (super->sftp_session, res, LIBSSH2_FX_NO_SUCH_FILE)) super 462 src/vfs/sftpfs/internal.c if (sftpfs_is_sftp_error (super->sftp_session, res, LIBSSH2_FX_FAILURE)) super 468 src/vfs/sftpfs/internal.c if (!sftpfs_waitsocket (super, res, mcerror)) super 489 src/vfs/sftpfs/internal.c sftpfs_super_t *super = NULL; super 495 src/vfs/sftpfs/internal.c res = sftpfs_stat_init (&super, &path_element, vpath, mcerror, LIBSSH2_SFTP_LSTAT, &attrs); super 506 src/vfs/sftpfs/internal.c res = libssh2_sftp_stat_ex (super->sftp_session, fixfname->str, fixfname->len, super 511 src/vfs/sftpfs/internal.c if (sftpfs_is_sftp_error (super->sftp_session, res, LIBSSH2_FX_NO_SUCH_FILE)) super 514 src/vfs/sftpfs/internal.c if (sftpfs_is_sftp_error (super->sftp_session, res, LIBSSH2_FX_FAILURE)) super 520 src/vfs/sftpfs/internal.c if (!sftpfs_waitsocket (super, res, mcerror)) super 540 src/vfs/sftpfs/internal.c sftpfs_super_t *super = NULL; super 545 src/vfs/sftpfs/internal.c if (!sftpfs_op_init (&super, &path_element, vpath, mcerror)) super 552 src/vfs/sftpfs/internal.c res = libssh2_sftp_unlink_ex (super->sftp_session, fixfname->str, fixfname->len); super 556 src/vfs/sftpfs/internal.c if (!sftpfs_waitsocket (super, res, mcerror)) super 577 src/vfs/sftpfs/internal.c sftpfs_super_t *super = NULL; super 586 src/vfs/sftpfs/internal.c if (!sftpfs_op_init (&super, &path_element2, vpath2, mcerror)) super 598 src/vfs/sftpfs/internal.c res = libssh2_sftp_rename_ex (super->sftp_session, fixfname->str, fixfname->len, tmp_path, super 603 src/vfs/sftpfs/internal.c if (!sftpfs_waitsocket (super, res, mcerror)) super 24 src/vfs/sftpfs/internal.h #define SFTP_SUPER(super) ((sftpfs_super_t *) (super)) super 73 src/vfs/sftpfs/internal.h void sftpfs_ssherror_to_gliberror (sftpfs_super_t *super, int libssh_errno, GError **mcerror); super 74 src/vfs/sftpfs/internal.h gboolean sftpfs_waitsocket (sftpfs_super_t *super, int sftp_res, GError **mcerror); super 78 src/vfs/sftpfs/internal.h gboolean sftpfs_op_init (sftpfs_super_t **super, const vfs_path_element_t **path_element, super 91 src/vfs/sftpfs/internal.h void sftpfs_fill_connection_data_from_config (struct vfs_s_super *super, GError **mcerror); super 92 src/vfs/sftpfs/internal.h int sftpfs_open_connection (struct vfs_s_super *super, GError **mcerror); super 93 src/vfs/sftpfs/internal.h void sftpfs_close_connection (struct vfs_s_super *super, const char *shutdown_message, super 111 src/vfs/sftpfs/sftpfs.c struct vfs_s_super *super; super 117 src/vfs/sftpfs/sftpfs.c path_super = vfs_s_get_path (vpath, &super, 0); super 123 src/vfs/sftpfs/sftpfs.c path_inode = vfs_s_find_inode (me, super, path_super, LINK_FOLLOW, FL_NONE); super 137 src/vfs/sftpfs/sftpfs.c dir = vfs_s_find_inode (me, super, name, LINK_FOLLOW, FL_DIR); super 165 src/vfs/sftpfs/sftpfs.c vfs_rmstamp (me, (vfsid) super); super 166 src/vfs/sftpfs/sftpfs.c super->fd_usage++; super 489 src/vfs/sftpfs/sftpfs.c struct vfs_s_super *super = VFS_FILE_HANDLER_SUPER (data); super 492 src/vfs/sftpfs/sftpfs.c super->fd_usage--; super 493 src/vfs/sftpfs/sftpfs.c if (super->fd_usage == 0) super 494 src/vfs/sftpfs/sftpfs.c vfs_stamp_create (vfs_sftpfs_ops, super); super 661 src/vfs/sftpfs/sftpfs.c const struct vfs_s_super *super = (const struct vfs_s_super *) iter->data; super 664 src/vfs/sftpfs/sftpfs.c name = vfs_path_element_build_pretty_path_str (super->path_element); super 683 src/vfs/sftpfs/sftpfs.c sftpfs_archive_same (const vfs_path_element_t *vpath_element, struct vfs_s_super *super, super 692 src/vfs/sftpfs/sftpfs.c orig_connect_info = SFTP_SUPER (super)->original_connection_info; super 729 src/vfs/sftpfs/sftpfs.c sftpfs_open_archive (struct vfs_s_super *super, const vfs_path_t *vpath, super 733 src/vfs/sftpfs/sftpfs.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); super 746 src/vfs/sftpfs/sftpfs.c super->path_element = vfs_path_element_clone (vpath_element); super 748 src/vfs/sftpfs/sftpfs.c sftpfs_fill_connection_data_from_config (super, &mcerror); super 755 src/vfs/sftpfs/sftpfs.c super->root = vfs_s_new_inode (vpath_element->class, super, super 758 src/vfs/sftpfs/sftpfs.c ret_value = sftpfs_open_connection (super, &mcerror); super 772 src/vfs/sftpfs/sftpfs.c sftpfs_free_archive (struct vfs_class *me, struct vfs_s_super *super) super 778 src/vfs/sftpfs/sftpfs.c sftpfs_close_connection (super, "Normal Shutdown", &mcerror); super 780 src/vfs/sftpfs/sftpfs.c vfs_path_element_free (SFTP_SUPER (super)->original_connection_info); super 119 src/vfs/shell/shell.c #define SHELL_SUPER(super) ((shell_super_t *) (super)) super 271 src/vfs/shell/shell.c shell_command (struct vfs_class *me, struct vfs_s_super *super, int wait_reply, const char *cmd, super 290 src/vfs/shell/shell.c status = write (SHELL_SUPER (super)->sockw, cmd, cmd_len); super 297 src/vfs/shell/shell.c return shell_get_reply (me, SHELL_SUPER (super)->sockr, super 306 src/vfs/shell/shell.c shell_command_va (struct vfs_class *me, struct vfs_s_super *super, int wait_reply, const char *scr, super 312 src/vfs/shell/shell.c command = mc_g_string_dup (SHELL_SUPER (super)->scr_env); super 315 src/vfs/shell/shell.c r = shell_command (me, super, wait_reply, command->str, command->len); super 324 src/vfs/shell/shell.c shell_command_v (struct vfs_class *me, struct vfs_s_super *super, int wait_reply, const char *scr, super 331 src/vfs/shell/shell.c r = shell_command_va (me, super, wait_reply, scr, vars, ap); super 340 src/vfs/shell/shell.c shell_send_command (struct vfs_class *me, struct vfs_s_super *super, int flags, const char *scr, super 347 src/vfs/shell/shell.c r = shell_command_va (me, super, WAIT_REPLY, scr, vars, ap); super 349 src/vfs/shell/shell.c vfs_stamp_create (vfs_shell_ops, super); super 354 src/vfs/shell/shell.c vfs_s_invalidate (me, super); super 375 src/vfs/shell/shell.c shell_free_archive (struct vfs_class *me, struct vfs_s_super *super) super 377 src/vfs/shell/shell.c shell_super_t *shell_super = SHELL_SUPER (super); super 380 src/vfs/shell/shell.c vfs_print_message (_ ("shell: Disconnecting from %s"), super->name ? super->name : "???"); super 384 src/vfs/shell/shell.c shell_command (me, super, NONE, "exit\n", -1); super 417 src/vfs/shell/shell.c shell_pipeopen (struct vfs_s_super *super, const char *path, const char *argv[]) super 433 src/vfs/shell/shell.c SHELL_SUPER (super)->sockw = fileset1[1]; super 435 src/vfs/shell/shell.c SHELL_SUPER (super)->sockr = fileset2[0]; super 489 src/vfs/shell/shell.c shell_info (struct vfs_class *me, struct vfs_s_super *super) super 491 src/vfs/shell/shell.c shell_super_t *shell_super = SHELL_SUPER (super); super 493 src/vfs/shell/shell.c if (shell_command (me, super, NONE, shell_super->scr_info, -1) == COMPLETE) super 515 src/vfs/shell/shell.c shell_open_archive_pipeopen (struct vfs_s_super *super) super 519 src/vfs/shell/shell.c const char *xsh = (super->path_element->port == SHELL_FLAG_RSH ? "rsh" : "ssh"); super 523 src/vfs/shell/shell.c if (super->path_element->port == SHELL_FLAG_COMPRESSED) super 526 src/vfs/shell/shell.c if (super->path_element->port > SHELL_FLAG_RSH) super 529 src/vfs/shell/shell.c g_snprintf (gbuf, sizeof (gbuf), "%d", super->path_element->port); super 540 src/vfs/shell/shell.c if (super->path_element->user != NULL) super 543 src/vfs/shell/shell.c argv[i++] = super->path_element->user; super 548 src/vfs/shell/shell.c super->path_element->user = vfs_get_local_username (); super 551 src/vfs/shell/shell.c argv[i++] = super->path_element->host; super 555 src/vfs/shell/shell.c shell_pipeopen (super, xsh, argv); super 561 src/vfs/shell/shell.c shell_open_archive_talk (struct vfs_class *me, struct vfs_s_super *super) super 563 src/vfs/shell/shell.c shell_super_t *shell_super = SHELL_SUPER (super); super 580 src/vfs/shell/shell.c if (super->path_element->password == NULL) super 585 src/vfs/shell/shell.c super->path_element->user); super 590 src/vfs/shell/shell.c super->path_element->password = op; super 598 src/vfs/shell/shell.c str_len = strlen (super->path_element->password); super 599 src/vfs/shell/shell.c if ((write (shell_super.sockw, super->path_element->password, str_len) != super 611 src/vfs/shell/shell.c shell_open_archive_int (struct vfs_class *me, struct vfs_s_super *super) super 619 src/vfs/shell/shell.c shell_open_archive_pipeopen (super); super 622 src/vfs/shell/shell.c ftalk = shell_open_archive_talk (me, super); super 633 src/vfs/shell/shell.c if (shell_command (me, super, WAIT_REPLY, super 641 src/vfs/shell/shell.c if (shell_info (me, super)) super 642 src/vfs/shell/shell.c SHELL_SUPER (super)->scr_env = shell_set_env (SHELL_SUPER (super)->host_flags); super 645 src/vfs/shell/shell.c super->name = super 646 src/vfs/shell/shell.c g_strconcat ("sh://", super->path_element->user, "@", super->path_element->host, super 649 src/vfs/shell/shell.c super->name = g_strdup (PATH_SEP_STR); super 652 src/vfs/shell/shell.c super->root = vfs_s_new_inode (me, super, shell_default_stat (me)); super 660 src/vfs/shell/shell.c shell_open_archive (struct vfs_s_super *super, const vfs_path_t *vpath, super 663 src/vfs/shell/shell.c shell_super_t *shell_super = SHELL_SUPER (super); super 667 src/vfs/shell/shell.c super->path_element = vfs_path_element_clone (vpath_element); super 670 src/vfs/shell/shell.c super->path_element->port = SHELL_FLAG_RSH; super 672 src/vfs/shell/shell.c shell_super->scr_ls = shell_load_script_from_file (super->path_element->host, VFS_SHELL_LS_FILE, super 675 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_EXISTS_FILE, VFS_SHELL_EXISTS_DEF_CONTENT); super 677 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_MKDIR_FILE, VFS_SHELL_MKDIR_DEF_CONTENT); super 679 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_UNLINK_FILE, VFS_SHELL_UNLINK_DEF_CONTENT); super 681 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_CHOWN_FILE, VFS_SHELL_CHOWN_DEF_CONTENT); super 683 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_CHMOD_FILE, VFS_SHELL_CHMOD_DEF_CONTENT); super 685 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_UTIME_FILE, VFS_SHELL_UTIME_DEF_CONTENT); super 687 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_RMDIR_FILE, VFS_SHELL_RMDIR_DEF_CONTENT); super 688 src/vfs/shell/shell.c shell_super->scr_ln = shell_load_script_from_file (super->path_element->host, VFS_SHELL_LN_FILE, super 690 src/vfs/shell/shell.c shell_super->scr_mv = shell_load_script_from_file (super->path_element->host, VFS_SHELL_MV_FILE, super 693 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_HARDLINK_FILE, VFS_SHELL_HARDLINK_DEF_CONTENT); super 695 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_GET_FILE, VFS_SHELL_GET_DEF_CONTENT); super 697 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_SEND_FILE, VFS_SHELL_SEND_DEF_CONTENT); super 699 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_APPEND_FILE, VFS_SHELL_APPEND_DEF_CONTENT); super 701 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_INFO_FILE, VFS_SHELL_INFO_DEF_CONTENT); super 703 src/vfs/shell/shell.c return shell_open_archive_int (vpath_element->class, super); super 709 src/vfs/shell/shell.c shell_archive_same (const vfs_path_element_t *vpath_element, struct vfs_s_super *super, super 723 src/vfs/shell/shell.c result = ((strcmp (path_element->host, super->path_element->host) == 0) super 724 src/vfs/shell/shell.c && (strcmp (path_element->user, super->path_element->user) == 0) super 725 src/vfs/shell/shell.c && (path_element->port == super->path_element->port)) super 890 src/vfs/shell/shell.c struct vfs_s_super *super = dir->super; super 909 src/vfs/shell/shell.c (void) shell_command_v (me, super, NONE, SHELL_SUPER (super)->scr_ls, "SHELL_FILENAME=%s;\n", super 920 src/vfs/shell/shell.c vfs_s_get_line_interruptible (me, buffer, sizeof (buffer), SHELL_SUPER (super)->sockr); super 967 src/vfs/shell/shell.c struct vfs_s_super *super = VFS_FILE_HANDLER_SUPER (fh); super 968 src/vfs/shell/shell.c shell_super_t *shell_super = SHELL_SUPER (super); super 1019 src/vfs/shell/shell.c me, super, WAIT_REPLY, shell->append ? shell_super->scr_append : shell_super->scr_send, super 1077 src/vfs/shell/shell.c struct vfs_s_super *super = VFS_FILE_HANDLER_SUPER (fh); super 1095 src/vfs/shell/shell.c offset = shell_command_v (me, super, WANT_STRING, SHELL_SUPER (super)->scr_get, super 1121 src/vfs/shell/shell.c struct vfs_s_super *super = VFS_FILE_HANDLER_SUPER (fh); super 1132 src/vfs/shell/shell.c n = read (SHELL_SUPER (super)->sockr, buffer, n); super 1140 src/vfs/shell/shell.c if (shell_get_reply (me, SHELL_SUPER (super)->sockr, NULL, 0) != COMPLETE) super 1152 src/vfs/shell/shell.c struct vfs_s_super *super = VFS_FILE_HANDLER_SUPER (fh); super 1157 src/vfs/shell/shell.c while (len != 0 && ((n = read (SHELL_SUPER (super)->sockr, buf, len)) < 0)) super 1169 src/vfs/shell/shell.c else if (shell_get_reply (me, SHELL_SUPER (super)->sockr, NULL, 0) != COMPLETE) super 1226 src/vfs/shell/shell.c struct vfs_s_super *super, *super2; super 1230 src/vfs/shell/shell.c crpath1 = vfs_s_get_path (vpath1, &super, 0); super 1243 src/vfs/shell/shell.c ret = shell_send_command (me, super2, OPT_FLUSH, SHELL_SUPER (super)->scr_mv, super 1259 src/vfs/shell/shell.c struct vfs_s_super *super, *super2; super 1263 src/vfs/shell/shell.c crpath1 = vfs_s_get_path (vpath1, &super, 0); super 1276 src/vfs/shell/shell.c ret = shell_send_command (me, super2, OPT_FLUSH, SHELL_SUPER (super)->scr_hardlink, super 1293 src/vfs/shell/shell.c struct vfs_s_super *super; super 1297 src/vfs/shell/shell.c crpath = vfs_s_get_path (vpath2, &super, 0); super 1306 src/vfs/shell/shell.c ret = shell_send_command (me, super, OPT_FLUSH, SHELL_SUPER (super)->scr_ln, super 1358 src/vfs/shell/shell.c struct vfs_s_super *super; super 1362 src/vfs/shell/shell.c crpath = vfs_s_get_path (vpath, &super, 0); super 1370 src/vfs/shell/shell.c ret = shell_send_command (me, super, OPT_FLUSH, SHELL_SUPER (super)->scr_chmod, super 1390 src/vfs/shell/shell.c struct vfs_s_super *super; super 1405 src/vfs/shell/shell.c crpath = vfs_s_get_path (vpath, &super, 0); super 1414 src/vfs/shell/shell.c ret = shell_send_command (me, super, OPT_FLUSH, SHELL_SUPER (super)->scr_chown, super 1434 src/vfs/shell/shell.c struct vfs_s_super *super; super 1438 src/vfs/shell/shell.c crpath = vfs_s_get_path (vpath, &super, 0); super 1463 src/vfs/shell/shell.c me, super, OPT_FLUSH, SHELL_SUPER (super)->scr_utime, super 1482 src/vfs/shell/shell.c struct vfs_s_super *super; super 1486 src/vfs/shell/shell.c crpath = vfs_s_get_path (vpath, &super, 0); super 1494 src/vfs/shell/shell.c ret = shell_send_command (me, super, OPT_FLUSH, SHELL_SUPER (super)->scr_unlink, super 1509 src/vfs/shell/shell.c struct vfs_s_super *super; super 1513 src/vfs/shell/shell.c crpath = vfs_s_get_path (vpath, &super, 0); super 1521 src/vfs/shell/shell.c ret = shell_send_command (me, super, OPT_FLUSH, SHELL_SUPER (super)->scr_exists, super 1536 src/vfs/shell/shell.c struct vfs_s_super *super; super 1542 src/vfs/shell/shell.c crpath = vfs_s_get_path (vpath, &super, 0); super 1550 src/vfs/shell/shell.c ret = shell_send_command (me, super, OPT_FLUSH, SHELL_SUPER (super)->scr_mkdir, super 1572 src/vfs/shell/shell.c struct vfs_s_super *super; super 1576 src/vfs/shell/shell.c crpath = vfs_s_get_path (vpath, &super, 0); super 1584 src/vfs/shell/shell.c ret = shell_send_command (me, super, OPT_FLUSH, SHELL_SUPER (super)->scr_rmdir, super 1653 src/vfs/shell/shell.c const struct vfs_s_super *super = (const struct vfs_s_super *) iter->data; super 1659 src/vfs/shell/shell.c switch (super->path_element->port) super 1668 src/vfs/shell/shell.c if (super->path_element->port > SHELL_FLAG_RSH) super 1670 src/vfs/shell/shell.c g_snprintf (gbuf, sizeof (gbuf), ":%d", super->path_element->port); super 1677 src/vfs/shell/shell.c super->path_element->user, "@", super->path_element->host, flags, super 1678 src/vfs/shell/shell.c PATH_SEP_STR, super->path_element->path, (char *) NULL); super 79 src/vfs/tar/tar.c #define TAR_SUPER(super) ((tar_super_t *) (super)) super 1117 src/vfs/tar/tar.c int fd = TAR_SUPER (fh->ino->super)->fd; super 1161 src/vfs/tar/tar.c int fd = TAR_SUPER (fh->ino->super)->fd; super 207 src/vfs/undelfs/undelfs.c if (*block_nr < _fs->super->s_first_data_block || *block_nr >= _fs->super->s_blocks_count) super 48 tests/lib/vfs/vfs_s_get_path.c test1_mock_open_archive (struct vfs_s_super *super, const vfs_path_t *vpath, super 55 tests/lib/vfs/vfs_s_get_path.c super->name = g_strdup (vfs_path_as_str (vpath)); super 56 tests/lib/vfs/vfs_s_get_path.c root = vfs_s_new_inode (vpath_element->class, super, NULL); super 57 tests/lib/vfs/vfs_s_get_path.c super->root = root; super 64 tests/lib/vfs/vfs_s_get_path.c test1_mock_archive_same (const vfs_path_element_t *vpath_element, struct vfs_s_super *super, super 70 tests/lib/vfs/vfs_s_get_path.c (void) super; super 39 tests/src/vfs/ftpfs/ftpfs_parse_long_list.c static struct vfs_s_super *super; super 49 tests/src/vfs/ftpfs/ftpfs_parse_long_list.c super = vfs_s_new_super (me); super 50 tests/src/vfs/ftpfs/ftpfs_parse_long_list.c super->name = g_strdup (PATH_SEP_STR); super 51 tests/src/vfs/ftpfs/ftpfs_parse_long_list.c super->root = vfs_s_new_inode (me, super, vfs_s_default_stat (me, S_IFDIR | 0755)); super 60 tests/src/vfs/ftpfs/ftpfs_parse_long_list.c vfs_s_free_super (me, super); super 115 tests/src/vfs/ftpfs/ftpfs_parse_long_list.c parsed = ftpfs_parse_long_list (me, super->root, input, &err_count);