Home
last modified time | relevance | path

Searched refs:tar_hdr (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_backup_reader.c164 if (!tar_hdr) in output_acl_header()
180 (void) snprintf(tar_hdr->th_mtime, sizeof (tar_hdr->th_mtime), in output_acl_header()
220 if (!tar_hdr) { in output_humongus_header()
282 if (!tar_hdr) { in output_xattr_header()
409 (void) snprintf(tar_hdr->th_size, sizeof (tar_hdr->th_size), in output_file_header()
411 (void) snprintf(tar_hdr->th_mode, sizeof (tar_hdr->th_mode), in output_file_header()
413 (void) snprintf(tar_hdr->th_uid, sizeof (tar_hdr->th_uid), in output_file_header()
415 (void) snprintf(tar_hdr->th_gid, sizeof (tar_hdr->th_gid), in output_file_header()
452 (void) snprintf(tar_hdr->th_size, sizeof (tar_hdr->th_size), in output_file_header()
456 (void) snprintf(tar_hdr->th_uid, sizeof (tar_hdr->th_uid), in output_file_header()
[all …]
H A Dtlm_restore_writer.c360 tlm_tar_hdr_t *tar_hdr; in tar_getdir() local
398 tar_hdr = &fake_tar_hdr; in tar_getdir()
407 if (tar_hdr == NULL) { in tar_getdir()
475 tar_hdr->th_uname, in tar_getdir()
478 tar_hdr->th_gname, in tar_getdir()
488 tar_hdr->th_name, tar_hdr->th_linkflag, in tar_getdir()
503 switch (tar_hdr->th_linkflag) { in tar_getdir()
601 if (tar_hdr->th_name[0] == 0) { in tar_getdir()
624 tar_hdr->th_name, in tar_getdir()
1395 tlm_tar_hdr_t *tar_hdr; in restore_xattr_hdr() local
[all …]
H A Dtlm_lib.c306 tlm_vfy_tar_checksum(tlm_tar_hdr_t *tar_hdr) in tlm_vfy_tar_checksum() argument
308 int chksum = oct_atoi(tar_hdr->th_chksum); in tlm_vfy_tar_checksum()
309 uchar_t *p = (uchar_t *)tar_hdr; in tlm_vfy_tar_checksum()
333 sum -= 0xFF & tar_hdr->th_chksum[i]; in tlm_vfy_tar_checksum()
/illumos-gate/usr/src/head/
H A Darchives.h131 struct tar_hdr { struct