archive           835 lib/vfs/direntry.c     struct vfs_s_super *archive = NULL;
archive           838 lib/vfs/direntry.c     p = vfs_s_get_path (vpath, &archive, FL_NO_OPEN);
archive           839 lib/vfs/direntry.c     return (p == NULL ? NULL : (vfsid) archive);
archive          1167 lib/vfs/direntry.c vfs_s_get_path (const vfs_path_t *vpath, struct vfs_s_super **archive, int flags)
archive          1220 lib/vfs/direntry.c     *archive = super;
archive           180 lib/vfs/xdirentry.h const char *vfs_s_get_path (const vfs_path_t * vpath, struct vfs_s_super **archive, int flags);
archive           194 src/vfs/extfs/extfs.c extfs_generate_entry (struct extfs_super_t *archive, const char *name, struct vfs_s_inode *parent,
archive           197 src/vfs/extfs/extfs.c     struct vfs_class *me = VFS_SUPER (archive)->me;
archive           204 src/vfs/extfs/extfs.c     st.st_ino = VFS_SUPER (archive)->ino_usage++;
archive           205 src/vfs/extfs/extfs.c     st.st_dev = archive->rdev;
archive           216 src/vfs/extfs/extfs.c     inode = vfs_s_new_inode (me, VFS_SUPER (archive), &st);
archive           353 src/vfs/extfs/extfs.c     struct extfs_super_t *archive = EXTFS_SUPER (psup);
archive           357 src/vfs/extfs/extfs.c     if (archive->local_name != NULL)
archive           362 src/vfs/extfs/extfs.c         local_name_vpath = vfs_path_from_str (archive->local_name);
archive           366 src/vfs/extfs/extfs.c                            archive->local_stat.st_mtime != my.st_mtime);
archive           369 src/vfs/extfs/extfs.c         g_free (archive->local_name);
archive           396 src/vfs/extfs/extfs.c extfs_add_file (struct extfs_super_t *archive, const char *file_name)
archive           398 src/vfs/extfs/extfs.c     struct vfs_s_super *super = VFS_SUPER (archive);
archive           474 src/vfs/extfs/extfs.c                 st.st_dev = archive->rdev;
archive           603 src/vfs/extfs/extfs.c extfs_read_archive (mc_pipe_t *pip, struct extfs_super_t *archive, GError **error)
archive           677 src/vfs/extfs/extfs.c             ret = extfs_add_file (archive, buffer->str);
archive           727 src/vfs/extfs/extfs.c extfs_open_and_read_archive (int fstype, const char *name, struct extfs_super_t **archive)
archive           734 src/vfs/extfs/extfs.c     pip = extfs_open_archive (fstype, name, archive, &error);
archive           736 src/vfs/extfs/extfs.c     a = *archive;
archive           776 src/vfs/extfs/extfs.c extfs_get_path (const vfs_path_t *vpath, struct extfs_super_t **archive, int flags)
archive           815 src/vfs/extfs/extfs.c     *archive = a;
archive           893 src/vfs/extfs/extfs.c extfs_get_archive_name (const struct extfs_super_t *archive)
archive           897 src/vfs/extfs/extfs.c     if (archive->local_name != NULL)
archive           898 src/vfs/extfs/extfs.c         archive_name = archive->local_name;
archive           900 src/vfs/extfs/extfs.c         archive_name = CONST_VFS_SUPER (archive)->name;
archive           922 src/vfs/extfs/extfs.c extfs_cmd (const char *str_extfs_cmd, const struct extfs_super_t *archive,
archive           947 src/vfs/extfs/extfs.c     archive_name = extfs_get_archive_name (archive);
archive           957 src/vfs/extfs/extfs.c     info = &g_array_index (extfs_plugins, extfs_plugin_info_t, archive->fstype);
archive          1014 src/vfs/extfs/extfs.c     struct extfs_super_t *archive = NULL;
archive          1020 src/vfs/extfs/extfs.c     p = extfs_get_path (vpath, &archive, FL_NONE);
archive          1025 src/vfs/extfs/extfs.c     archive_name = extfs_get_archive_name (archive);
archive          1028 src/vfs/extfs/extfs.c     info = &g_array_index (extfs_plugins, extfs_plugin_info_t, archive->fstype);
archive          1043 src/vfs/extfs/extfs.c     struct extfs_super_t *archive = NULL;
archive          1049 src/vfs/extfs/extfs.c     q = extfs_get_path (vpath, &archive, FL_NONE);
archive          1052 src/vfs/extfs/extfs.c     entry = extfs_find_entry (VFS_SUPER (archive)->root, q, FL_NONE);
archive          1056 src/vfs/extfs/extfs.c         entry = extfs_find_entry (VFS_SUPER (archive)->root, q, FL_MKFILE);
archive          1082 src/vfs/extfs/extfs.c             && extfs_cmd (" copyout ", archive, entry, local_filename))
archive          1110 src/vfs/extfs/extfs.c     vfs_rmstamp (vfs_extfs_ops, (vfsid) archive);
archive          1111 src/vfs/extfs/extfs.c     VFS_SUPER (archive)->fd_usage++;
archive          1177 src/vfs/extfs/extfs.c     struct extfs_super_t *archive = NULL;
archive          1182 src/vfs/extfs/extfs.c     q = extfs_get_path (vpath, &archive, FL_NONE);
archive          1185 src/vfs/extfs/extfs.c     entry = extfs_find_entry (VFS_SUPER (archive)->root, q, FL_NONE);
archive          1256 src/vfs/extfs/extfs.c     struct extfs_super_t *archive;
archive          1261 src/vfs/extfs/extfs.c     q = extfs_get_path (vpath, &archive, FL_NONE);
archive          1264 src/vfs/extfs/extfs.c     entry = extfs_find_entry (VFS_SUPER (archive)->root, q, FL_NONE);
archive          1311 src/vfs/extfs/extfs.c     struct extfs_super_t *archive;
archive          1317 src/vfs/extfs/extfs.c     q = extfs_get_path (vpath, &archive, FL_NONE);
archive          1320 src/vfs/extfs/extfs.c     entry = extfs_find_entry (VFS_SUPER (archive)->root, q, FL_NONE);
archive          1375 src/vfs/extfs/extfs.c     struct extfs_super_t *archive;
archive          1380 src/vfs/extfs/extfs.c     q = extfs_get_path (vpath, &archive, FL_NONE);
archive          1383 src/vfs/extfs/extfs.c     entry = extfs_find_entry (VFS_SUPER (archive)->root, q, FL_NONE);
archive          1394 src/vfs/extfs/extfs.c     if (extfs_cmd (" rm ", archive, entry, ""))
archive          1399 src/vfs/extfs/extfs.c     vfs_s_free_entry (VFS_SUPER (archive)->me, entry);
archive          1410 src/vfs/extfs/extfs.c     struct extfs_super_t *archive;
archive          1419 src/vfs/extfs/extfs.c     q = extfs_get_path (vpath, &archive, FL_NONE);
archive          1422 src/vfs/extfs/extfs.c     entry = extfs_find_entry (VFS_SUPER (archive)->root, q, FL_NONE);
archive          1428 src/vfs/extfs/extfs.c     entry = extfs_find_entry (VFS_SUPER (archive)->root, q, FL_MKDIR);
archive          1440 src/vfs/extfs/extfs.c     if (extfs_cmd (" mkdir ", archive, entry, ""))
archive          1443 src/vfs/extfs/extfs.c         vfs_s_free_entry (VFS_SUPER (archive)->me, entry);
archive          1456 src/vfs/extfs/extfs.c     struct extfs_super_t *archive;
archive          1461 src/vfs/extfs/extfs.c     q = extfs_get_path (vpath, &archive, FL_NONE);
archive          1464 src/vfs/extfs/extfs.c     entry = extfs_find_entry (VFS_SUPER (archive)->root, q, FL_NONE);
archive          1476 src/vfs/extfs/extfs.c     if (extfs_cmd (" rmdir ", archive, entry, ""))
archive          1481 src/vfs/extfs/extfs.c     vfs_s_free_entry (VFS_SUPER (archive)->me, entry);
archive          1518 src/vfs/extfs/extfs.c     struct extfs_super_t *archive = NULL;
archive          1521 src/vfs/extfs/extfs.c     p = extfs_get_path (vpath, &archive, FL_NO_OPEN);
archive          1522 src/vfs/extfs/extfs.c     return (p == NULL ? NULL : (vfsid) archive);
archive            94 src/vfs/tar/tar-internal.c tar_short_read (size_t status, tar_super_t *archive)
archive            99 src/vfs/tar/tar-internal.c     more = archive->record_start->buffer + status;
archive           108 src/vfs/tar/tar-internal.c             r = mc_read (archive->fd, more, left);
archive           122 src/vfs/tar/tar-internal.c     record_end = archive->record_start + (record_size - left) / BLOCKSIZE;
archive           130 src/vfs/tar/tar-internal.c tar_flush_read (tar_super_t *archive)
archive           134 src/vfs/tar/tar-internal.c     status = mc_read (archive->fd, archive->record_start->buffer, record_size);
archive           138 src/vfs/tar/tar-internal.c     return tar_short_read (status, archive);
archive           146 src/vfs/tar/tar-internal.c tar_flush_archive (tar_super_t *archive)
archive           148 src/vfs/tar/tar-internal.c     record_start_block += record_end - archive->record_start;
archive           149 src/vfs/tar/tar-internal.c     current_block = archive->record_start;
archive           150 src/vfs/tar/tar-internal.c     record_end = archive->record_start + blocking_factor;
archive           152 src/vfs/tar/tar-internal.c     return tar_flush_read (archive);
archive           158 src/vfs/tar/tar-internal.c tar_seek_archive (tar_super_t *archive, off_t size)
archive           165 src/vfs/tar/tar-internal.c     if (record_end < archive->record_start + blocking_factor)
archive           168 src/vfs/tar/tar-internal.c     skipped = (blocking_factor - (current_block - archive->record_start)) * BLOCKSIZE;
archive           177 src/vfs/tar/tar-internal.c     start = tar_current_block_ordinal (archive);
archive           179 src/vfs/tar/tar-internal.c     offset = mc_lseek (archive->fd, nrec * record_size, SEEK_CUR);
archive           521 src/vfs/tar/tar-internal.c tar_find_next_block (tar_super_t *archive)
archive           528 src/vfs/tar/tar-internal.c         if (!tar_flush_archive (archive))
archive           568 src/vfs/tar/tar-internal.c tar_current_block_ordinal (const tar_super_t *archive)
archive           570 src/vfs/tar/tar-internal.c     return record_start_block + (current_block - archive->record_start);
archive           579 src/vfs/tar/tar-internal.c tar_skip_file (tar_super_t *archive, off_t size)
archive           584 src/vfs/tar/tar-internal.c     nblk = tar_seek_archive (archive, size);
archive           590 src/vfs/tar/tar-internal.c         x = tar_find_next_block (archive);
archive           313 src/vfs/tar/tar-internal.h union block *tar_find_next_block (tar_super_t * archive);
archive           315 src/vfs/tar/tar-internal.h off_t tar_current_block_ordinal (const tar_super_t * archive);
archive           316 src/vfs/tar/tar-internal.h gboolean tar_skip_file (tar_super_t * archive, off_t size);
archive           319 src/vfs/tar/tar-internal.h gboolean tar_sparse_member_p (tar_super_t * archive, struct tar_stat_info *st);
archive           320 src/vfs/tar/tar-internal.h gboolean tar_sparse_fixup_header (tar_super_t * archive, struct tar_stat_info *st);
archive           321 src/vfs/tar/tar-internal.h enum dump_status tar_sparse_skip_file (tar_super_t * archive, struct tar_stat_info *st);
archive           325 src/vfs/tar/tar-internal.h gboolean tar_xheader_read (tar_super_t * archive, struct xheader *xhdr, union block *header,
archive           120 src/vfs/tar/tar-sparse.c     gboolean (*decode_header) (tar_super_t * archive, struct tar_sparse_file * file);
archive           143 src/vfs/tar/tar-sparse.c static gboolean oldgnu_get_sparse_info (tar_super_t * archive, struct tar_sparse_file *file);
archive           147 src/vfs/tar/tar-sparse.c static gboolean star_get_sparse_info (tar_super_t * archive, struct tar_sparse_file *file);
archive           150 src/vfs/tar/tar-sparse.c static gboolean pax_decode_header (tar_super_t * archive, struct tar_sparse_file *file);
archive           266 src/vfs/tar/tar-sparse.c sparse_select_optab (const tar_super_t *archive, struct tar_sparse_file *file)
archive           268 src/vfs/tar/tar-sparse.c     switch (archive->type)
archive           297 src/vfs/tar/tar-sparse.c sparse_init (tar_super_t *archive, struct tar_sparse_file *file)
archive           301 src/vfs/tar/tar-sparse.c     if (!sparse_select_optab (archive, file))
archive           346 src/vfs/tar/tar-sparse.c sparse_decode_header (tar_super_t *archive, struct tar_sparse_file *file)
archive           349 src/vfs/tar/tar-sparse.c         return file->optab->decode_header (archive, file);
archive           422 src/vfs/tar/tar-sparse.c oldgnu_get_sparse_info (tar_super_t *archive, struct tar_sparse_file *file)
archive           442 src/vfs/tar/tar-sparse.c         h = tar_find_next_block (archive);
archive           487 src/vfs/tar/tar-sparse.c star_get_sparse_info (tar_super_t *archive, struct tar_sparse_file *file)
archive           512 src/vfs/tar/tar-sparse.c         h = tar_find_next_block (archive);
archive           539 src/vfs/tar/tar-sparse.c pax_decode_header (tar_super_t *archive, struct tar_sparse_file *file)
archive           551 src/vfs/tar/tar-sparse.c         start = tar_current_block_ordinal (archive);
archive           553 src/vfs/tar/tar-sparse.c         blk = tar_find_next_block (archive);
archive           558 src/vfs/tar/tar-sparse.c         COPY_BUF (archive, blk, nbuf, p);
archive           579 src/vfs/tar/tar-sparse.c             COPY_BUF (archive, blk, nbuf, p);
archive           586 src/vfs/tar/tar-sparse.c             COPY_BUF (archive, blk, nbuf, p);
archive           599 src/vfs/tar/tar-sparse.c         file->dumped_size += BLOCKSIZE * (tar_current_block_ordinal (archive) - start);
archive           610 src/vfs/tar/tar-sparse.c tar_sparse_member_p (tar_super_t *archive, struct tar_stat_info *st)
archive           614 src/vfs/tar/tar-sparse.c     if (!sparse_init (archive, &file))
archive           624 src/vfs/tar/tar-sparse.c tar_sparse_fixup_header (tar_super_t *archive, struct tar_stat_info *st)
archive           628 src/vfs/tar/tar-sparse.c     if (!sparse_init (archive, &file))
archive           638 src/vfs/tar/tar-sparse.c tar_sparse_skip_file (tar_super_t *archive, struct tar_stat_info *st)
archive           643 src/vfs/tar/tar-sparse.c     if (!sparse_init (archive, &file))
archive           649 src/vfs/tar/tar-sparse.c     rc = sparse_decode_header (archive, &file);
archive           650 src/vfs/tar/tar-sparse.c     (void) tar_skip_file (archive, file.stat_info->archive_file_size - file.dumped_size);
archive           902 src/vfs/tar/tar-xheader.c tar_xheader_read (tar_super_t *archive, struct xheader *xhdr, union block *p, off_t size)
archive           926 src/vfs/tar/tar-xheader.c         p = tar_find_next_block (archive);
archive           271 src/vfs/tar/tar.c tar_skip_member (tar_super_t *archive, struct vfs_s_inode *inode)
archive           285 src/vfs/tar/tar.c             inode->data_offset = BLOCKSIZE * tar_current_block_ordinal (archive);
archive           287 src/vfs/tar/tar.c         (void) tar_sparse_skip_file (archive, &current_stat_info);
archive           301 src/vfs/tar/tar.c             inode->data_offset = BLOCKSIZE * tar_current_block_ordinal (archive);
archive           303 src/vfs/tar/tar.c         return tar_skip_file (archive, current_stat_info.stat.st_size);
archive           430 src/vfs/tar/tar.c tar_fill_stat (struct vfs_s_super *archive, union block *header)
archive           432 src/vfs/tar/tar.c     tar_super_t *arch = TAR_SUPER (archive);
archive           532 src/vfs/tar/tar.c tar_insert_entry (struct vfs_class *me, struct vfs_s_super *archive, union block *header,
archive           555 src/vfs/tar/tar.c     parent = vfs_s_find_inode (me, archive, q, LINK_NO_FOLLOW, FL_MKDIR);
archive           569 src/vfs/tar/tar.c             *inode = vfs_s_find_inode (me, archive, link_name, LINK_NO_FOLLOW, FL_NONE);
archive           584 src/vfs/tar/tar.c         *inode = vfs_s_new_inode (me, archive, &current_stat_info.stat);
archive           603 src/vfs/tar/tar.c tar_read_header (struct vfs_class *me, struct vfs_s_super *archive)
archive           605 src/vfs/tar/tar.c     tar_super_t *arch = TAR_SUPER (archive);
archive           637 src/vfs/tar/tar.c         tar_fill_stat (archive, header);
archive           821 src/vfs/tar/tar.c         status = tar_insert_entry (me, archive, header, &inode);
archive           881 src/vfs/tar/tar.c tar_free_archive (struct vfs_class *me, struct vfs_s_super *archive)
archive           883 src/vfs/tar/tar.c     tar_super_t *arch = TAR_SUPER (archive);
archive           901 src/vfs/tar/tar.c tar_open_archive_int (struct vfs_class *me, const vfs_path_t *vpath, struct vfs_s_super *archive)
archive           903 src/vfs/tar/tar.c     tar_super_t *arch = TAR_SUPER (archive);
archive           915 src/vfs/tar/tar.c     archive->name = g_strdup (vfs_path_as_str (vpath));
archive           919 src/vfs/tar/tar.c     type = get_compression_type (result, archive->name);
archive           928 src/vfs/tar/tar.c         s = g_strconcat (archive->name, decompress_extension (type), (char *) NULL);
archive           937 src/vfs/tar/tar.c             MC_PTR_FREE (archive->name);
archive           952 src/vfs/tar/tar.c     root = vfs_s_new_inode (me, archive, &arch->st);
archive           958 src/vfs/tar/tar.c     archive->root = root;
archive           969 src/vfs/tar/tar.c tar_open_archive (struct vfs_s_super *archive, const vfs_path_t *vpath,
archive           972 src/vfs/tar/tar.c     tar_super_t *arch = TAR_SUPER (archive);
archive           977 src/vfs/tar/tar.c     if (!tar_open_archive_int (vpath_element->class, vpath, archive))
archive           988 src/vfs/tar/tar.c         status = tar_read_header (vpath_element->class, archive);
archive          1003 src/vfs/tar/tar.c             (void) tar_read_header (vpath_element->class, archive);
archive           127 tests/lib/vfs/vfs_s_get_path.c     struct vfs_s_super *archive;
archive           135 tests/lib/vfs/vfs_s_get_path.c     result = vfs_s_get_path (vpath, &archive, 0);
archive           139 tests/lib/vfs/vfs_s_get_path.c     mctest_assert_str_eq (archive->name, "/" ETALON_VFS_URL_NAME ARCH_NAME);