Searched refs:metasize (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | dirs.c | 47 size_t metasize; member 638 size_t metasize = 0; in setdirmodes() local 666 skipmetadata(smf, node.metasize); in setdirmodes() 681 skipmetadata(smf, node.metasize); in setdirmodes() 687 skipmetadata(smf, node.metasize); in setdirmodes() 694 skipmetadata(smf, node.metasize); in setdirmodes() 716 if (node.metasize != 0) { in setdirmodes() 717 if (node.metasize > metasize) in setdirmodes() 719 metasize = node.metasize); in setdirmodes() 725 (void) fread(metadata, 1, node.metasize, smf); in setdirmodes() [all …]
|
H A D | tape.c | 1179 static size_t metasize = 0; variable 1186 if ((metadata = malloc(metasize = (size_t)sizeof (head->c_shadow))) in metacheck() 1192 bcopy(&(head->c_shadow), metadata, metasize); in metacheck() 1200 if ((metadata = realloc(metadata, metasize + size)) == NULL) { in xtrmeta() 1205 bcopy(buf, metadata + metasize, size); in xtrmeta() 1206 metasize += size; in xtrmeta() 1215 if ((metadata = realloc(metadata, metasize + size)) == NULL) { in metaskip() 1220 bzero(metadata + metasize, size); in metaskip() 1221 metasize += size; in metaskip() 1230 metaproc(name, metadata, metasize); in metaset() [all …]
|