Lines Matching refs:tf_hdr
104 struct ustar_hdr tf_hdr; member
236 if (strcmp(fn, tf->tf_hdr.ut_name) == 0) { in pkg_open_follow()
240 fn, tf->tf_hdr.ut_typeflag[0])); in pkg_open_follow()
241 if (tf->tf_hdr.ut_typeflag[0] == '2') { in pkg_open_follow()
247 return pkg_open_follow(tf->tf_hdr.ut_linkname, in pkg_open_follow()
275 DEBUG_PRINTF(1, ("%s(%s)\n", __func__, tf->tf_hdr.ut_name)); in pkg_close()
298 DEBUG_PRINTF(4, ("%s(%s,%zd)\n", __func__, tf->tf_hdr.ut_name, size)); in pkg_read()
337 DEBUG_PRINTF(4, ("%s(%s) res=%zd\n", __func__, tf->tf_hdr.ut_name, in pkg_read()
417 sb->st_mtime = pkg_atol(tf->tf_hdr.ut_mtime, 12); in pkg_stat()
439 memcpy(d->d_name, tf->tf_hdr.ut_name, sizeof(d->d_name)); in pkg_readdir()
538 __func__, tf->tf_hdr.ut_name)); in cache_data()
652 return (pkg_atol(tf->tf_hdr.ut_mode, sizeof(tf->tf_hdr.ut_mode))); in get_mode()
797 if (get_zipped(pkg, &cur->tf_hdr, in scan_tarfile()
798 sizeof(cur->tf_hdr)) == -1) { in scan_tarfile()
807 if (strncmp(cur->tf_hdr.ut_magic, "ustar", 5) != 0) { in scan_tarfile()
814 cur->tf_size = pkg_atol(cur->tf_hdr.ut_size, in scan_tarfile()
815 sizeof(cur->tf_hdr.ut_size)); in scan_tarfile()
817 if (cur->tf_hdr.ut_name[0] != '+') in scan_tarfile()