Searched refs:read (Results 201 - 225 of 1014) sorted by relevance

1234567891011>>

/freebsd-10.3-release/usr.sbin/bhyve/
H A Dbootrom.c99 rlen = read(fd, ptr + i * PAGE_SIZE, PAGE_SIZE);
101 fprintf(stderr, "Incomplete read of page %d of bootrom "
H A Ddbgport.c84 nread = read(conn_fd, &ch, 1);
/freebsd-10.3-release/usr.sbin/kgzip/
H A Dxio.c59 errx(1, "%s: Short read", idi->fname);
94 if ((n = read(id->fd, buf, nbyte)) == -1)
/freebsd-10.3-release/usr.bin/gzip/
H A Dunbzip2.c71 n = read(in, inbuf, BUFLEN);
73 maybe_err("read");
/freebsd-10.3-release/contrib/llvm/tools/lldb/include/lldb/API/
H A DSBValue.h284 /// This method will read the contents of this object in memory
369 /// @param[in] read
385 Watch (bool resolve_location, bool read, bool write, SBError &error);
389 Watch (bool resolve_location, bool read, bool write);
402 /// @param[in] read
418 WatchPointee (bool resolve_location, bool read, bool write, SBError &error);
423 /// StopLocker is a read lock, you can call this function even if you are already
/freebsd-10.3-release/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/
H A DRegisterContextPOSIXProcessMonitor_mips64.cpp160 // If our read was not aligned (for ah,bh,ch,dh), shift our returned value one byte to the right.
227 bool read, bool write)
236 read, write,
307 bool read, bool write,
226 SetHardwareWatchpoint(addr_t addr, size_t size, bool read, bool write) argument
/freebsd-10.3-release/contrib/opie/libopie/
H A Dgenerator.c208 if ((i = read(s, cmd, sizeof(cmd)-1)) < 0) {
210 syslog(LOG_DEBUG, "opiegenerator: read: %s(%d)\n", strerror(errno), errno);
272 if ((i = read(s, cmd, sizeof(cmd))) < 0) {
274 syslog(LOG_DEBUG, "opiegenerator: read: %s(%d)\n", strerror(errno), errno);
311 if ((i = read(s, cmd, sizeof(cmd))) < 0) {
313 syslog(LOG_DEBUG, "opiegenerator: read: %s(%d)\n", strerror(errno), errno);
/freebsd-10.3-release/sbin/dump/
H A Ddumprmt.c113 if ((i = read(errfd, buf, sizeof(buf) - 1)) > 0) {
227 n = rmtcall("read", line);
232 cc = read(rmtape, buf+i, n - i);
351 if (read(rmtape, &c, 1) != 1)
/freebsd-10.3-release/sys/dev/e1000/
H A De1000_vf.h88 } read; member in union:e1000_adv_rx_desc
125 } read; member in union:e1000_adv_tx_desc
230 s32 (*read)(struct e1000_hw *, u32 *, u16, u16); member in struct:e1000_mbx_operations
/freebsd-10.3-release/sys/dev/random/
H A Drandomdev_soft.c83 .read = random_yarrow_read,
99 .read = random_fortuna_read,
176 random_context.read);
237 printf("random: blocking on read.\n");
/freebsd-10.3-release/games/random/
H A Drandomize_fd.c120 len = read(fd, buf, buflen);
122 err(1, "read");
140 len = read(fd, &buf[i], buflen - i);
142 err(1, "read");
159 len = read(fd, &buf[i], buflen - i);
161 err(1, "read");
/freebsd-10.3-release/usr.bin/rsh/
H A Drsh.c251 if ((cc = read(0, buf, sizeof buf)) <= 0)
311 cc = read(rfd2, buf, sizeof buf);
320 cc = read(rem, buf, sizeof buf);
/freebsd-10.3-release/usr.sbin/boot98cfg/
H A Dboot98cfg.c190 n = read(fd1, ipl, IPLSIZE);
201 n = read(fd1, menu, BOOTMENUSIZE);
231 n = read(fd, boot, BOOTSIZE);
233 errx(1, "%s: short read", disk);
/freebsd-10.3-release/usr.sbin/fdread/
H A Dfdread.c183 rv = read(fd, trackbuf, tracksize);
202 rv = read(fd, trackbuf, secsize);
245 rv = read(fd, trackbuf,
249 "read() with FDOPT_NOERROR still fails");
272 errx(EX_OSERR, "unexpected read() result: %d",
/freebsd-10.3-release/usr.sbin/fdwrite/
H A Dfdwrite.c153 if(!(i = read(inputfd,trackbuf+j,bpt-j))) {
174 if (read (fd, vrfybuf, bpt) != bpt) err(1, "read");
182 if(!(i = read(inputfd,trackbuf+j,bpt-j))) {
/freebsd-10.3-release/usr.sbin/lpr/lpd/
H A Drecvjob.c163 size = read(STDOUT_FILENO, cp, (size_t)1);
184 case '\2': /* read cf file */
223 case '\3': /* read df file */
277 j = read(STDOUT_FILENO, cp, amt);
312 if (read(STDOUT_FILENO, &resp, (size_t)1) != 1) {
/freebsd-10.3-release/usr.bin/chat/
H A Dchat.c315 * Process a chat script when read from a file.
444 signal(SIGALRM, sigalrm); /* that can cause hanging in read() */
1028 status = read(STDIN_FILENO, &c, 1);
1035 chat_logf("warning: read() on stdin returned %d", status);
1311 chat_logf(" -- read timed out");
1313 chat_logf(" -- read failed: %m");
/freebsd-10.3-release/usr.bin/grep/
H A Dfile.c119 nr = read(f->fd, buffer, MAXBUFSIZ);
134 nr = read(f->fd, lin_buf, MAXBUFSIZ);
159 nr = read(f->fd, buffer, MAXBUFSIZ);
314 /* Fill read buffer, also catches errors early */
340 /* Reset read buffer and line buffer */
/freebsd-10.3-release/usr.bin/ldd/
H A Dldd.c288 if ((n = read(fd, &hdr, sizeof(hdr))) == -1) {
289 warn("%s: can't read program header", fname);
322 if (read(fd, &phdr, hdr.elf32.e_phentsize) !=
324 warnx("%s: can't read program header", fname);
364 if (read(fd, &phdr, hdr.elf.e_phentsize)
366 warnx("%s: can't read program header", fname);
/freebsd-10.3-release/sys/boot/pc98/cdboot/
H A Dcdboot.S97 .set ERROR_TIMEOUT,0x90 # BIOS timeout on read
102 .set MAX_READ,0xf800 # max we can read at a time
104 .set MEM_READ_BUFFER,0x9000 # buffer to read from CD
376 call read # Read it in
382 jne load_vd # No, read next
412 # we have to read it in 64k chunks.
421 load_sizeok: movzbw %al,%cx # Num sectors to read
428 cmp $MAX_READ_SEC,%cl # Truncate to max read size
433 call read # Read it in
603 call read # Rea
661 read: push %es # Save label
[all...]
/freebsd-10.3-release/libexec/rlogind/
H A Drlogind.c203 read(f, &c, 1);
389 cc = read(p, &cntl, 1);
400 fcc = read(f, fibuf, sizeof(fibuf));
438 pcc = read(p, pibuf, sizeof (pibuf));
459 * This happens when we try write after read
529 if (read(STDIN_FILENO, &c, 1) != 1)
/freebsd-10.3-release/sys/arm/arm/
H A Dpl310.c136 uint32_t read, uint32_t write, uint32_t setup)
150 if (read != 0) {
151 KASSERT(read <= 8, ("bad pl310 read latency: %d", read));
153 v |= (read - 1) << RAM_CTRL_READ_SHIFT;
477 * linefills (allocation of new lines on read); now anything we do
135 pl310_set_ram_latency(struct pl310_softc *sc, uint32_t which_reg, uint32_t read, uint32_t write, uint32_t setup) argument
/freebsd-10.3-release/sys/arm/broadcom/bcm2835/
H A Dbcm2835_spi.c370 uint32_t cs, read; local
377 read = sc->sc_read++;
378 if (read >= cmd->rx_cmd_sz) {
380 read -= cmd->rx_cmd_sz;
382 data[read] = BCM_SPI_READ(sc, SPI_FIFO) & 0xff;
/freebsd-10.3-release/usr.bin/rlogin/
H A Drlogin.c387 n = read(STDIN_FILENO, &c, 1);
504 * reader: read from remote: line -> 1
532 n = read(rem, rcvbuf + rcvcnt,
538 n = read(rem, waste, sizeof(waste));
570 n = read(rem, waste, sizeof (waste));
587 * If we filled the receive buffer while a read was pending, longjmp
595 /* reader: read from remote: line -> 1 */
627 rcvcnt = read(rem, rcvbuf, sizeof (rcvbuf));
633 warn("read");
/freebsd-10.3-release/tests/sys/file/
H A Dflock_helper.c223 if (read(pfd[0], &ch, 1) != 1)
294 if (read(pfd[0], &ch, 1) != 1)
363 if (read(pfd[0], &ch, 1) != 1)
638 if (read(pfd[0], &ch, 1) != 1)
710 if (read(pfd[0], &ch, 1) != 1)
787 if (read(pfd[0], &ch, 1) != 1)
862 if (read(pfd[0], &ch, 1) != 1)
1013 if (read(pfd[0], &ch, 1) != 1)
1096 while (read(pfd[0], &ch, 1) != 1) {
1212 : "read loc
[all...]

Completed in 146 milliseconds

1234567891011>>