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 1354 src/vfs/extfs/extfs.c struct extfs_super_t *archive; archive 1359 src/vfs/extfs/extfs.c q = extfs_get_path (vpath, &archive, FL_NONE); archive 1362 src/vfs/extfs/extfs.c entry = extfs_find_entry (VFS_SUPER (archive)->root, q, FL_NONE); archive 1373 src/vfs/extfs/extfs.c if (extfs_cmd (" rm ", archive, entry, "")) archive 1378 src/vfs/extfs/extfs.c vfs_s_free_entry (VFS_SUPER (archive)->me, entry); archive 1389 src/vfs/extfs/extfs.c struct extfs_super_t *archive; archive 1398 src/vfs/extfs/extfs.c q = extfs_get_path (vpath, &archive, FL_NONE); archive 1401 src/vfs/extfs/extfs.c entry = extfs_find_entry (VFS_SUPER (archive)->root, q, FL_NONE); archive 1407 src/vfs/extfs/extfs.c entry = extfs_find_entry (VFS_SUPER (archive)->root, q, FL_MKDIR); archive 1419 src/vfs/extfs/extfs.c if (extfs_cmd (" mkdir ", archive, entry, "")) archive 1422 src/vfs/extfs/extfs.c vfs_s_free_entry (VFS_SUPER (archive)->me, entry); archive 1435 src/vfs/extfs/extfs.c struct extfs_super_t *archive; archive 1440 src/vfs/extfs/extfs.c q = extfs_get_path (vpath, &archive, FL_NONE); archive 1443 src/vfs/extfs/extfs.c entry = extfs_find_entry (VFS_SUPER (archive)->root, q, FL_NONE); archive 1455 src/vfs/extfs/extfs.c if (extfs_cmd (" rmdir ", archive, entry, "")) archive 1460 src/vfs/extfs/extfs.c vfs_s_free_entry (VFS_SUPER (archive)->me, entry); archive 1497 src/vfs/extfs/extfs.c struct extfs_super_t *archive = NULL; archive 1500 src/vfs/extfs/extfs.c p = extfs_get_path (vpath, &archive, FL_NO_OPEN); archive 1501 src/vfs/extfs/extfs.c return (p == NULL ? NULL : (vfsid) archive); archive 93 src/vfs/tar/tar-internal.c tar_short_read (size_t status, tar_super_t *archive) archive 98 src/vfs/tar/tar-internal.c more = archive->record_start->buffer + status; archive 107 src/vfs/tar/tar-internal.c r = mc_read (archive->fd, more, left); archive 121 src/vfs/tar/tar-internal.c record_end = archive->record_start + (record_size - left) / BLOCKSIZE; archive 129 src/vfs/tar/tar-internal.c tar_flush_read (tar_super_t *archive) archive 133 src/vfs/tar/tar-internal.c status = mc_read (archive->fd, archive->record_start->buffer, record_size); archive 137 src/vfs/tar/tar-internal.c return tar_short_read (status, archive); archive 145 src/vfs/tar/tar-internal.c tar_flush_archive (tar_super_t *archive) archive 147 src/vfs/tar/tar-internal.c record_start_block += record_end - archive->record_start; archive 148 src/vfs/tar/tar-internal.c current_block = archive->record_start; archive 149 src/vfs/tar/tar-internal.c record_end = archive->record_start + blocking_factor; archive 151 src/vfs/tar/tar-internal.c return tar_flush_read (archive); archive 157 src/vfs/tar/tar-internal.c tar_seek_archive (tar_super_t *archive, off_t size) archive 164 src/vfs/tar/tar-internal.c if (record_end < archive->record_start + blocking_factor) archive 167 src/vfs/tar/tar-internal.c skipped = (blocking_factor - (current_block - archive->record_start)) * BLOCKSIZE; archive 176 src/vfs/tar/tar-internal.c start = tar_current_block_ordinal (archive); archive 178 src/vfs/tar/tar-internal.c offset = mc_lseek (archive->fd, nrec * record_size, SEEK_CUR); archive 520 src/vfs/tar/tar-internal.c tar_find_next_block (tar_super_t *archive) archive 527 src/vfs/tar/tar-internal.c if (!tar_flush_archive (archive)) archive 567 src/vfs/tar/tar-internal.c tar_current_block_ordinal (const tar_super_t *archive) archive 569 src/vfs/tar/tar-internal.c return record_start_block + (current_block - archive->record_start); archive 578 src/vfs/tar/tar-internal.c tar_skip_file (tar_super_t *archive, off_t size) archive 583 src/vfs/tar/tar-internal.c nblk = tar_seek_archive (archive, size); archive 589 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 118 src/vfs/tar/tar-sparse.c gboolean (*decode_header) (tar_super_t * archive, struct tar_sparse_file * file); archive 141 src/vfs/tar/tar-sparse.c static gboolean oldgnu_get_sparse_info (tar_super_t * archive, struct tar_sparse_file *file); archive 145 src/vfs/tar/tar-sparse.c static gboolean star_get_sparse_info (tar_super_t * archive, struct tar_sparse_file *file); archive 148 src/vfs/tar/tar-sparse.c static gboolean pax_decode_header (tar_super_t * archive, struct tar_sparse_file *file); archive 264 src/vfs/tar/tar-sparse.c sparse_select_optab (const tar_super_t *archive, struct tar_sparse_file *file) archive 266 src/vfs/tar/tar-sparse.c switch (archive->type) archive 295 src/vfs/tar/tar-sparse.c sparse_init (tar_super_t *archive, struct tar_sparse_file *file) archive 299 src/vfs/tar/tar-sparse.c if (!sparse_select_optab (archive, file)) archive 344 src/vfs/tar/tar-sparse.c sparse_decode_header (tar_super_t *archive, struct tar_sparse_file *file) archive 347 src/vfs/tar/tar-sparse.c return file->optab->decode_header (archive, file); archive 420 src/vfs/tar/tar-sparse.c oldgnu_get_sparse_info (tar_super_t *archive, struct tar_sparse_file *file) archive 440 src/vfs/tar/tar-sparse.c h = tar_find_next_block (archive); archive 485 src/vfs/tar/tar-sparse.c star_get_sparse_info (tar_super_t *archive, struct tar_sparse_file *file) archive 510 src/vfs/tar/tar-sparse.c h = tar_find_next_block (archive); archive 537 src/vfs/tar/tar-sparse.c pax_decode_header (tar_super_t *archive, struct tar_sparse_file *file) archive 549 src/vfs/tar/tar-sparse.c start = tar_current_block_ordinal (archive); archive 551 src/vfs/tar/tar-sparse.c blk = tar_find_next_block (archive); archive 556 src/vfs/tar/tar-sparse.c COPY_BUF (archive, blk, nbuf, p); archive 577 src/vfs/tar/tar-sparse.c COPY_BUF (archive, blk, nbuf, p); archive 584 src/vfs/tar/tar-sparse.c COPY_BUF (archive, blk, nbuf, p); archive 597 src/vfs/tar/tar-sparse.c file->dumped_size += BLOCKSIZE * (tar_current_block_ordinal (archive) - start); archive 608 src/vfs/tar/tar-sparse.c tar_sparse_member_p (tar_super_t *archive, struct tar_stat_info *st) archive 612 src/vfs/tar/tar-sparse.c if (!sparse_init (archive, &file)) archive 622 src/vfs/tar/tar-sparse.c tar_sparse_fixup_header (tar_super_t *archive, struct tar_stat_info *st) archive 626 src/vfs/tar/tar-sparse.c if (!sparse_init (archive, &file)) archive 636 src/vfs/tar/tar-sparse.c tar_sparse_skip_file (tar_super_t *archive, struct tar_stat_info *st) archive 641 src/vfs/tar/tar-sparse.c if (!sparse_init (archive, &file)) archive 647 src/vfs/tar/tar-sparse.c rc = sparse_decode_header (archive, &file); archive 648 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, ¤t_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, ¤t_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 820 src/vfs/tar/tar.c status = tar_insert_entry (me, archive, header, &inode); archive 880 src/vfs/tar/tar.c tar_free_archive (struct vfs_class *me, struct vfs_s_super *archive) archive 882 src/vfs/tar/tar.c tar_super_t *arch = TAR_SUPER (archive); archive 900 src/vfs/tar/tar.c tar_open_archive_int (struct vfs_class *me, const vfs_path_t *vpath, struct vfs_s_super *archive) archive 902 src/vfs/tar/tar.c tar_super_t *arch = TAR_SUPER (archive); archive 914 src/vfs/tar/tar.c archive->name = g_strdup (vfs_path_as_str (vpath)); archive 918 src/vfs/tar/tar.c type = get_compression_type (result, archive->name); archive 927 src/vfs/tar/tar.c s = g_strconcat (archive->name, decompress_extension (type), (char *) NULL); archive 936 src/vfs/tar/tar.c MC_PTR_FREE (archive->name); archive 951 src/vfs/tar/tar.c root = vfs_s_new_inode (me, archive, &arch->st); archive 957 src/vfs/tar/tar.c archive->root = root; archive 968 src/vfs/tar/tar.c tar_open_archive (struct vfs_s_super *archive, const vfs_path_t *vpath, archive 971 src/vfs/tar/tar.c tar_super_t *arch = TAR_SUPER (archive); archive 976 src/vfs/tar/tar.c if (!tar_open_archive_int (vpath_element->class, vpath, archive)) archive 987 src/vfs/tar/tar.c status = tar_read_header (vpath_element->class, archive); archive 1002 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);