Lines Matching refs:header
226 * Get the first header. If c_magic is NOT NFS_MAGIC or if
249 * this is a newer dump, get the real tp_bsize from the header,
282 * expects to find a header with the c_date field
319 panic(gettext("no header after volume mark!\n"));
1058 metacheck(&spcl); /* check for metadata in header */
1132 gettext("Missing address (header) block for %s\n"),
1746 * or not it is a header block.
1891 * Check that a header is where it belongs and predict the next header
1894 accthdr(struct s_spcl *header)
1901 if (header->c_type == TS_TAPE) {
1902 if (header->c_firstrec)
1904 gettext("Volume header begins with record %d"),
1905 header->c_firstrec);
1907 (void) fprintf(stderr, gettext("Volume header"));
1916 (void) fprintf(stderr, gettext("Dump mask header"));
1919 (void) fprintf(stderr, gettext("Remove mask header"));
1923 gettext("File header, ino %d at record %d"),
1928 gettext("File continuation header, ino %d"),
1932 (void) fprintf(stderr, gettext("End of media header"));
1942 if (header->c_type != TS_END)
1943 for (i = 0; i < header->c_count; i++)
1944 if ((i >= TP_NINDIR) || (header->c_addr[i] != 0))
1948 prevtype = header->c_type;
1949 previno = header->c_inumber;
1969 * Find an inode header.
1970 * Note that *header must be stable storage, as curfile will end up with
1974 findinode(struct s_spcl *header)
1985 if (ishead(header) == FAIL) {
1987 while (gethead(header) == FAIL ||
1988 (time_t)(header->c_date) != dumpdate)
1992 if (checktype(header, TS_ADDR) == GOOD) {
1996 for (i = 0; i < header->c_count; i++)
1997 if ((i >= TP_NINDIR) || (header->c_addr[i]))
1999 (void) gethead(header);
2002 if (checktype(header, TS_INODE) == GOOD) {
2003 curfile.dip = &header->c_dinode;
2008 curfile.ino = header->c_inumber;
2012 if (checktype(header, TS_END) == GOOD) {
2017 if (checktype(header, TS_CLRI) == GOOD) {
2022 if (checktype(header, TS_BITS) == GOOD) {
2027 while (gethead(header) == FAIL)
2037 * return whether or not the buffer contains a header block