Searched refs:tapebuf (Results 1 - 1 of 1) sorted by relevance

/netbsd-6-1-5-RELEASE/sbin/restore/
H A Dtape.c78 static char *tapebuf; variable
266 if (tapebuf != NULL)
267 free(tapebuf);
268 tapebuf = malloc(size * TP_BSIZE);
269 if (tapebuf == NULL) {
1030 memmove(buf, &tapebuf[(blkcnt++ * TP_BSIZE)], (long)TP_BSIZE);
1036 ((struct s_spcl *)&tapebuf[i * TP_BSIZE])->c_magic = 0;
1044 i = rmtread(&tapebuf[rd], cnt);
1047 i = read(mt, &tapebuf[rd], cnt);
1102 memset(tapebuf,
[all...]

Completed in 106 milliseconds