/freebsd-9.3-release/lib/libstand/ |
H A D | pager.c | 144 hmuch = read(fd, buf, sizeof(buf) - 1);
|
H A D | read.c | 1 /* $NetBSD: read.c,v 1.8 1997/01/22 00:38:12 cgd Exp $ */ 34 * @(#)read.c 8.1 (Berkeley) 6/11/93 70 read(int fd, void *dest, size_t bcount) function
|
/freebsd-9.3-release/lib/libutil/ |
H A D | login_auth.c | 103 while ((count = read(fd, buf, sizeof(buf))) > 0)
|
/freebsd-9.3-release/lib/libvgl/ |
H A D | keyboard.c | 92 read (0, &ch, 1);
|
/freebsd-9.3-release/sbin/fsck_msdosfs/ |
H A D | boot.c | 51 if (read(dosfs, block, sizeof block) != sizeof block) { 52 perror("could not read boot block"); 105 || read(dosfs, fsinfo, sizeof fsinfo) != sizeof fsinfo) { 106 perror("could not read fsinfo block"); 153 || read(dosfs, backup, sizeof backup) != sizeof backup) { 154 perror("could not read backup bootblock"); 244 || read(dosfs, fsinfo, sizeof fsinfo) != sizeof fsinfo) { 245 perror("could not read fsinfo block");
|
/freebsd-9.3-release/sys/boot/userboot/ |
H A D | userboot.h | 57 * Return non-zero if a key can be read from the console 84 int (*read)(void *arg, void *h, void *dst, size_t size, member in struct:loader_callbacks
|
/freebsd-9.3-release/sys/dev/iicbus/ |
H A D | ds1775.c | 113 device_printf(dev, "iicbus read failed\n"); 156 /* We have to wait until interrupts are enabled. I2C read and write 220 sc->sc_sensor.read = 237 uint16_t read; local 244 read = *((int16_t *)buf); 249 return (((int16_t)(read) >> 7) * 5 + ZERO_C_TO_K);
|
/freebsd-9.3-release/sys/dev/random/ |
H A D | ivy.c | 53 .read = random_ivy_read,
|
/freebsd-9.3-release/tools/regression/pipe/ |
H A D | bigpipetest.c | 68 i = read(fd[0], buf, 256); /* any small size should do */ 70 if (i < 0) { perror("read"); exit(1); }
|
/freebsd-9.3-release/tools/tools/ath/arcode/ |
H A D | arcode.c | 47 printf("read\t%.8x = %.8x\n", a->reg, a->val); 92 r = read(fd, &a, sizeof(a));
|
/freebsd-9.3-release/usr.bin/tip/libacu/ |
H A D | courier.c | 168 read(FD, &c, 1); 216 n = read(FD, &c, 1); 283 len = read(FD, buf, sizeof(buf)); 338 if (read(FD, buf, n) != n)
|
H A D | t3000.c | 169 read(FD, &c, 1); 231 n = read(FD, &c, 1); 301 len = read(FD, buf, sizeof(buf)); 356 if (read(FD, buf, n) != n)
|
/freebsd-9.3-release/usr.sbin/bluetooth/bcmfw/ |
H A D | bcmfw.c | 190 len = read(fd, buf, sizeof(buf)); 192 syslog(LOG_ERR, "Could not read(%s). %s (%d)", 223 if (read(intr, buf, sizeof(buf)) < 0) { 224 syslog(LOG_ERR, "Could not read(/dev/%s.%d). %s (%d)", 245 len = read(fd, buf, sizeof(buf)); 247 syslog(LOG_ERR, "Could not read(%s). %s (%d)", 266 if (read(intr, buf, sizeof(buf)) < 0) { 267 syslog(LOG_ERR, "Could not read(/dev/%s.%d). %s (%d)",
|
/freebsd-9.3-release/usr.sbin/dumpcis/ |
H A D | readcis.c | 216 /* If a link was found, read the tuple list from it. */ 228 * then try to read a tuple list at common memory (offset 0). 265 if (read(fd, &code, 1) != 1) { 266 warn("CIS code read"); 277 if (read(fd, &length, 1) != 1) { 278 warn("CIS len read"); 294 if (read(fd, tp->data, length) != length) { 295 warn("CIS read"); 328 if (read(fd, blk, 5) != 5)
|
/freebsd-9.3-release/usr.sbin/rmt/ |
H A D | rmt.c | 94 if (read(STDIN_FILENO, &c, 1) != 1) 137 cc = read(STDIN_FILENO, &record[i], n - i); 153 rval = read(tape, record, n); 215 if (read(STDIN_FILENO, cp+i, 1) != 1)
|
/freebsd-9.3-release/contrib/ntp/lib/isc/win32/ |
H A D | keyboard.c | 74 cc = read(keyboard->fd, &c, 1);
|
/freebsd-9.3-release/contrib/ntp/sntp/libopts/compat/ |
H A D | windows-config.h | 95 #define read _read macro
|
/freebsd-9.3-release/sys/boot/i386/zfsboot/ |
H A D | zfsldr.S | 57 * partition entry below that points to the MBR when we call read. 66 call read # sector 114 call read # Read disk 118 loop main.6 # If not last, read another 162 * and passes it to read. We assume that the destination address is 165 * %eax - int - LBA to read in relative to partition start 167 * %dl - byte - drive to read from 170 read: xor %ecx,%ecx # Get label 182 int $0x13 # read 183 jc read [all...] |
/freebsd-9.3-release/sys/dev/e1000/ |
H A D | e1000_mbx.c | 65 * @mbx_id: id of mailbox to read 67 * returns SUCCESS if it successfuly read message from buffer 76 /* limit read to size of mailbox */ 80 if (mbx->ops.read) 81 ret_val = mbx->ops.read(hw, msg, size, mbx_id); 250 if (!mbx->ops.read) 255 /* if ack received read message, otherwise we timed out */ 257 ret_val = mbx->ops.read(hw, msg, size, mbx_id); 303 mbx->ops.read = e1000_null_mbx_transact; 313 * e1000_read_v2p_mailbox - read v2 [all...] |
H A D | e1000_i210.c | 231 * @offset: offset of word in the Shadow Ram to read 232 * @words: number of words to read 233 * @data: word read from the Shadow Ram 248 * to read in bursts than synchronizing access for each word. */ 374 * @address: the word address (aka eeprom offset) to read 375 * @data: pointer to the data read 453 * @address: the word address (aka eeprom offset) to read 454 * @data: pointer to the data read 511 * Replace the read function with semaphore grabbing with 515 read_op_ptr = hw->nvm.ops.read; [all...] |
/freebsd-9.3-release/sys/powerpc/mpc85xx/ |
H A D | i2c.c | 63 #define I2CSR_SRW (1<<2) /* Slave read/write */ 101 static int i2c_read(device_t dev, char *buf, int len, int *read, int last, int delay); 356 i2c_read(device_t dev, char *buf, int len, int *read, int last, int delay) argument 362 *read = 0; 374 /* dummy read */ 379 while (*read < len) { 386 if ((*read == len - 2) && last) { 391 if ((*read == len - 1) && last) { 397 (*read)++;
|
/freebsd-9.3-release/sys/arm/mv/ |
H A D | twsi.c | 121 static int mv_twsi_read(device_t dev, char *buf, int len, int *read, int last, 241 /* read IFLG to know if it should be cleared later; from NBSD */ 449 mv_twsi_read(device_t dev, char *buf, int len, int *read, int last, int delay) argument 458 *read = 0; 459 while (*read < len) { 464 last_byte = ((*read == len - 1) && last) ? 1 : 0; 488 (*read)++;
|
/freebsd-9.3-release/sys/dev/ixgbe/ |
H A D | ixgbe_mbx.c | 43 * @mbx_id: id of mailbox to read 45 * returns SUCCESS if it successfuly read message from buffer 54 /* limit read to size of mailbox */ 58 if (mbx->ops.read) 59 ret_val = mbx->ops.read(hw, msg, size, mbx_id); 222 if (!mbx->ops.read) 227 /* if ack received read message, otherwise we timed out */ 229 ret_val = mbx->ops.read(hw, msg, size, mbx_id); 270 * Setups up the mailbox read and write message function pointers 281 * ixgbe_read_v2p_mailbox - read v2 [all...] |
/freebsd-9.3-release/contrib/bmake/mk/ |
H A D | warnings.mk | 74 # but the .for loops are sensitive to when this file is read. 107 # .for loops have the [dis]advantage of being evaluated when read, 109 # read has no effect. 112 # Don't try and read this too fast!
|
/freebsd-9.3-release/contrib/groff/src/include/ |
H A D | nonposix.h | 62 # define read(f,b,s) _read(f,b,s) macro 142 while (read(fd, drain, sizeof(drain)) > 0) \
|