Lines Matching defs:count
321 rmtread(char *buf, uint_t count)
326 (void) snprintf(line, sizeof (line), "R%d\n", count);
331 if (n > count) {
334 count, n);
350 rmtwrite(char *buf, uint_t count)
355 (void) snprintf(line, sizeof (line), "W%d\n", count);
360 retval = rmtpush(buf, count);
368 rmtpush(char *buf, uint_t count)
373 retval = write(rmtape, buf, count);
375 count -= retval;
376 } while (count && retval > 0);
391 rmtioctl(int cmd, long count)
396 if (count < 0)
400 return (rmtioctl_extended(xcmd, count));
402 (void) snprintf(buf, sizeof (buf), "I%d\n%ld\n", cmd, count);
439 rmtioctl_extended(int cmd, long count)
443 (void) snprintf(buf, sizeof (buf), "i%d\n%ld\n", cmd, count);