HomeSort by: relevance | last modified time | path
    Searched defs:tape (Results 1 - 14 of 14) sorted by relevancy

  /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 */
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 */
  /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...]
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/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...]
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/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...]
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/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) {
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) {
  /src/sbin/dump/
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...]
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...]
  /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
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

Completed in 111 milliseconds