| /src/distrib/alpha/instkernel/ |
| Makefile | 3 SUBDIR= ramdisk .WAIT instkernel .WAIT fdset cd-hd-tape
|
| /src/games/adventure/ |
| io.c | 176 static const char *tape = iotape; /* pointer to encryption tape */ variable 186 if (*tape == 0) 187 tape = iotape; /* rewind encryption tape */ 188 *inptr = ch ^ *tape++; /* re-encrypt and replace value */ 278 tape = iotape; /* restart encryption tape */ 547 tape = iotape; /* restart decryption tape */ [all...] |
| /src/sys/sys/ |
| tape.h | 1 /* $NetBSD: tape.h,v 1.4 2016/01/22 23:44:33 dholland Exp $ */ 60 * Statistics for the tape device - in a separate structure so userland can 64 struct tape { struct 71 struct timeval attachtime; /* time tape was attached */ 75 TAILQ_ENTRY(tape) link; 78 /* Head of the tape stats list, define here so userland can get at it */ 79 TAILQ_HEAD(tapelist_head, tape); /* the tapelist is a TAILQ */
|
| Makefile | 46 tape.h termios.h time.h timeb.h timepps.h timerfd.h times.h timespec.h \
|
| /src/etc/etc.sparc/ |
| Makefile.inc | 17 installation/tape 26 tape/tapefile1.gz ../bootfs/netbsd.ram.aout.gz \ 27 tape/tapefile2 ../bootfs/instfs.tgz \
|
| /src/bin/mt/ |
| mt.c | 48 * magnetic tape manipulation program 74 int c_ronly; /* open tape read-only */ 121 const char *tape; local 126 if ((tape = getenv("TAPE")) == NULL) 127 tape = _PATH_DEFTAPE; 133 tape = optarg; 168 if ((mtfd = open(tape, flags)) < 0) 169 err(2, "%s", tape); 177 the tape. Until then, rewind and seek fro [all...] |
| /src/usr.sbin/rmt/ |
| rmt.c | 62 int tape = -1; variable 104 if (tape >= 0) 105 (void) close(tape); 109 tape = open(device, atoi(mode), 111 if (tape < 0) 118 if (close(tape) < 0) 120 tape = -1; 127 rval = lseek(tape, (off_t)strtoll(count, NULL, 10), atoi(pos)); 144 rval = write(tape, record, n); 154 rval = read(tape, record, n) [all...] |
| /src/sbin/restore/ |
| Makefile | 9 SRCS= main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c \
|
| /src/sys/arch/luna68k/stand/boot/ |
| parse.c | 147 { "tape", tape }, 148 { "tp", tape },
|
| samachdep.h | 200 /* tape.c */ 201 int tape(int, char **);
|
| /src/sbin/dump/ |
| Makefile | 8 # dumprmt.c handles remote tape via rmt(8) 10 # tape.c handles the mag tape and opening/closing 31 SRCS= itime.c main.c optr.c dumprmt.c rcache.c snapshot.c tape.c \
|
| tape.c | 1 /* $NetBSD: tape.c,v 1.57 2021/06/19 13:56:34 christos Exp $ */ 35 static char sccsid[] = "@(#)tape.c 8.4 (Berkeley) 5/1/95"; 37 __RCSID("$NetBSD: tape.c,v 1.57 2021/06/19 13:56:34 christos Exp $"); 60 int writesize; /* size of malloc()ed buffer for tape */ 61 int64_t lastspclrec = -1; /* tape block number of last written header */ 65 extern int ntrec; /* blocking factor on tape */ 82 * Concurrent dump mods (Caltech) - disk block reading and tape writing 84 * tape, the others read disk blocks; they pass control of the tape in 115 int tenths; /* length of tape used per block written * [all...] |
| main.c | 80 const char *tape; variable 111 u_int64_t blockswritten; /* number of blocks written on current tape */ 112 int tapeno; /* current tape number */ 114 int ntrec = NTREC; /* # tape blocks in each tape record */ 115 int cartridge; /* Assume non-cartridge tape */ 158 if ((tape = getenv("TAPE")) == NULL) 159 tape = _PATH_DEFTAPE; 189 case 'b': /* blocks per tape write * [all...] |
| dump.h | 112 extern const char *tape; /* name of the tape file */ 122 extern int tapefd; /* tape file descriptor */ 126 extern int newtape; /* new tape flag */ 127 extern u_int64_t tapesize; /* estimated tape size, blocks */ 128 extern long tsize; /* tape size in 0.1" units */ 129 extern long asize; /* number of 0.1" units written on current tape */ 137 extern u_int64_t blockswritten; /* blocks written on current tape */ 138 extern int tapeno; /* current tape number */ 141 extern time_t tstart_writing; /* when started writing the first tape block * [all...] |
| /src/external/bsd/nsd/dist/simdzone/src/fallback/ |
| scanner.h | 141 const char **tape = parser->file->fields.tail; 142 const char **tape_limit = parser->file->fields.tape + ZONE_TAPE_SIZE; 147 while (data <= data_limit && ((uintptr_t)tape_limit - (uintptr_t)tape) >= ZONE_BLOCK_SIZE) { 151 tape = parser->file->fields.tail; 163 } else if (((uintptr_t)tape_limit - (uintptr_t)tape) >= left) {
|
| /src/sbin/dump_lfs/ |
| Makefile | 18 SRCS= itime.c main.c optr.c dumprmt.c rcache.c snapshot.c tape.c \
|
| /src/external/bsd/nsd/dist/simdzone/src/ |
| zone.c | 222 file->fields.tape[0] = NULL; 223 file->fields.head = file->fields.tail = file->fields.tape; 224 file->delimiters.tape[0] = NULL; 225 file->delimiters.head = file->delimiters.tail = file->delimiters.tape; 226 file->newlines.tape[0] = 0; 227 file->newlines.head = file->newlines.tail = file->newlines.tape; 249 file->fields.tape[0] = &file->buffer.data[0]; 250 file->fields.tape[1] = &file->buffer.data[0]; 454 parser->file->fields.tape[0] = &string[length]; 455 parser->file->fields.tape[1] = &string[length] [all...] |
| /src/distrib/vax/tk50/ |
| Makefile | 13 tape: 36 @echo Distribution tape is ready.
|
| /src/external/bsd/nsd/dist/simdzone/include/ |
| zone.h | 305 * @brief Tape capacity per-file. 307 * Tape capacity must be sufficiently large to hold every token from a single 368 struct { const char **head, **tail, *tape[ZONE_TAPE_SIZE + 2]; } fields; member in struct:zone_file::__anon7310 369 struct { const char **head, **tail, *tape[ZONE_TAPE_SIZE + 1]; } delimiters; member in struct:zone_file::__anon7311 370 struct { uint16_t *head, *tail, tape[ZONE_TAPE_SIZE + 1]; } newlines; member in struct:zone_file::__anon7312
|
| /src/external/bsd/nsd/dist/simdzone/src/generic/ |
| scanner.h | 227 // infinite loop if the tape may not be sufficiently large enough. tokens 297 const char **tape = parser->file->fields.tail; local 298 const char **tape_limit = parser->file->fields.tape + ZONE_TAPE_SIZE; 303 while (data <= data_limit && ((uintptr_t)tape_limit - (uintptr_t)tape) >= ZONE_BLOCK_SIZE) { 309 tape = parser->file->fields.tail; 321 } else if (((uintptr_t)tape_limit - (uintptr_t)tape) >= left) {
|
| parser.h | 337 parser->file->newlines.tape[0] = parser->file->newlines.tail[0]; 338 parser->file->newlines.head = parser->file->newlines.tape; 339 parser->file->newlines.tail = parser->file->newlines.tape; 341 parser->file->fields.tape[0] = parser->file->fields.tail[1]; 342 parser->file->fields.head = parser->file->fields.tape; 344 parser->file->fields.tape + (*parser->file->fields.tape[0] != '\0'); 346 parser->file->delimiters.head = parser->file->delimiters.tape; 347 parser->file->delimiters.tail = parser->file->delimiters.tape; 367 // FIXME: if tail is still equal to tape, refill immediately? [all...] |
| /src/sys/arch/acorn32/doc/ |
| majors+minors | 173 25 B - SCSI tape 174 25 C - SCSI tape
|
| /src/external/bsd/file/dist/ |
| README.md | 94 * `src/is_simh.c` - knows about SIMH tape file format. 95 * `src/is_tar.c, tar.h` - knows about Tape ARchive format (courtesy John Gilmore).
|
| /src/distrib/miniroot/ |
| install.sub | 1195 # Get the name of the tape from the user. 1198 The installation program needs to know which tape device to use. Make 1202 _tape=$(basename $TAPE) 1205 echo -n "Name of tape device? [${_tape}]" 1209 TAPE="/dev/${_tape}" 1210 if [ ! -c $TAPE ]; then 1211 echo "$TAPE does not exist or is not a character special file." 1215 export TAPE 1217 # Rewind the tape device 1218 echo -n "Rewinding tape... [all...] |